[ICS][HOW TO] Add system settings background and Transparent Dialer - Galaxy S II Themes and Apps

I posted some screenshots a long time ago that show a transparent dialer and system settings background
I’m tired of answering pm’s so for people who are familiar with apktool and xml-editing, here’s what to do.
Add system settings background
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
open file to Framework-res.apk res/drawable-nodpi you find a file and replace the background image tw_background_dark.png the same size 480x800
Transparent Dialer
Decompile Contacts.apk and open
Styles.xlm
in \res\values
In line 3,4,5 remove
Code:
<style name="DialtactsTheme" parent="@android:style/Theme.DeviceDefault">
<item name="android:textColorSecondary">@color/dialtacts_secondary_text_color</item>
<item name="android:actionBarStyle">@style/DialtactsActionBarStyle</item>
and add our string resources
Code:
<style name="DialtactsTheme" parent="@android:style/Theme.DeviceDefault.Wallpaper">
<item name="android:textColorSecondary">@color/dialtacts_secondary_text_color</item>
<item name="android:windowBackground">@drawable/dial_bg</item>
<item name="android:actionBarStyle">@style/DialtactsActionBarStyle</item>
save and close
These add files in res/drawable-hdpi have to be transparent:
dial_bg.png size 480x800
Recompile Contacts.apk.

nice, was searching for this background mod. It was there in resurrection rom

After Compiling the app again, should I sign it or leave it be? Since its a system app I want make sure cuz I get a 'unsigned' tag added to the beginning of the apk file when I don't sign. I'm new to this stuff so please be easy on me been googling alot to try and fully understand messing with different apks
MoPhoACTV Initiative

moonzbabysh said:
After Compiling the app again, should I sign it or leave it be? Since its a system app I want make sure cuz I get a 'unsigned' tag added to the beginning of the apk file when I don't sign. I'm new to this stuff so please be easy on me been googling alot to try and fully understand messing with different apks
MoPhoACTV Initiative
Click to expand...
Click to collapse
Not necessary to sign

Thank you
nguyenxuanhoa said:
I posted some screenshots a long time ago that show a transparent dialer and system settings background
I’m tired of answering pm’s so for people who are familiar with apktool and xml-editing, here’s what to do.
Add system settings background
open file to Framework-res.apk res/drawable-nodpi you find a file and replace the background image tw_background_dark.png the same size 480x800
Transparent Dialer
Decompile Contacts.apk and open
Styles.xlm
in \res\values
In line 3,4,5 remove
Code:
<style name="DialtactsTheme" parent="@android:style/Theme.DeviceDefault">
<item name="android:textColorSecondary">@color/dialtacts_secondary_text_color</item>
<item name="android:actionBarStyle">@style/DialtactsActionBarStyle</item>
and add our string resources
Code:
<style name="DialtactsTheme" parent="@android:style/Theme.DeviceDefault.Wallpaper">
<item name="android:textColorSecondary">@color/dialtacts_secondary_text_color</item>
<item name="android:windowBackground">@drawable/dial_bg</item>
<item name="android:actionBarStyle">@style/DialtactsActionBarStyle</item>
save and close
These add files in res/drawable-hdpi have to be transparent:
dial_bg.png size 480x800
Recompile Contacts.apk.
Click to expand...
Click to collapse
Thanks for your work. it's fantastic

Probably a stupid question but im asking anyway i use to use this mod back when i had my galaxy s2 now i have a galaxy note would this still work for that?

Thanx a lot mate!! Awesome work :thumbup:
Sent from my GT-I9100 [Omega v12 rom] using XDA Premium

Thank you pal, thank you.
I'm searching for this for a long time.
But I've got a question:
how can I change call-time interface? you know the UI you see when dialed a number. whatever I do, it is alwasy stock-theme

andhow to get settings app background transparent ? I'm searchinf for 2 weeks and still don't know

patou75 said:
andhow to get settings app background transparent ? I'm searchinf for 2 weeks and still don't know
Click to expand...
Click to collapse
have you tried Go Launcher?? go launcher setting/preferences/visual setting/backgrounds/app drawer background
HIT THANKS BUTTON IF I HELP

Nice work. Was looking for this.
Sent from my GT-I9100 using xda app-developers app

Related

[Q] Redesigning Dialer on JVQ, help needed

Hello guys,
I'm designed simple Dialer for my ROM
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I've redesigned everything except I am not able to change Dialer Top Panel's Blue color and black foreground. Can anyone help me?
Rahulrulez said:
Hello guys,
I'm designed simple Dialer for my ROM
I've redesigned everything except I am not able to change Dialer Top Panel's Blue color and black foreground. Can anyone help me?
Click to expand...
Click to collapse
They are located in the twframework-res.apk. Off the top of my head they are called tw_tab_xx pngs....
shoman94 said:
They are located in the twframework-res.apk. Off the top of my head they are called tw_tab_xx pngs....
Click to expand...
Click to collapse
Hmm, I am confused.. I don't know which PNG to be edited ;(
I tried editing few of PNGs over here but it didn't worked..
Comee on guys help rah with this.. need it for updating his rom!
Somehow I managed to edit the PNGs..
The only problem I'm facing is, I can't change background, bottom line (bluish) in Contacts tab. I can't find the location of PNG or Nine Patches
Rahulrulez said:
Somehow I managed to edit the PNGs..
The only problem I'm facing is, I can't change background, bottom line (bluish) in Contacts tab. I can't find the location of PNG or Nine Patches
Click to expand...
Click to collapse
isn't it coded in xml files of contacts/dialer app or touchwiz?
by the way, the button "1" looks like being a bit higher than the others in that line (or is that on purpose?)
picard666 said:
isn't it coded in xml files of contacts/dialer app or touchwiz?
by the way, the button "1" looks like being a bit higher than the others in that line (or is that on purpose?)
Click to expand...
Click to collapse
Actually, I am adding voice mail icon under 1 Dialer is still under design.
btw which pngs did you edit for the purpose?
picard666 said:
btw which pngs did you edit for the purpose?
Click to expand...
Click to collapse
PNGs from DialerTabActivity.apk and twframework-res.apk (PNG starting from tw_tab_......png and nine patches also)
Rahulrulez said:
Somehow I managed to edit the PNGs..
The only problem I'm facing is, I can't change background, bottom line (bluish) in Contacts tab. I can't find the location of PNG or Nine Patches
Click to expand...
Click to collapse
it's in contacts.apk, you have to edit xml file and change the color parameters to whatever you like, forgot wich xml, do a file compare with another modded one and you will find out...
Rahulrulez said:
Somehow I managed to edit the PNGs..
The only problem I'm facing is, I can't change background, bottom line (bluish) in Contacts tab. I can't find the location of PNG or Nine Patches
Click to expand...
Click to collapse
tw_tab_selected_bar_left.9.png
tw_tab_selected_bar_right.9.png
tw_tab_unselected.9.png
tw_tab_unselected_ss.9.png
in DialerTabActivity.apk
Rahulrulez said:
Somehow I managed to edit the PNGs..
The only problem I'm facing is, I can't change background, bottom line (bluish) in Contacts tab. I can't find the location of PNG or Nine Patches
Click to expand...
Click to collapse
I can help you tomorrow night or tonight depending how you look at it. I'm on EST time zone. Probably after 8pm if nobody helps you by then.
PS... It's not in contacts.apk.
sent from my continuum powered captivate on tapatalk....
Pss..... I believe the image you want to make transparent is "dialer_tab_button_bg_normal.png" located in the dialer apk.
The blue line under it is in twframework-res.apk. Called tw_tab_ss_unselected.png I think. I can't remember off the top of my head.
Hope this helps you.
I really like this and I want it too..!!
In what theme will you use this?? And will you post it here when you are finished??
Tnx in advance
Sent from my GT-I9000 using XDA Premium App
Finally managed to fix it
Thanks all for helping me

[REQ] changes of kitkat can not

hello!
I found 2 problems trying to customize kitkat.... so I ask for your help...
I tried to change the lockring , but I could not find ic_lockscreen_handle_normal.png on framework.....
The second thing, I would like to customize the color of the dialer eliminating cyano stock color on numbers,
but so far I have not found solution....
P.S.: I'm trying on the cMetal 11
Nautilus74 said:
hello!
I found 2 problems trying to customize kitkat.... so I ask for your help...
I tried to change the lockring , but I could not find ic_lockscreen_handle_normal.png on framework.....
The second thing, I would like to customize the color of the dialer eliminating cyano stock color on numbers,
but so far I have not found solution....
P.S.: I'm trying on the cMetal 11
Click to expand...
Click to collapse
ic_lockscreen .PNGs should be in drawable-xhdpi framework-res folder ...
and for dialer... try to look here, maybe you will find the solution:
http://forum.xda-developers.com/showthread.php?t=2524248
i didn't understand... do you want to change the color of numbers? or the background color?
This is part of the list of PNG files in framework......
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
My problem is there is no file!
About dialer, I want to change the color of numbers!
I want them white!
I changed some png with photoshop, but only so I changed the dialer keypad during a call ... I do not know if you know what I mean ....
then I would also change the cyan strip down .... putting only a thin line of separation ..... but I think this is the most difficult ...
I hate the cyano color stock!!!!!
Nautilus74 said:
This is part of the list of PNG files in framework......
My problem is there is no file!
About dialer, I want to change the color of numbers!
I want them white!
I changed some png with photoshop, but only so I changed the dialer keypad during a call ... I do not know if you know what I mean ....
then I would also change the cyan strip down .... putting only a thin line of separation ..... but I think this is the most difficult ...
I hate the cyano color stock!!!!!
Click to expand...
Click to collapse
for Lockring maybe You should modify res/drawable-xhdpi/ic_lockscreen_handle_normal.png in decompiled
/priv-app/keyguard.apk
and for the Dialer's icons
dial_num_*_wht.PNGs in GoogleDialer/res/drawable-xhdpi folder (GoogleDialer.apk)?
*=number
thanks!
Now, on kitkat, ic_lockscreen_handle_normal.png is inside keyguard.apk !!!
The problem is not solved instead for dialer ...
I had already changed those png inside dialer.apk, but ,
as I have said , the result was what you saw in the screenshots above ...
Nautilus74 said:
thanks!
Now, on kitkat, ic_lockscreen_handle_normal.png is inside keyguard.apk !!!
The problem is not solved instead for dialer ...
I had already changed those png inside dialer.apk, but ,
as I have said , the result was what you saw in the screenshots above ...
Click to expand...
Click to collapse
try to check TeleService.apk
I tried that too... still nothing! :crying:
Just curious if you ever solved the problem with the blue numbers on the phone dialer. I too am trying to change them to white and like you, I can only get them to change for the incall numbers. I have searched and searched through every .apk looking for some other reference to the dial_num files and haven't found them yet. Just wondering if you have.
flyinjoe13 said:
Just curious if you ever solved the problem with the blue numbers on the phone dialer. I too am trying to change them to white and like you, I can only get them to change for the incall numbers. I have searched and searched through every .apk looking for some other reference to the dial_num files and haven't found them yet. Just wondering if you have.
Click to expand...
Click to collapse
I managed in this only possible way:
I decompiled dialer.apk and changed the main color in res/values/colors.xml
in lines:
<color name="primary_text_color">#ffxxxxxx</color>
<color name="secondary_text_color">#ffxxxxxx</color>
The color of the numbers will be the same as the horizontal strip where there is the handset.
Nautilus74 said:
I managed in this only possible way:
I decompiled dialer.apk and changed the main color in res/values/colors.xml
in lines:
<color name="primary_text_color">#ffxxxxxx</color>
<color name="secondary_text_color">#ffxxxxxx</color>
The color of the numbers will be the same as the horizontal strip where there is the handset.
Click to expand...
Click to collapse
can you share modified apk?
of course!
here it is

[Guide] How To Change Text Color Under Icons 3/13/2014

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
How To Change Icon Text Color
​ ​
Today I will show you how to change the text color under your icons in the dock tray as well as on the home screen. Not a very hard process....
You will be able to change the text to whatever color you desire. So lets get started......
Tools for our task
ApkManager
If you dont know how to use this tool, please see my guide Here
7Zip
NotePad++
HTML Color Codes
Changing Text Color
First thing to do is get your SecLauncher3.apk. Decompile it using ApkManager. After you have decompiled it, navigate to res/values/styles.
Open the styles xml with NotePad++. Scroll down to "BaseHomeIcon". Look for this:
Code:
<style name="BaseHomeIcon">
<item name="android:textColor">#ffb106fb</item>
<item name="android:gravity">top|center</item>
<item name="android:layout_gravity">top|center</item>
<item name="android:background">@drawable/focusable_view_bg</item>
<item name="android:focusable">true</item>
<item name="android:layout_width">fill_parent</item>
<item name="android:layout_height">wrap_content</item>
<item name="android:shadowColor">#dd000000</item>
<item name="android:shadowDy">2.0</item>
<item name="android:shadowRadius">4.0</item>
<item name="destination">home</item>
To change the color of the text edit "android:textColor"> </item. Open up HTML Color Codes. It will be
a 6 digit code. Example: Red would be FC0202. So your change will look like this: fffc0202
Next look for this code:
Code:
<style name="BaseHotseatIcon">
<item name="android:textColor">#ffb106fb</item>
<item name="android:gravity">top|center</item>
<item name="android:layout_gravity">top|center</item>
<item name="android:background">@drawable/focusable_view_bg</item>
<item name="android:focusable">true</item>
<item name="android:layout_width">fill_parent</item>
<item name="android:layout_height">wrap_content</item>
<item name="android:shadowColor">#dd000000</item>
<item name="android:shadowDy">2.0</item>
<item name="android:shadowRadius">4.0</item>
<item name="destination">home</item>
Now edit textColor again to the exact color you chose above... fffc0202
Now look for this code,
Code:
<style name="BaseMenuIcon">
<item name="android:textColor">#ffb106fb</item>
<item name="android:gravity">top|center</item>
<item name="android:layout_gravity">top|center</item>
<item name="android:background">@drawable/focusable_view_bg</item>
<item name="android:focusable">true</item>
<item name="android:layout_width">fill_parent</item>
<item name="android:layout_height">wrap_content</item>
<item name="android:shadowColor">#dd000000</item>
<item name="android:shadowDy">2.0</item>
<item name="android:shadowRadius">4.0</item>
<item name="destination">menu</item>
Now edit textColor again with the exact color you chose above...fffc0202
Now recompile SecLauncher3.apk. You can push into system, or make a zip. Any questions or problems post
them and I will help you out.
​
Mine. ....
Sent from my SGH-M919 using XDA Premium 4 mobile app
This method also works on 4.4.2 Kit Kat
Git Cha Sum Kit Kat
Deviant Development Team Member
Oh Yea, That THANKS Button is Your Friend.....Dont Be Shy
How do I find the script for the notification bar? Would like to change the color of the clock, signal bars network symbol, alarm clock symbol. Would like to be able to do this while on stock /rooted without having to install a custom rom or theme like 3minit.
Pp.
sent from my S4 as I replace spark plugs on my Ford Escape via bluetooth.
PanchoPlanet said:
How do I find the script for the notification bar? Would like to change the color of the clock, signal bars network symbol, alarm clock symbol. Would like to be able to do this while on stock /rooted without having to install a custom rom or theme like 3minit.
Pp.
sent from my S4 as I replace spark plugs on my Ford Escape via bluetooth.
Click to expand...
Click to collapse
Clock is SystemUi res/layout/status bar.xml.
Will have to look for the others.
3minit is i9505 framework. Won't work unless it gets ported
I Got Me A Kit Kat
Deviant Development Team Member
The Sickness said:
Clock is SystemUi res/layout/status bar.xml.
Will have to look for the others.
3minit is i9505 framework. Won't work unless it gets ported
I Got Me A Kit Kat
Deviant Development Team Member
Click to expand...
Click to collapse
any idea if the same would work for Nova Launcher.. i found a decompile-able version on xda... wondering if i should look for the same code?
rel500 said:
any idea if the same would work for Nova Launcher.. i found a decompile-able version on xda... wondering if i should look for the same code?
Click to expand...
Click to collapse
Not too sure bro.....if its not let me take a look......

[MOD][STOCK][L]Coloured/Transparent Notification Bar [Updated]

Hello Guys!
Bored with that ugly Bluish Stock Like Notification Bar?
So I Have made Colorful transparent Notification bar to suit our Xperia's!
Black:-
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Red:-
Green:-
Blue:-
Stock Transparent:-
Requirements :-
-ROOT is required
-Stock Rom 5.0.2/5.1.1
-And a working recovery
Instructions :-
Just Flash the Zip through recovery or push manually by setting correct permissions.
Works on both Odex/De-odex.
Downloads :-
Gdrive:-
https://drive.google.com/folder/d/0B2XXxm2bHzgDaUlOLXgzOW5hbkE/edit
[Confirmed Working]Tested On Z,Z1,Z3,Z3C,Z2,Z4, Z Ultra,Z Tab,Z2 Tab
Should work for all 5.0.2/5.1.1 Stockrom Sony devices
For Further Updates, You Guys can suggest me some colors and combinations too!
Njoy!
Hit thanks If You Like My Work
i love it, but can u do a more original version, the original color and all but with transparent look the expanded pls
Looks great... If I flash this on my Z3, will I loose my theme effects for good or will it change if I install a custom theme from a dev ??? I'll flash and give you feedback...
ChristianMx said:
i love it, but can u do a more original version, the original color and all but with transparent look the expanded pls
Click to expand...
Click to collapse
Yes I am working on a full deep black also...the problem with notifiication to turn black are text glitches...ill try
dj_richard05 said:
Looks great... If I flash this on my Z3, will I loose my theme effects for good or will it change if I install a custom theme from a dev ??? I'll flash and give you feedback...
Click to expand...
Click to collapse
Nope the theme accent will change according to the theme and waiting for feedback
can this work on xperia z ultra ??
yashkadam0012 said:
can this work on xperia z ultra ??
Click to expand...
Click to collapse
It should work....ply try n feedback
I refer to make it original light green color but the expanded notifications blurred/transparent
ChristianMx said:
I refer to make it original light green color but the expanded notifications blurred/transparent
Click to expand...
Click to collapse
Okay ill make one
working on z3 compact thanks a lot @SonyRiFle
in future updates could please add dynamic nav bar too
Guide for dynamic nav bar
res\values\drawables.xml
Change
<item type="drawable" name="somc_navbar_background_dark">@color/system_bar_background_opaque</item>
<item type="drawable" name="somc_navbar_background_dark_land">@color/system_bar_background_opaque</item>
<item type="drawable" name="somc_navbar_background_light">@drawable/somc_navbar_background_dark</item>
<item type="drawable" name="somc_navbar_background_light_land">@drawable/somc_navbar_background_dark_land</item>
Click to expand...
Click to collapse
To
<item type="drawable" name="somc_navbar_background_dark">@android:color/somc_color_dark_primary_dark</item>
<item type="drawable" name="somc_navbar_background_dark_land">@android:color/somc_color_dark_primary_dark</item>
<item type="drawable" name="somc_navbar_background_light">@android:color/somc_color_dark_primary_light</item>
<item type="drawable" name="somc_navbar_background_light_land">@android:color/somc_color_dark_primary_light</item>
Click to expand...
Click to collapse
No conflict with serajr Xperia xposed ?
Thx
Sent from my D5503 using XDA Free mobile app
Working great on my Xperia Z3 (23.1.A.1.28) and Serajr Xperia xposed seems to be working fine too.
Pakman123 said:
working on z3 compact thanks a lot @SonyRiFle
in future updates could please add dynamic nav bar too
Guide for dynamic nav bar
res\values\drawables.xml
Change
To
Click to expand...
Click to collapse
Sure Mate...The next update will be of differnet colours! And your need for dynamic nav bar also!
fl4r3 said:
Working great on my Xperia Z3 (23.1.A.1.28) and Serajr Xperia xposed seems to be working fine too.
Click to expand...
Click to collapse
Thanx For testing!
Funkmasterchilla said:
No conflict with serajr Xperia xposed ?
Thx
Sent from my D5503 using XDA Free mobile app
Click to expand...
Click to collapse
Yes its working fine with serajr xposed
Reupdated OP.
Added 5 Colours...More colour Suggestions needed
Next update with dynamic navbar will also be added
SonyRiFle said:
Reupdated OP.
Added 5 Colours...More colour Suggestions needed
Next update with dynamic navbar will also be added
Click to expand...
Click to collapse
Please add dynamic navbar as an option, not everyone likes em
Thanks
I have just theme accent ^^
No matter which theme i choose red, blue or green it will accords to theme
Nice btw :good:
Sended From My Z3 On Moonwalker Provolution V1.5 To Your Eyes !
Pandemic said:
I have just theme accent ^^
No matter which theme i choose red, blue or green it will accords to theme
Nice btw :good:
Sended From My Z3 On Moonwalker Provolution V1.5 To Your Eyes !
Click to expand...
Click to collapse
Thanx! Can you tell me the colour code for the theme accent to work accrdng to theme?
How to fix white bg and text in this mod?
Spoiler

[Theme][no root/root] XPERIA™ Nature Cold

Hello
guys, today I bring you an excellent theme I hope you like it and give me a thank you :good:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Theme will apply on
Keyboard Color
Lock Screen saver
Lock Screen clock
HD wallpaper
Clock widget
and support xperia x
background layouts color theme and few
Whatsapp color
Support for all xperia (LP,MM,N)
Screen shots
Downloads
On Google Play
Click here To download
Don't forget to thank me if you like/love my work
[/CENTER][/B]Follow me on Facebook
Click here To Facebook
Please can yhu make an update version of tha theme with menu nav bar themed.
Please.
Thanks man
?
whalesplaho said:
Please can yhu make an update version of tha theme with menu nav bar themed.
Please.
Thanks man
Click to expand...
Click to collapse
what bar bro??
Guetto Design said:
what bar bro??
Click to expand...
Click to collapse
Tha 3 dot nav bar.... Dahs tha menu nav bar!!
Please still waiting brov....
whalesplaho said:
Please still waiting brov....
Click to expand...
Click to collapse
I'm sorry I will not change anything, it's already published
Sorry
whalesplaho said:
Please still waiting brov....
Click to expand...
Click to collapse
I'm sorry I will not change anything, it's already published
Guetto Design said:
I'm sorry I will not change anything, it's already published
Click to expand...
Click to collapse
Its okay buddy.... Thanks!
whalesplaho said:
Its okay buddy.... Thanks!
Click to expand...
Click to collapse
Like this? I just copied png to systemui assets... @Guetto Design - you OK with that?
Yes bro
levone1 said:
Like this? I just copied png to systemui assets... @Guetto Design - you OK with that?
Click to expand...
Click to collapse
if there is no bro problem, did you receive the message I sent you?
Guetto Design said:
if there is no bro problem, did you receive the message I sent you?
Click to expand...
Click to collapse
Oh yeah, thanks for reminding me. It's a systemui apk, right? I'll check it out - I forgot about it...
Yes bro
levone1 said:
Oh yeah, thanks for reminding me. It's a systemui apk, right? I'll check it out - I forgot about it...
Click to expand...
Click to collapse
if bro, that may be the solution to add the battery icons in the new systemui
@levone1 thanks for tha edited mod.
whalesplaho said:
@levone1 thanks for tha edited mod.
Click to expand...
Click to collapse
You might like this - https://forum.xda-developers.com/crossdevice-dev/sony/customize-xperia-themes-computer-t3602560/amp/
Guetto Design said:
if bro, that may be the solution to add the battery icons in the new systemui
Click to expand...
Click to collapse
Good news / bad news:
I was able to port the Z2 battery widget from your system ui upload, but I'm not sure how to replace the current battery widget. So far I can only make it so they're both there. I tried deleting the old code in system_icons.xml, but it causes systemui fc. I think the proper way is probably a switch in smali, but I'm not strong enough in smali to figure it out. I think I can probably hack it in size and layout entries, so I'll mess around with that a bit...
Obviously in screenshot the size and layout is not right, but I can easily adjust that.
BTW - porting is simple. No smali coding necessary, just copying files. I didn't make note of all the specifics, but I will get to it...
Great
levone1 said:
Good news / bad news:
I was able to port the Z2 battery widget from your system ui upload, but I'm not sure how to replace the current battery widget. So far I can only make it so they're both there. I tried deleting the old code in system_icons.xml, but it causes systemui fc. I think the proper way is probably a switch in smali, but I'm not strong enough in smali to figure it out. I think I can probably hack it in size and layout entries, so I'll mess around with that a bit...
Obviously in screenshot the size and layout is not right, but I can easily adjust that.
BTW - porting is simple. No smali coding necessary, just copying files. I didn't make note of all the specifics, but I will get to it...
Click to expand...
Click to collapse
excellent bro, I hope you can have results soon
Guetto Design said:
excellent bro, I hope you can have results soon
Click to expand...
Click to collapse
I was able to hide the original icon, but new battery layout is wacky (screenshot). I think I'm also realizing that my systemUI is not good for testimony, because I have already hacked it up so much... Would be best to test on full stock SystemUI. Maybe I'll just post instructions, and others can test...
Guetto Design said:
excellent bro, I hope you can have results soon
Click to expand...
Click to collapse
Here's what I did if you want to try
-Decompile SystemUI apk and SystemUI1 apk
- Copy SystemUI1/smali/com/ztc1997 folder to SystemUI/smali/com
- Copy SystemUI1/res/layout/z2battery.xml to Systemui/res/layout
- Copy SystemUI1/res/drawable_xhdpi_v4/somc_sys_charging_am.png to SystemUI/res/drawable_xhdpi_v4
- Open SystemUI/res/values/bools.xml and add
Code:
<bool name="config_limited_usb_charging">false</bool>
- Open SystemUI/res/values/colors.xml and add
Code:
<color name="statusbar_battery_percent_color">#ffffffff</color>
- Open SystemUI/res/values/dimens.xml and add
Code:
<dimen name="status_bar_icon_margin">0.0dip</dimen>
<dimen name="battery_margin_start">0.0dip</dimen>
- Open SystemUI/res/values/ids.xml and add
Code:
<item type="id" name="battery_charging">false</item>
<item type="id" name="battery_icon">false</item>
<item type="id" name="battery_percent">false</item>
<item type="id" name="battery_stamina">false</item>
- Open SystemUI /res/layout/system_icons.xml and add this line
Code:
<com.ztc1997.widgets.Z2Battery android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginStart="@dimen/battery_margin_start" />
after '<com.android.systemui.BatteryMeterView android:id="@id/battery" android:background="#d9ffffff" android:layout_width="@dimen/status_bar_battery_icon_width" android:layout_height="@dimen/status_bar_battery_icon_height" android:layout_marginBottom="@dimen/battery_margin_bottom" />'
- Recompile, sign and push.
After that, it's a matter of adjusting values. For example, to hide the old battery icon and percentage, I changed values like 'battery icon height' in dimens.xml, and 'layout_width' in system_icons.xml to '0.0dip', and I would change things like 'paddingLeft', etc in the appropriate files to set the layout correctly. It will vary from device to device, so can't really spell it all out, especially since my systemUI files have already been modded heavily...
I probably won't mess with it anymore at this point, until I clean flash stock again. Maybe you can take it further...
Great
levone1 said:
Here's what I did if you want to try
-Decompile SystemUI apk and SystemUI1 apk
- Copy SystemUI1/smali/com/ztc1997 folder to SystemUI/smali/com
- Copy SystemUI1/res/layout/z2battery.xml to Systemui/res/layout
- Copy SystemUI1/res/drawable_xhdpi_v4/somc_sys_charging_am.png to SystemUI/res/drawable_xhdpi_v4
- Open SystemUI/res/values/bools.xml and add
Code:
<bool name="config_limited_usb_charging">false</bool>
- Open SystemUI/res/values/colors.xml and add
Code:
<color name="statusbar_battery_percent_color">#ffffffff</color>
- Open SystemUI/res/values/dimens.xml and add
Code:
<dimen name="status_bar_icon_margin">0.0dip</dimen>
<dimen name="battery_margin_start">0.0dip</dimen>
- Open SystemUI/res/values/ids.xml and add
Code:
<item type="id" name="battery_charging">false</item>
<item type="id" name="battery_icon">false</item>
<item type="id" name="battery_percent">false</item>
<item type="id" name="battery_stamina">false</item>
- Open SystemUI /res/layout/system_icons.xml and add this line
Code:
<com.ztc1997.widgets.Z2Battery android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginStart="@dimen/battery_margin_start" />
after '<com.android.systemui.BatteryMeterView android:id="@id/battery" android:background="#d9ffffff" android:layout_width="@dimen/status_bar_battery_icon_width" android:layout_height="@dimen/status_bar_battery_icon_height" android:layout_marginBottom="@dimen/battery_margin_bottom" />'
- Recompile, sign and push.
After that, it's a matter of adjusting values. For example, to hide the old battery icon and percentage, I changed values like 'battery icon height' in dimens.xml, and 'layout_width' in system_icons.xml to '0.0dip', and I would change things like 'paddingLeft', etc in the appropriate files to set the layout correctly. It will vary from device to device, so can't really spell it all out, especially since my systemUI files have already been modded heavily...
I probably won't mess with it anymore at this point, until I clean flash stock again. Maybe you can take it further...
Click to expand...
Click to collapse
it's amazing, you almost did it, possibly as you say with a clean rom you get better results. you were able to add the other battery icons??
Guetto Design said:
it's amazing, you almost did it, possibly as you say with a clean rom you get better results. you were able to add the other battery icons??
Click to expand...
Click to collapse
I don't know exactly what it's supposed to look like, since I haven't seen that systemui booted, (I just have the apk), but full port would probably require changing BatteryMeter and BatteryMeterDrawable files, which would involve a bit more work, (converting public id's etc..). I looked at it a little, but didn't get too far into it.
..

Categories

Resources