SystemUI rounded corners - Android Q&A, Help & Troubleshooting

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??

Related

[Q] Change default values in settings for android rom

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.

[Solved] Reduce statusbar to 0

I'm trying to reduce the statusbar height to 0 pixels, hence hiding it without loosing the notification features.
I am using CM 10.1 nightly ROM.
Up to now I have done this:
1) decompiled framework-res.apk with apktool
2) opened with Notepad \res\values\dimens.xml
3) modified these values to 0
<dimen name="status_bar_height">0.0dip</dimen>
<dimen name="navigation_bar_height">0.0dip</dimen>
<dimen name="navigation_bar_height_landscape">0.0dip</dimen>
<dimen name="navigation_bar_width">0.0dip</dimen>4) build the new framework-res.apk with apktool
5) copied the new file over the old one
6) rebooted... rebooted... rebooted...
As you might understend, after the mod my phone got stuck rebooting.
Could anyone point me to the correct way of modding framework-res.apk?
Thanks!
Giocarro said:
I'm trying to reduce the statusbar height to 0 pixels, hence hiding it without loosing the notification features.
I am using CM 10.1 nightly ROM.
Up to now I have done this:
1) decompiled framework-res.apk with apktool
2) opened with Notepad \res\values\dimens.xml
3) modified these values to 0
<dimen name="status_bar_height">0.0dip</dimen>
<dimen name="navigation_bar_height">0.0dip</dimen>
<dimen name="navigation_bar_height_landscape">0.0dip</dimen>
<dimen name="navigation_bar_width">0.0dip</dimen>4) build the new framework-res.apk with apktool
5) copied the new file over the old one
6) rebooted... rebooted... rebooted...
As you might understend, after the mod my phone got stuck rebooting.
Could anyone point me to the correct way of modding framework-res.apk?
Thanks!
Click to expand...
Click to collapse
i dont think this would work as the text and content containers would be looking for a workspace which wasnt there. are you looking to loose the statusbar completely and only have the pulldouwn notifications or are you just looking to simply make it trasnparent?
I am looking for a way to hide the statusbar because I want it replaced by LMT Launcher.
Now I just got the problem solved following this advice.
Thanks!
Giocarro said:
I am looking for a way to hide the statusbar because I want it replaced by LMT Launcher.
Now I just got the problem solved following this advice.
Thanks!
Click to expand...
Click to collapse
No worries, just for note in the future, you can hide the Status bar by adding a simple code to the android manifest for the systemui
(this means if you ever want it back its just 1 line to delete rather than messing with dimens)
Could you please elaborate your suggestion? Sounds definitely better than mine!
Giocarro said:
Could you please elaborate your suggestion? Sounds definitely better than mine!
Click to expand...
Click to collapse
Of course, decompile the systemui.apk form your rom open up the android manifest and add something similar to the below line under activities in the android manifest. it will automatically hide the statusbar.
If you want the statusar back again just remove this line
<activity android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen"/>

[Guide] [Mod] How to make any gingerbread or cm7/cm9 status bar transparent

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

[Q] about 9patch.png and xml help me

Hello friend, this is my first post after years of just being a silent reader ... I finally decided to create an account on this forum.
Now I want to ask, what's the name of the action bar and the 9patch.png name of this image number one in attachment below
then these two objects below on image number two marked with arrows
and one more question about this editing contact page that I can't figure it out how to change its background instead of holo white, any other pages was changed except this one, where is the damn layout xml for this thing?
help from my friends here will be greatly appreciated and I would be grateful
C.E.R.N said:
Hello friend, this is my first post after years of just being a silent reader ... I finally decided to create an account on this forum.
Now I want to ask, what's the name of the action bar and the 9patch.png name of this image number one in attachment below
then these two objects below on image number two marked with arrows
and one more question about this editing contact page that I can't figure it out how to change its background instead of holo white, any other pages was changed except this one, where is the damn layout xml for this thing?
help from my friends here will be greatly appreciated and I would be grateful
Click to expand...
Click to collapse
Welcome new XDA participant
I don't write down all png files I have modified and I don't have access to my theme right now but here are some clues:
1st screenshot: it's in framework-res.apk and check .9.png called "***bottom***" There aren't so much .9.png called like that.
2nd screenshot: it should be located into the Contacts.apk and there isn't a lot of .9.png files.
3rd screenshot: there's a .xml file into /res/drawable/ of Contacts.apk for the background.
Primokorn said:
Welcome new XDA participant
I don't write down all png files I have modified and I don't have access to my theme right now but here are some clues:
1st screenshot: it's in framework-res.apk and check .9.png called "***bottom***" There aren't so much .9.png called like that.
2nd screenshot: it should be located into the Contacts.apk and there isn't a lot of .9.png files.
3rd screenshot: there's a .xml file into /res/drawable/ of Contacts.apk for the background.
Click to expand...
Click to collapse
Okay, I will check all *bottom 9.png
And about the .xml can you give me any other clue?
C.E.R.N said:
Okay, I will check all *bottom 9.png
And about the .xml can you give me any other clue?
Click to expand...
Click to collapse
Check the color of "background_dial_holo_dark"
Primokorn said:
Check the color of "background_dial_holo_dark"
Click to expand...
Click to collapse
the value of "background_dial_holo_dark" refer to an .png image, I was replace this with my own .png image, or maybe it is "primary background color" ? in the folder values/colors/color.xml there is an code <color name="background_primary">#ffffffff</color> but I haven't change it yet.
I want to make half transparent effect on the background that shows my current wallpaper instead, if it's possible.
Would you mind to check my res folder if you're not busy, in the attachment...
C.E.R.N said:
the value of "background_dial_holo_dark" refer to an .png image, I was replace this with my own .png image, or maybe it is "primary background color" ? in the folder values/colors/color.xml there is an code <color name="background_primary">#ffffffff</color> but I haven't change it yet.
I want to make half transparent effect on the background that shows my current wallpaper instead, if it's possible.
Would you mind to check my res folder if you're not busy, in the attachment...
Click to expand...
Click to collapse
So try to remplace into colors.xml file
Code:
<color name="background_primary">#ffffffff</color>
by this
Code:
<color name="background_primary">#00ffffff</color>
Primokorn said:
So try to remplace into colors.xml file
Code:
<color name="background_primary">#ffffffff</color>
by this
Code:
<color name="background_primary">#00ffffff</color>
Click to expand...
Click to collapse
I will try that and report the result later
It works :good: thanks man

Marshmallow 6.0 Power Menu

Anyone have it? without advance reboot menu
I'm looking for this too! Just flashed the stock 6.0 ROM and need the nice reboot menu as it's a pain without.
I Was going to flash any reboot menu but now I've seen this thread may be we need one specific to the android 6.0 ? :-s
No one?
dieselboy said:
No one?
Click to expand...
Click to collapse
You will require rooted device
Open system/build.prop using root explorer or Build.prop editor app
Then
Remove these lines
ro.build.scafe=americano
ro.build.scafe.size=short
ro.build.scafe.shot=single
ro.build.scafe.cream=white
ro.build.scafe.version=2015A
Then add these lines
ro.build.scafe.version=2016A
ro.build.scafe.size=short
ro.build.scafe.shot=double
ro.build.scafe.cream=white
Then reboot
Now you will get new Power menu like s7 edge
If your text color is not visible in power menu
Then you must edit it in frameworkres.apk
How to Change text color from black to white:
Decompile
framework-res.apk
Locate to
framework-res.apk/res/values/colors.xml
Old code
<color name="tw_global_action_messagetext_textcolor">#ff000000</color>
<color name="tw_global_action_statustext_textcolor">#ff6b6f72</color>
New code
<color name="tw_global_action_messagetext_textcolor">#fffafafa</color>
<color name="tw_global_action_statustext_textcolor">#ffc3c3c3</color>
Recompile and make a flashable zip of your frameworkres.apk and flash it
Enjoy
Ss
@Miaf
@dieselboy
By The way what is your device model ??
Do mention it for what model you want so that some one can give you a zip of modded files
I' ve systemui by Al Cr and this mod change all the panel with jellow letters and White colors. How can solve?
please
yash92duster said:
@Miaf
@dieselboy
By The way what is your device model ??
Do mention it for what model you want so that some one can give you a zip of modded files
Click to expand...
Click to collapse
Please Please can you give me the zip for the 900T for mod
victor952 said:
Please Please can you give me the zip for the 900T for mod
Click to expand...
Click to collapse
search for guide how to make it in s5 themes section
there is a guide by karkrass follow his guide
i dont have your model to make one
marioghs said:
I' ve systemui by Al Cr and this mod change all the panel with jellow letters and White colors. How can solve?
Click to expand...
Click to collapse
The same thing happens to me too, but it's not for the MOD! because I uninstalled it and it remains the same, there must be a solution in the "build pro"
yash92duster said:
You will require rooted device
Open system/build.prop using root explorer or Build.prop editor app
Then
Remove these lines
ro.build.scafe=americano
ro.build.scafe.size=short
ro.build.scafe.shot=single
ro.build.scafe.cream=white
ro.build.scafe.version=2015A
Then add these lines
ro.build.scafe.version=2016A
ro.build.scafe.size=short
ro.build.scafe.shot=double
ro.build.scafe.cream=white
Then reboot
Now you will get new Power menu like s7 edge
If your text color is not visible in power menu
Then you must edit it in frameworkres.apk
How to Change text color from black to white:
Decompile
framework-res.apk
Locate to
framework-res.apk/res/values/colors.xml
Old code
<color name="tw_global_action_messagetext_textcolor">#ff000000</color>
<color name="tw_global_action_statustext_textcolor">#ff6b6f72</color>
New code
<color name="tw_global_action_messagetext_textcolor">#fffafafa</color>
<color name="tw_global_action_statustext_textcolor">#ffc3c3c3</color>
Recompile and make a flashable zip of your frameworkres.apk and flash it
Enjoy
Click to expand...
Click to collapse
Wait, how do you get to root explorer?

Categories

Resources