Related
Hi Everyone!
I'm starting to make my own android roms and i was wondering if it was possible to change the default android settings you get when you flash a rom. For example, when you first boot, animations are already turned on and orientation is turned off (unchecked) by default.
I've got an .apk manager so i've had a feeble attempt at going through .xml files in the decompiled Settings.apk. "res/xml/sound_and_display_settings.xml" had the most potential but i couldn't see any "enable/disable" options.
Thanks to Everyone in advance. Any feedback is welcome, even if it's not the answer- it could still help!
Uuuuuuuuupppppppppppp?
Bump.
Bump.
bit of a delay with replying here but if you are still interested, you can use apk manager to unpack and decode the settings app, then go into the xml directory that appears (there will be quite a few but you just want the one called xml) and edit the xml files. Settings are there for you to tweak
Even i asked same question and no reply till now...
May be there are no devs left on xda or they ignore q/a section or ignore our questions because they don't know it or maybe they don't even read it as they think we are noob and they are god of Android development...
Damn..
Sent from my GT-S7500 using xda premium
If you are building from sources, then you can overlay these files :
Code:
packages/apps/Settings/res/values/strings.xml
frameworks/base/core/res/res/values/config.xml
These contains most default settings values afaik, hope it helps.
Good luck
How would I go about creating an overlay in the source please?
Little-Boy-Lost said:
How would I go about creating an overlay in the source please?
Click to expand...
Click to collapse
Here overlay means "change the values".
Here's an example, let's say you want to disable screen rotation by default.This is a sample from cm10's framework/base/core/res/res/values/config.xml :
Code:
<!-- If this is true, key chords can be used to take a screenshot on the device. -->
<bool name="config_enableScreenshotChord">true</bool>
<!-- If true, the screen can be rotated via the accelerometer in all 4
rotations as the default behavior. -->
<bool name="config_allowAllRotations">true</bool>
<!-- If true, the direction rotation is applied to get to an application's requested
orientation is reversed. Normally, the model is that landscape is
clockwise from portrait; thus on a portrait device an app requesting
landscape will cause a clockwise rotation, and on a landscape device an
app requesting portrait will cause a counter-clockwise rotation. Setting
true here reverses that logic. -->
<bool name="config_reverseDefaultRotation">false</bool>
<!-- The number of degrees to rotate the display when the keyboard is open.
A value of -1 means no change in orientation by default. -->
<integer name="config_lidOpenRotation">-1</integer>
So you're going to change this line's value to false :
Code:
<!-- If true, the screen can be rotated via the accelerometer in all 4
rotations as the default behavior. -->
<bool name="config_allowAllRotations">true</bool>
Like this :
Code:
<!-- If true, the screen can be rotated via the accelerometer in all 4
rotations as the default behavior. -->
<bool name="config_allowAllRotations">false</bool>
Then, when you will compile the sources, rotation will be enabled in all 4 ways by default in the resulting rom.
Thank
So I create framework/base/core/res/res/values/config.xml in the device overlay folder and it will change settings during build?
I tried altering some settings by modifying the original files and it didn't seem to have any effect. Maybe I needed the overlay version instead
Is the theme changer in there to so I can change the theme to the one I want in the rom..??
---------- Post added at 01:27 PM ---------- Previous post was at 01:22 PM ----------
Androguide.fr said:
Here overlay means "change the values".
Here's an example, let's say you want to disable screen rotation by default.This is a sample from cm10's framework/base/core/res/res/values/config.xml :
Code:
<!-- If this is true, key chords can be used to take a screenshot on the device. -->
<bool name="config_enableScreenshotChord">true</bool>
<!-- If true, the screen can be rotated via the accelerometer in all 4
rotations as the default behavior. -->
<bool name="config_allowAllRotations">true</bool>
<!-- If true, the direction rotation is applied to get to an application's requested
orientation is reversed. Normally, the model is that landscape is
clockwise from portrait; thus on a portrait device an app requesting
landscape will cause a clockwise rotation, and on a landscape device an
app requesting portrait will cause a counter-clockwise rotation. Setting
true here reverses that logic. -->
<bool name="config_reverseDefaultRotation">false</bool>
<!-- The number of degrees to rotate the display when the keyboard is open.
A value of -1 means no change in orientation by default. -->
<integer name="config_lidOpenRotation">-1</integer>
So you're going to change this line's value to false :
Code:
<!-- If true, the screen can be rotated via the accelerometer in all 4
rotations as the default behavior. -->
<bool name="config_allowAllRotations">true</bool>
Like this :
Code:
<!-- If true, the screen can be rotated via the accelerometer in all 4
rotations as the default behavior. -->
<bool name="config_allowAllRotations">false</bool>
Then, when you will compile the sources, rotation will be enabled in all 4 ways by default in the resulting rom.
Click to expand...
Click to collapse
When you unzip the apk file how do you zip it back up does it need a special app to do it with..?
What is the best editor to edit the xml file or any other file in the rom...how about Notepad++..?
Can someone please answer this ASAP..?
spannernick said:
What is the best editor to edit the xml file or any other file in the rom...how about Notepad++..?
Can someone please answer this ASAP..?
Click to expand...
Click to collapse
Note pad++ is the best
~~~~~~~~~~~~~~~~~~~~~
Samsung galaxy s2
Rom: Jedi knight 6
kernel: Jedi kernel 2
~~~~~~~~~~~~~~~~~~~~~
And you thought celebrities weren't smart! =P
spannernick said:
Is the theme changer in there to so I can change the theme to the one I want in the rom..??
When you unzip the apk file how do you zip it back up does it need a special app to do it with..?
Click to expand...
Click to collapse
You can edit the build.prop file and change the default theme chooser theme value it's one of the properties toward the bottom of the build.prop file. Make sure to copy the theme chooser theme apk you want to be default in the ROM's /system/app folder. You need to use an apk decompiler such as apktool to (http://code.google.com/p/android-apktool/) decompile the apk file, then after you make the changes you want to make recompile the apk using the same program you used to decompile the apk. If it's not a system app you will need to sign it with "Zip Signer" it works with apk files to (https://www.dropbox.com/s/mldk52ba1u1o6ty/zip signer.apk). If it is a system app I would recommend looking at this guide http://forum.xda-developers.com/showpost.php?p=24986373&postcount=9. Let me know if you still have questions .
Sent from my SCH-I535 using xda premium
shimp208 said:
You can edit the build.prop file and change the default theme chooser theme value it's one of the properties toward the bottom of the build.prop file. Make sure to copy the theme chooser theme apk you want to be default in the ROM's /system/app folder. You need to use an apk decompiler such as apktool to (http://code.google.com/p/android-apktool/) decompile the apk file, then after you make the changes you want to make recompile the apk using the same program you used to decompile the apk. If it's not a system app you will need to sign it with "Zip Signer" it works with apk files to (https://www.dropbox.com/s/mldk52ba1u1o6ty/zip signer.apk). If it is a system app I would recommend looking at this guide http://forum.xda-developers.com/showpost.php?p=24986373&postcount=9. Let me know if you still have questions .
Sent from my SCH-I535 using xda premium
Click to expand...
Click to collapse
I have looked in the build.prop file and I can't see anything about changing the theme,Do I need to add the line..?
spannernick said:
I have looked in the build.prop file and I can't see anything about changing the theme,Do I need to add the line..?
Click to expand...
Click to collapse
On older versions of Cyanogenmod there used to be these lines in the build.prop:
Code:
persist.sys.themeId=Cyanbread
persist.sys.themePackageName=com.tmobile.theme.Cyanbread
Where persist.sys.themeId is the name of the theme you want to set as default, and persist.sys.themePackageName is the package name of the theme you want to set as default. You could try adding those lines to the build.prop and see what happens, if that doesn't work you could always extract the image's from the theme chooser theme you want to use and then decompile the framework-res.apk and systemui.apk and replace the images in those two apk files with the ones from the theme chooser theme you want to use, then replace the modified framework-res.apk and systemui.apk files with the default framework-res.apk and systemui.apk files in the ROM. Now when the user uses your ROM for the first time they will see the modified theme you wanted rather then the previous default theme.
Can you copy the settings from your phone,after you changed them the way you want them(on cm10)..?
BUMP....???
spannernick said:
Can you copy the settings from your phone,after you changed them the way you want them(on cm10)..?
Click to expand...
Click to collapse
I have only done this on CM7 for CM10 you can try adding these lines on CM10 on CM7 here is what I changed in the build.prop:
From:
Code:
persist.sys.themeId=Cyanbread
persist.sys.themePackageName=com.tmobile.theme.Cyanbread
To:
Code:
persist.sys.themeId=Androidian
persist.sys.themePackageName=com.tmobile.theme.Androidian
Then I made sure that the Androidian.apk file was located in the system\app folder. This should work for CM10 as long as the lines "persist.sys.themeId=" and "persist.sys.themePackageName=" are added to the build.prop.
Hello,
I had asked how to make the background of System App transparent a couple of weeks ago here.
But Nobody can answer the way what exactly I want to do so I finally figure out how to make the background of System App transparent~~
This is including for Phone, Contacts, Messaging, Settings, Music, Alarms, Email, Calendar, Calculator, Sync, Media Server, Clock, Media Discovery, Setup Guide.
This is not including for Timescape, TrackID, Support.. I'm still investigating and will update for this...
It's actually not make the background of System app transparent.... show the wallpaper in the background of System app.
So if you change wallpaper, the background of System app also can be changed to your wallpaper~~~
When I modified style.xml just for the transparency, it's so confusing because the other app behind of System app.
This is based on Rooted LT15i 3.0.1.A.0.145 O2 so working for 145 based Rom. But I'm not sure it's working for LT15i_3.0.A.2.181 Rom.
--------------------------------------------------------------------------------------------------------
[GUIDE HOW TO]
I add the guide which xml and png is modified so it will be helpful for someone who use the other version ROM.
It's so simple if you already know how to inherit from the other in android.
For framework-res.apk, first of all decompile framework-res.apk
Step 1 : In \res\values\style.xml
Change this :
Code:
<style name="SEMCTheme" parent="@style/Theme">
to
Code:
<style name="SEMCTheme" parent="@style/Theme.Wallpaper">
Save and close
Step 2 : In \res\drawable-hdpi-v4\semc_bg.png
Open with photoshop and make semc_bg.png transparent
Step 3 : Compile framework-res.apk
For SemcGenericUxpRes.apk, first of all decompile SemcGenericUxpRes.apk
Step 1 : In \res\values\style.xml
Change this :
Code:
<style name="SEMCTheme" parent="@android:style/Theme">
to
Code:
<style name="SEMCTheme" parent="@android:style/Theme.Wallpaper">
Save and close
Step 2 : In \res\drawable-hdpi-v4\semc_bg.png and \res\drawable-land-hdpi-v4\semc_bg.png
Open with photoshop and make semc_bg.png transparent
Step 3 : Compile SemcGenericUxpRes.apk
For FBMediaDiscovery.apk, first of all decompile FBMediaDiscovery.apk
Step 1 : In \res\values\style.xml
Change this :
Code:
<style name="MediaUpdatesTheme" parent="@android:style/Theme">
to
Code:
<style name="MediaUpdatesTheme" parent="@android:style/Theme.Wallpaper">
Save and close
Step 2 : In \res\drawable-hdpi-v4\semc_bg.png
Open with photoshop and make semc_bg.png transparent
Step 3 : Compile FBMediaDiscovery.apk
--------------------------------------------------------------------------------------------------------
Please see the attached apk files.
Framework-res.apk and SemcGenericUxpRes.apk is for System Apps and should push under /system/framework/
FBMediaDiscovery.apk is for Media Discovery in 145 based rom and should push under /system/app
Looks good, I'll test it out when I get home.
hi rleon...
...thank you so much dude, i've been waiting for this mod everything works perfectly fine....i have just one small request: could you possibly include the CRT screen off animation, or the reboot options mod?
That's what has just come to my mind, it'd be great if you could include those....if not, it's actually awesome anyway
Great~ everything works fine for you...
As I know, CRT Screen off animation and reboot option already exists in the other thread...
If you wanna just one framework-res.apk file including all things, I will try but I'm not sure~~
Please give me a time~~
Hi rleon,
Could you please give a detailed list of items / files / folders you changed or altered?
I'm trying to make the system backgrounds invisible aswell however it seems folders have different names in .181
Thanks for the hard work tho!
For framework-res.apk and SemcGenericUxpRes.apk, 181 Rom is same.
framework-res.apk and SemcGenericUxpRes.apk should be located in the same folder which is under /system/framework/ so you can push these files under /system/framework/
And FBMediaDiscovery.apk is just for 145 based Rom so it may not be there in 181 Rom.
Please check whether there is FBMediaDiscovery.apk under /system/app ro not.
If not, you cannot push this file.
Hmm just tried to install them.. however I got a bootloop.
Anything special I should do while copying the files?
I think your 181 rom is different so it cannot be applied this apks.
I just compiled for 145 based rom...
I will update how to modify style.xml later so you can modify and compile for your 181 based rom by yourself....
That would be awesome, looking forward to it
I did a noob mistake and put it on my phone (3.0.1 UK) and now i can't change my wallpaper at all =\
can anybody upload me the original files for my firmware please???
This is good! My homedock, status bar and notification is already transparent and now I just added this too. Cool!
Sent from my LT15i using XDA Premium App
Is it Build 3.0.1.A.0.145 UK?? It should be working...
Currently my rom also Build 3.0.1.A.0.145 UK......
Thanks a lot for the guide! :-D
// Edit
However there doesnt seem to be a style.xml in my version hmmm interesting ;p!
meidan95 said:
I did a noob mistake and put it on my phone (3.0.1 UK) and now i can't change my wallpaper at all =\
can anybody upload me the original files for my firmware please???
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1052067
Damorisio said:
http://forum.xda-developers.com/showthread.php?t=1052067
Click to expand...
Click to collapse
sorry if it's a stupid question but what am I need to do with this link?
where did you find the "value" folder inside the res folder, i cant find it anywhere..Trying to edit it myself so that i can retain the crt sreen off as well as the reboot option.
Can't even find the value folder much less the style.xml
Sent from my LT15i using XDA Premium App
Since I changed my rom to HK 145 rom, I applied your work to my arc. It looked good and nice and worked very well. Great job. Thank you very much.
I followed the instructions for framework-res.apk and got a bootloop.
Couldn't even decompile SemcGenericUxpRes.apk, I got error messages.
I don't suppose anyone might have any idea why?
Is it possible to have it as a solid black background?
and does this work on Xperia Play?
Hi , I had search every where how to change clock color on status bar in latest Samsung ROM ( JB ) but non-work
Coz its code is a bit different from other ROM. So here's how
Requirement :
SystemUI.apk
A bit knowledge about decompiling
Patience
First --->
Decompile your systemUI.apk, go res/layout/tw_status_bar.xml
Then --->
Search for this code
Code:
<com.android.systemui.statusbar.policy.Clock
Then --->
You will see
Code:
android:textColor="#fffefefe
behind it.
Now you may change whatever color you want by changing the code.
Here http://html-color-codes.info/ it maybe useful for you to find the color code
Note : The last 6-digit IS the color code, whereby
the two in front it is transparency.
It count by
#FF****** ( Opaque )
#00****** (Transparent )
It is recommended not to change the first two digits except you know what you are doin :laugh:
Now --->
Recompile your apk , drag resources.arsc and tw_status_bar.xml from your newly build APK to your old SystemUI.apk
Finally --->
Push your SystemUI,apk to system/app of your phone and reboot.
DONE.
DO PRESS THE THANKS BUTTON IF I HELP YOU !!!! CHEERS
Thanks
And to center the clock you can make an 'how to' ?
do i need the framework-res.apk when decompining,ma8?
Sent from my GT-I9100 using Xparent Skyblue Tapatalk 2
can't seem to work
everytime i try to either decompile the systemUI i make the changes but when i try to compile the systemUI back to an .apk file it doesnt compile it gives me errors i tried APKtool and APK manager both which gives me the errors also when i ty to do it which out decompiling them it gives me systmUI Force Close.. idk what to do please
Mundo Hackz said:
everytime i try to either decompile the systemUI i make the changes but when i try to compile the systemUI back to an .apk file it doesnt compile it gives me errors i tried APKtool and APK manager both which gives me the errors also when i ty to do it which out decompiling them it gives me systmUI Force Close.. idk what to do please
Click to expand...
Click to collapse
I would double check what codes you are using for the colors as I tried the html code and it wouldn't compile. When i searched for an ARGB color chart I was able to re-compile
Thanks for the info JoFury
How to make any gingerbread or cm7/cm9 status bar transparent
Check my signature for all my statusbars including pre-made stock cm7/cm9 and Aosp statusbars and guides​
There's three ways to make the statusbar bar Transparent and I'll post them all
One way works with any gingerbread rom (deodex & rooted) and one with cyanogen 7
I have not tried it on ics or jelly bean but you can try (for people who stumble across this thread who are not galaxy y users)
Please dont ask for support unless you are using a custom rom on galaxy y
Any other phones please goto your own phone forum for support
You also need a launcher that is capable of transparency
Adw works but you need to disable wallpaper hack in settings
holo launcher works
any other launcher if it doesn't work look in it's settings & try & disable wallpaper hack or manage internally
Method one for non cm (Stock Deodex Rom)
You need apk tool installed - if you don't know how to use it see my guide here
http://forum.xda-developers.com/showthread.php?t=2206938
Once you have decompiled SystemUI.apk using apk tool goto res/layout Open status_bar.xml in notepad
Find the following line
Code:
<com.android.systemui.statusbar.StatusBarView android:orientation="vertical" [COLOR="Red"]android:background="#ff000000"[/COLOR] android:focusable="true" android:descendantFocusability="afterDescendants"
Notice the part highlighted in red android:background is normally a hexadecimal value or it could be a drawable value
either way change the red part to the following
Code:
<com.android.systemui.statusbar.StatusBarView android:orientation="vertical" [COLOR="Red"]android:background="@drawable/nameofpng" [/COLOR]android:focusable="true" android:descendantFocusability="afterDescendants"
Notice that android:background is now a drawable value
Change nameofpng to the name of your transparent background image (just the name - do not include the file extension .png)
place this image with the same name as the drawable value in res/drawable-ldpi
(of course other devices might be in mdpi or hdpi)
Recompile and sign apk
Put in a flashable zip and flash with system mounted
You can download and use the pngs in the attachment (for ldpi like galaxy y) or create your own
To create a transparent status bar image just take a non Transparent one and edit it in a photo application to make it Transparent (make sure image dimensions stay the same and is for your phone resolution)
Method two for cm7
Note you will need apk tool installed and notepad++ installed
Download the patcher tool by Z25 in attachment
Unzip the contents to a folder
Place your SystemUI.apk and framework-res.apk in files_to_patch
Run patcher.bat
Select status bar tweaks and enable only transparent status bar
Edit the smali file as described in the text file that pops up
Select option build and sign
Select option to create zip files
You now have a zip file called patch.zip
unzip this and take out the SystemUI.apk - we will save this for later
Now we have to either make our own transparent theme or you can download a theme from the playstore for theme chooser that already contains status bar transparency
If you are downloading a theme from the playstore skip the part "To create your own theme" and go straight to the part "final steps"
To create your own theme
Goto uot kitchen http://uot.dakra.lt/kitchen
Take cyanbread.apk from the app folder of your cm7 rom & place on pc (or any other Theme Chooser Theme you wish to make transparent)
Rename it to what you want to call theme
Upload it to kitchen (under cm7 theme in file upload)
In status bar tweaks set background transparency to around 70% Transparent and any other settings you need like carrier or footer - don't forget to generate preview once done
Make sure you have selected ldpi in statusbar tweak settings and ldpi/mdpi for theme chooser preview in file upload (other devices may vary) and in file upload change update binary to galaxy
Then goto summary section
If everything is green create the theme
If not make sure you have clicked generate preview on status bar tweaks
Kitchen will then create theme for you
Download the zip file from kitchen and unzip it
Take out your theme apk
Final Steps
Sign both your theme apk and SystemUI.apk that you saved from earlier with a platform key using zipsigner (playstore)
Put both apks in a flashable zip and flash in cwm with system mounted
(note if you are using a theme from the playstore just do this for SystemUI.apk)
Once the phone has booted goto
ADWLauncher
System Preference
Disable Wallpaper Hack (untick the box)
Your status bar is now transparent
Method three for cm9
Once you have decompiled SystemUI.apk with apktool
Goto smali/com/android/systemui/statusbar/StatusBar.smali
Find the following line
Code:
invoke-direct/range {v11 .. v16}, Landroid/view/WindowManager$LayoutParams;-><init>(IIIII)V
Above this line change
Code:
const/16 v16, 0x4
To the following
Code:
const/16 v16, -0x3
Now in notepad++ open the following
res/values/drawables.xml
Find the following line
Code:
<item type="drawable" name="status_bar_background">#ff000000</item>
Change the hex value to the hex value of the colour/transparency you want
For example
Completely transparent:
Code:
<item type="drawable" name="status_bar_background">#00FFFFFF</item>
70% transparent
Code:
<item type="drawable" name="status_bar_background">#b3000000</item>
50% transparent:
Code:
<item type="drawable" name="status_bar_background">#7f000000</item>
Recompile
Sign with a platform key using zipsigner (playstore)
Put in a flashable zip and flash in cwm with system mounted
What is the name for the png to put in drawable-ldpi?
Re: [Guide] [Mod] How to make any gingerbread or cm7 status bar transparent
remo1995 said:
What is the name for the png to put in drawable-ldpi?
Click to expand...
Click to collapse
You can rename it to ur own like
Jst open statusbar.xml in layout folder and on 2nd line u will find an attribute android;background change the file u want to add next to drawable/xx folder and put that file in ur drawable ldpi folder
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
Reporting from incomplete blue theme
Status-paused
framework-working
remo1995 said:
What is the name for the png to put in drawable-ldpi?
Click to expand...
Click to collapse
Name it the name of the @drawable value
In my example it's nameofpng
Re: [Guide] [Mod] How to make any gingerbread or cm7 status bar transparent
Great guide :thumbup:
Sent from my GT-S5360 using xda app-developers app
Thank you, but when I go to recompile the file gives me error
remo1995 said:
Thank you, but when I go to recompile the file gives me error
Click to expand...
Click to collapse
what rom are you using?
decompile then recompile the apk without making any changes - if it compiles correctly you know you have edited the xml file wrong or not placed the corresponding png in the drawable folder
if it still gives errors without you making changes then either you are using apk tool wrong or the apk has other errors from the orig source
marcussmith2626 said:
what rom are you using?
decompile then recompile the apk without making any changes - if it compiles correctly you know you have edited the xml file wrong or not placed the corresponding png in the drawable folder
if it still gives errors without you making changes then either you are using apk tool wrong or the apk has other errors from the orig source
Click to expand...
Click to collapse
I use the cod rom and I'm trying to change the systemUI of marinalin85, the bar s3 style android 4.2.2
remo1995 said:
I use the cod rom and I'm trying to change the systemUI of marinalin85, the bar s3 style android 4.2.2
Click to expand...
Click to collapse
No reason why it shouldn't work - make sure you have loaded SystemUI.apk and framework-res.apk into apktool using the apktool if command
Make sure all your apk tool commands are correct I'll post a guide on it soon
marcussmith2626 said:
No reason why it shouldn't work - make sure you have loaded SystemUI.apk and framework-res.apk into apktool using the apktool if command
Make sure all your apk tool commands are correct I'll post a guide on it soon
Click to expand...
Click to collapse
to compile and decompile it does! the file does not work gives me forced closure! I made you those passages
Apk tool guide added see http://forum.xda-developers.com/showthread.php?t=2206938
remo1995 said:
to compile and decompile it does! the file does not work gives me forced closure! I made you those passages
Click to expand...
Click to collapse
Follow my apk tool guide I just posted - I can assure you if you follow all my guides correctly and Fully you will not get force closes - I have made many status bars using this method
Decompile my SystemUI.apk from my status bar thread so you can compare the line for the statusbar background in status_bar.xml with yours
If you get errors when you decompile the apk it means the apk was wrongly compiled to begin with and apk tool can't decompile it correctly - you will need to correct any errors that are in the original apk before you can recompile
how can i make launcher compatible with transparency like TW launcher?
Sent from my GT-S5360 using Tapatalk 2
iMaker said:
how can i make launcher compatible with transparency like TW launcher?
Sent from my GT-S5360 using Tapatalk 2
Click to expand...
Click to collapse
Some launchers do not support transparency
if it doesn't work and there is no option to disable wallpaper hack or manage internally in the launcher settings or something similar you will need to use a different launcher if you want transparency
even in go launcher it still wont have transparency
Sent from my GT-S5360 using Tapatalk 2
iMaker said:
even in go launcher it still wont have transparency
Sent from my GT-S5360 using Tapatalk 2
Click to expand...
Click to collapse
I don't think go launcher supports transparency
launchers that definitely do are
holo launcher
adw launcher (disable wallpaper hack in settings)
Added a zip of the full and semi transparent png images for people to use themselves with the guide
off topic question sir, how did you move the jellybean clock and date above toggle bar?
joelquerty said:
off topic question sir, how did you move the jellybean clock and date above toggle bar?
Click to expand...
Click to collapse
By placing <com.android.systemui.statusbar.policy.DigitalClock with the corresponding ids and smali files under the relative layout in status_bar_expanded.xml above the line for toggles
marcussmith2626 said:
By placing <com.android.systemui.statusbar.policy.DigitalClock with the corresponding ids and smali files under the relative layout in status_bar_expanded.xml above the line for toggles
Click to expand...
Click to collapse
can you plzz give me the link of tutorial. i searched in google and xda but i could'nt find it... thank you
Is there a way to make the UI have rounded corners by modifying SystemUI? It was default on Xperia KK, then they removed it on LP but an Xposed module had that option. Now I'm on MM and that module doesn't work. I recently modified the Sony clock and tried to find something related to the rounded corners but couldn't find anything
Nayibmc said:
Is there a way to make the UI have rounded corners by modifying SystemUI? It was default on Xperia KK, then they removed it on LP but an Xposed module had that option. Now I'm on MM and that module doesn't work. I recently modified the Sony clock and tried to find something related to the rounded corners but couldn't find anything
Click to expand...
Click to collapse
i don't think this is the right place to ask this you should ask on your device forum
that said, yes you can,
decompile systemui.apk
edit dimens.xml in SystemUI.apk\res\values\
change there current value to whats in the following code:
Code:
<dimen name="recents_task_view_rounded_corners_radius">15.0dip</dimen>
<dimen name="notification_material_rounded_rect_radius">8.0dip</dimen>
<dimen name="notification_material_shadow_rounded_rect_radius">8.0dip</dimen>
<dimen name="notification_material_rounded_rect_radius_negative">-2.0dip</dimen>
theduke7 said:
i don't think this is the right place to ask this you should ask on your device forum
that said, yes you can,
decompile systemui.apk
edit dimens.xml in SystemUI.apk\res\values\
change there current value to whats in the following code:
Code:
<dimen name="recents_task_view_rounded_corners_radius">15.0dip</dimen>
<dimen name="notification_material_rounded_rect_radius">8.0dip</dimen>
<dimen name="notification_material_shadow_rounded_rect_radius">8.0dip</dimen>
<dimen name="notification_material_rounded_rect_radius_negative">-2.0dip</dimen>
Click to expand...
Click to collapse
You're right about the forum.
But those lines are about existing rounded corners, right? Like in the recents tab and in the notifications. I'm talking about the screen corners
..
---------- Post added at 07:54 AM ---------- Previous post was at 07:51 AM ----------
Nayibmc said:
Is there a way to make the UI have rounded corners by modifying SystemUI? It was default on Xperia KK, then they removed it on LP but an Xposed module had that option. Now I'm on MM and that module doesn't work. I recently modified the Sony clock and tried to find something related to the rounded corners but couldn't find anything
Click to expand...
Click to collapse
Try this app instead
https://play.google.com/store/apps/details?id=mohammad.adib.roundr
theduke7 said:
i don't think this is the right place to ask this you should ask on your device forum
that said, yes you can,
decompile systemui.apk
edit dimens.xml in SystemUI.apk\res\values\
change there current value to whats in the following code:
Code:
<dimen name="recents_task_view_rounded_corners_radius">15.0dip</dimen>
<dimen name="notification_material_rounded_rect_radius">8.0dip</dimen>
<dimen name="notification_material_shadow_rounded_rect_radius">8.0dip</dimen>
<dimen name="notification_material_rounded_rect_radius_negative">-2.0dip</dimen>
Click to expand...
Click to collapse
hello thanks for your brief and useful answer im on nougat i have decompiled system ui but there is no line about notification material or anything like notification radius , i found recent task but no notification, what should i do?
mahyjooon said:
hello thanks for your brief and useful answer im on nougat i have decompiled system ui but there is no line about notification material or anything like notification radius , i found recent task but no notification, what should i do?
Click to expand...
Click to collapse
sorry i no longer own a Sony phone, but generally speaking there should be, made on a different file, it depends on the phone and the rom... i would suggest you ask on your phone specific forums , devs there should know better than me.
theduke7 said:
i don't think this is the right place to ask this you should ask on your device forum
that said, yes you can,
decompile systemui.apk
edit dimens.xml in SystemUI.apk\res\values\
change there current value to whats in the following code:
Code:
<dimen name="recents_task_view_rounded_corners_radius">15.0dip</dimen>
<dimen name="notification_material_rounded_rect_radius">8.0dip</dimen>
<dimen name="notification_material_shadow_rounded_rect_radius">8.0dip</dimen>
<dimen name="notification_material_rounded_rect_radius_negative">-2.0dip</dimen>
Click to expand...
Click to collapse
miui 13 has no folder named "values" or dimens.xml inside the whole system ui apk, then which one to be modified??