Related
* Decompile framework-res.apk
* Edit layout: zzzzzzzz_default_lockscreenw.xml
* in line 2
* Replace android:background="#ff000000" with android:background="@color/transparent"
* Edit layout: keyguard_screen_tab_unlock.xml
* in line 2
* Replace android:background="@color/background_dark" with android:background="@drawable/default_wallpaper"
* in line 5
* Replace android:background="#30000000" with android:background="@color/transparent"
* in line 15
* Replace android:layout_marginBottom="80.0dip" to android:layout_marginBottom="0.0dip"
* edit res:
* Replace default_wallpaper.jpeg to default_wallpaper.png 480/800
* and the lockscreen
* Replace zzzzzzzz_default_lockscreenw.jpeg to zzzzzzzz_default_lockscreenw.png
* Compile again
This is my layout and drawable-hdpi
View attachment framework-res.apk.zip
Screenshot ?
Sent from my GT-I9100 using XDA App
What exactly does this mod do? Change the lock screen wallpaper? That can be done via: menu > settings > display > screen display...
Rawat said:
What exactly does this mod do? Change the lock screen wallpaper? That can be done via: menu > settings > display > screen display...[/QU
Its not just changing the wallpaper, its making the lock screen transparent, really cool,
Click to expand...
Click to collapse
How to change lockscreen pernamently without buggy soft like widget locker? Or just add lockscreen like in CyanogenMod.
vtec303 said:
Its not just changing the wallpaper, its making the lock screen transparent, really cool,
Click to expand...
Click to collapse
Ah, noticed the part about transparency in the quote. Will give it a go later on.
Sent from my GT-I9100 using XDA App
anonymous572 said:
How to change lockscreen pernamently without buggy soft like widget locker? Or just add lockscreen like in CyanogenMod.
Click to expand...
Click to collapse
This relies on editing the smali code in firework.jar - not an easy task.
For galaxy s, someone pointed out what needs to be changed and write a guide, but it doesn't apply for this phone since the smali code has changed.
Sent from my GT-I9100 using XDA App
can't find zzzzzzzz_default_lockscreenw.xml on frameworkres.apk using KG3 ROM.
incomplete instructions!!! on purpose???
adioph said:
can't find zzzzzzzz_default_lockscreenw.xml on frameworkres.apk using KG3 ROM.
Click to expand...
Click to collapse
i believe the OP has a typo.. you should edit
zzz_keyguard_screen_lockscreenwallpaper.xml
zzzzzzzz_default_lockscreenw.xml does not exist on my phone either
then it will make sense..
download his zip and you'll see..
If this is supposed to give transparent lockscreen, it does not work.
Tried using all files in OPs framework-res.apk and still the same as before. No transparency. If it is supposed to do something else, please state what it is supposed to do.
gcrutchr said:
If this is supposed to give transparent lockscreen, it does not work.
Tried using all files in OPs framework-res.apk and still the same as before. No transparency. If it is supposed to do something else, please state what it is supposed to do.
Click to expand...
Click to collapse
i believe you need to have your lockscreen image edited as well. most likely use a .png and set the opacity to 70% (or more)
ogdobber said:
i believe you need to have your lockscreen image edited as well. most likely use a .png and set the opacity to 70% (or more)
Click to expand...
Click to collapse
That's the whole point nowhere does the op explain how to modify files to look for and accept .PNG files. I don't see any res file so I assumed to physically replace files in res folder. But framework keeps looking for JPEG therefore the mod is incomplete whether on purpose or ???
Sent from my GT-I9100
I haven't been able to get this to work either.
Has any one had any luck?
Would love this on my glass theme.
here my Standalone
View attachment 698984
Thx for that hack, I really love it!
But if you set an other transparent wallpaper as lockscreen it has a black background.
I've found a way to do it anyway.
Lg_X_Modderer said:
here my Standalone
View attachment 698984
Click to expand...
Click to collapse
Hello,
Sorry for being ignorant but will this mod work with Jkay 9.1 on the deodexed revolution rom so that I'll have a transparent lockscreen as in the LeoMar75 Revolution Theme Plus ??
Thanks for your help !!
Pierre
(reminder for myself : here is a post by LeoMar75 : http://forum.xda-developers.com/showpost.php?p=17034955&postcount=7918 ... not sure if/how it's relevant ...)
yes you just have to move everything deklomieren framework-res jpeg and delete the
How to apply the "standalone" mod ?
Thanks for your answer Lg_X_Modderer !
But I didn't really get how I should apply your "standalone" mod ??
I tried with cwm but it didn't work (lockscreen is still not transparent)
Thanks again for your help !
Is there not just something you can flash via CWM that will do this instead?
I followed the guide in the themes thread to make the status bar transparent. I decompiled classes.dex, made the smali edit, and recompiled with no problem but it doesn't matter what color I change the status bar_background.9 to, it is still solid black. Is there an XML that needs to be edited as well?? I'm running calk's 2.6 with overstew's ics 1.9.4. Thanks!
Sent from my SPH-D710 using xda premium
You have to use a launcher like zeam launcher which natively supports it or with adw, launcherpro, go launcher, and etc you can use multipicture live wallpaper. With ADW EX you can also disable wallpaper hack within ADW settings to also allow for the transparent statusbar.
Sent from my E4GT
eao1991 said:
You have to use a launcher like zeam launcher which natively supports it or with adw, launcherpro, go launcher, and etc you can use multipicture live wallpaper. With ADW EX you can also disable wallpaper hack within ADW settings to also allow for the transparent statusbar.
Sent from my E4GT
Click to expand...
Click to collapse
After I did this hack, I checked it with Go launcher with multi pic and adw with no luck. The weird thing is I then pushed the systemUI from the miui transparent status bar thread in the themes forum and much to my surprise, not only did it work with no FC's, I had a transparent status bar on go launcher with out multi pic. I'm thinking about just taking that apk and throwing all of my themed pngs in there and running that. I'm just frustrated I can't get it to work with my current systemUI.apk after editing it. That's why I wondered if there is something else within this apk (overstew's ics 1.9.4) that needs to be tweaked...
Sent from my SPH-D710 using xda premium
Can any of our talented themers please lend a hand here???
Something other than the .9 and statusbarservice.smali need to be edited for a transparent status bar? (Or anything other than pure black...) Thanks!
Sent from my SPH-D710 using xda premium
Not everybody at once now...
I figured it out. There IS an xml that needs to be edited in addition to the smali edit and swapping out the pngs. Thanks everyone!!
EDIT: And apparently you DO NOT have to use an alternative launcher. I'm using TW at the moment looking at my dark grey status bar with ICS blue trim...
VegasEvo4G said:
Not everybody at once now...
I figured it out. There IS an xml that needs to be edited in addition to the smali edit and swapping out the pngs. Thanks everyone!!
EDIT: And apparently you DO NOT have to use an alternative launcher. I'm using TW at the moment looking at my dark grey status bar with ICS blue trim...
Click to expand...
Click to collapse
Please provide me with the name of the xml file and what you edited. Thanks!
ROM Toolbox Pro is great for making subtle alterations to your Status Bar. It does indeed have a choice to make it transparent. You can find that setting under the "Icon" editor.
Sent from one impressive piece of technology.
And why don't he said the xml which must be edited ??? Anyone figure it out ??
just got back from a vacation. i'll update the tut in the next couple days with some more info.
the .xml edit to call a different status bar background is not needed but you can use it to call a non .9 png if making your own gives you trouble.
ill look at my notes this evening and point out the calls.
---------- Post added at 11:38 AM ---------- Previous post was at 11:25 AM ----------
just a quick check of my notes....
to call your own .png
(shouldn't be necessary)
try checking..
/res/layout/status_bar.xml
search for: com.android.systemui.statusbar.DateView
should look like this:
<com.android.systemui.statusbar.DateView android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:gravity="center|center" android:id="@id/date" android:background="@drawable/YOUR_IMAGE_NAME_HERE" androidaddingLeft="6.0px" androidaddingRight="6.0px" android:layout_width="fill_parent" android:layout_height="fill_parent" android:singleLine="true" />
replace the your_image_name_here with the name of the png you want to call
think it's statusbar_background by default.
can use a .9 or regular png
Reignzone said:
ROM Toolbox Pro is great for making subtle alterations to your Status Bar. It does indeed have a choice to make it transparent. You can find that setting under the "Icon" editor.
Sent from one impressive piece of technology.
Click to expand...
Click to collapse
Still don't see how this is possible to change the transparency in Rom Toolbox Pro.
Transparent Status Bar
shepscrook said:
Still don't see how this is possible to change the transparency in Rom Toolbox Pro.
Click to expand...
Click to collapse
On Rom Toolbox Pro, go to Interface, then find the button for Status Bar Icons. Tap on that, then tap on Status Bar Color. From there, you can pick the color, then install it. Hope this helped.
Hello!
I have a problem with this. I tried some modyficationc for example from x10 and nothing. When i replace SystemUI.apk and reboot i can't see status bar.
Can you help me? Any ideas to solve this problem?
Wrong thread
And flash a notification mod for your phone firmware .62 .42 from themes and apps
Sent from my MT15i using xda premium
Sorry.
I saw this topic but this mod is for CM7. I need mod for stock rom.
Michal1994 said:
Sorry.
I saw this topic but this mod is for CM7. I need mod for stock rom.
Click to expand...
Click to collapse
Can't mod stock rom with centre clock on status bar
Sent from my LT15/18i-Dimiui using xda premium
yes you can,cause its only playing with statusbar.xml,im still trying to modify it,but still no luck
Sorry chiefy, had to prove you wrong buddy, no offence meant!
Sent from my MT15i using xda premium
if some of you have successful apply it can you share your systemui.apk,im really give up on this mod,i dont know whats wrong,i follow all the instructions but still cant get it works on cm7
from the ARC
I will PM you it later, little busy atm
Sent from my MT15i using xda premium
can you please make one with larger clock? something thats almost the same size as the icons?
Hmmm I doubt it, it would involve changing tge whole status bar...
Sent from my MT15i using xda premium
waynekirby said:
Hmmm I doubt it, it would involve changing tge whole status bar...
Click to expand...
Click to collapse
absolutely no,just a simple edit it xml will do,but you should know how to decompile and rebuild without error
from the ARC
rashid.fairus said:
absolutely no,just a simple edit it xml will do
from the ARC
Click to expand...
Click to collapse
We have this in our roms thanks we meaning wayne know how this is done its easy and no it would look crap with a bigger clock so wayne is right it would not work and as for our status bar you can't just use it in any rom it has dependants
" ,but you should know how to decompile and rebuild without error" lol
Sent from my MT15i using Tapatalk
changing the size is easy guys just add a text size to the xml.
if that dont work then it is set in the smali and that is easy to override aswell.
also for ****z n giggle i did a quick search
fount this
http://forum.xda-developers.com/showthread.php?t=1227869
this has what you have to do to center the clock (in the x10 section)
also (as per team rom) if you are using a custom front i found that you need to change the size of the clock ( so i made it variable ) for an idea of what we you can welcome to check out our files
@kormatoes every one likes different sizes, i like a tiny weeny clock, my GF likes to to take up 90% of her screen (shes a bit blind) and personal preference is everything
to change the size of it in xml this is whaqt to change (stole the snipit of code from another thread but it does the trick)
Code:
<com.android.systemui.statusbar.Clock android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:gravity="center" android:paddingLeft="132.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
Add this to it
Code:
android:textSize="[B][COLOR="Red"]18dip[/COLOR][/B]"
change the red part to suit your needs
so in the end it now looks like this
Code:
<com.android.systemui.statusbar.Clock [B]android:textSize="[B][COLOR="Red"]18dip[/COLOR][/B]"[/B] android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:gravity="center" android:paddingLeft="132.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
Basically you have over ridden the style size from the framework so there will be no funny business s any where else
**EDIT** - also bare in mind this size stuff WILL NOT work on the TEAM roms as ours is set from our tweaks menu.
Pvy.
pvyParts said:
changing the size is easy guys just add a text size to the xml.
if that dont work then it is set in the smali and that is easy to override aswell.
also for ****z n giggle i did a quick search
fount this
http://forum.xda-developers.com/showthread.php?t=1227869
this has what you have to do to center the clock (in the x10 section)
also (as per team rom) if you are using a custom front i found that you need to change the size of the clock ( so i made it variable ) for an idea of what we you can welcome to check out our files
@kormatoes every one likes different sizes, i like a tiny weeny clock, my GF likes to to take up 90% of her screen (shes a bit blind) and personal preference is everything
to change the size of it in xml this is whaqt to change (stole the snipit of code from another thread but it does the trick)
Code:
Add this to it
Code:
android:textSize="[B][COLOR="Red"]18dip[/COLOR][/B]"
change the red part to suit your needs
so in the end it now looks like this
Code:
Basically you have over ridden the style size from the framework so there will be no funny business s any where else
**EDIT** - also bare in mind this size stuff WILL NOT work on the TEAM roms as ours is set from our tweaks menu.
Pvy.
Click to expand...
Click to collapse
Your crule I don't condone picking on you partner in any way or form lol
( I'm adding whether into my ics )
But for center clock with out decompile / reconpile
Find a center clock for gingerbread get se tweaked
Ics one is floating round
Open
Take
Get statusbarxml
And
(status bar expanded XML) and replace them in your systemui Res layouts
(Quick way))))))
Back up ya stuff first
Sent from my MT15i using Tapatalk
Hey guys. Here's an Elegant White Theme for the new Sprint ND8 update. I thought I'd share it here since there were some folks who liked it back on MK3. There are a few minor little things that are still wip, since Samsung changed some things around in the ND8 framework. All icons are from stock TW but I'm working on another zip which will include icons from the WPX MK3 roms. Thanks to @bilgerryan, @dazednconfused and the rest of TeamWicked for allowing me to use them. I hope you all enjoy.
Included Apk's
framework
twframework
SecSettings
SecMms
SecContacts_OSup
SecPhone
SecNoteMyFiles
SecLauncher2
MusicPlayerWT
SecGallery2013 - wip
ClockPackage_OSup
MusicCommonUtility
SecBrowser_SPR
SecDownloadProviderUi_2
JobManager
SecCalendar_NAmerica
SamsungIME
SamsungCamera
Make sure to back up your existing rom. Download zip and place in either internal or external sdcard. Boot into recovery, wipe cache and dalvik cache and install zip.
Download link:
6/4 V2: http://www.androidfilehost.com/?fid=23501681358542721 5/29 V1: http://www.androidfilehost.com/?fid=23501681358540121
5/31 Updated SecSettings - Now included in V2
Fixes wifi connection dialog text
Push to system/priv-app, change permissions to rw-r-r and reboot
http://www.androidfilehost.com/?fid=23501681358540473
Changelog:
V1
Initial release
V2
Corrected some menu dropdown panels, menu hardkey panels and texts which affect 3rd party apps.
Corrected texts affected when installing certain Wanam mods
Includes S5 Mms
Reserved for screenshots
Great job.I was waiting for this
mholloway said:
Great job.I was waiting for this
Click to expand...
Click to collapse
Thanks man. It's been a little frustrating trying to get this one to look just like the MK3 release. Samsung changed a few things around in framework. I haven't been able to figure out one text in particular because it definitely affects the text in some 3rd party apps. As always, thanks for supporting the theme!
nyfl2004 said:
Thanks man. It's been a little frustrating trying to get this one to look just like the MK3 release. Samsung changed a few things around in framework. I haven't been able to figure out one text in particular because it definitely affects the text in some 3rd party apps. As always, thanks for supporting the theme!
Click to expand...
Click to collapse
Can you tell me where and what file changes the settings background.
edit -reason I am asking I have a white carbon fiber pic .maybe can be used instead of just white.?
mholloway said:
Can you tell me where and what file changes the settings background.
edit -reason I am asking I have a white carbon fiber pic .maybe can be used instead of just white.?
Click to expand...
Click to collapse
No problem. Go into framework-res/drawable and look for the following 2 xml's: tw_screen_background_selector_dark and tw_screen_background_selector_light. You can also control them in framework-res//res/values/styles.xml.
Edit: Those 2 xml's will actually direct you to "tw_background_holo_dark" and "tw_background_holo_light". Since you want to use a png image, you're going to have to add your png to the drawable folder and then edit the following xml lines:
framework-res/drawable/tw_background_holo_dark/
xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="#ff000000" /> change this this line to the name of your png. Example: "@drawable/framework_background"
framework-res/drawable/tw_background_holo_light/
xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="#ffffffff" /> change this line to the name of your png
Example: "@drawable/framework_background"
nyfl2004 said:
No problem. Go into framework-res/drawable and look for the following 2 xml's: tw_screen_background_selector_dark and tw_screen_background_selector_light. You can also control them in framework-res//res/values/styles.xml.
Edit: Those 2 xml's will actually direct you to "tw_background_holo_dark" and "tw_background_holo_light". Since you want to use a png image, you're going to have to add your png to the drawable folder and then edit the following xml lines:
framework-res/drawable/tw_background_holo_dark/
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/screen_background_dark" android:state_accelerated="false" />
<item android:drawable="@drawable/tw_background_holo_dark" /> change this line to the name of your png
framework-res/drawable/tw_background_holo_light/
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/screen_background_light" android:state_accelerated="false" />
<item android:drawable="@drawable/tw_background_holo_light" /> change this line to the name of your png
</selector>
Click to expand...
Click to collapse
Man... thanks.
mholloway said:
Can you tell me where and what file changes the settings background.
edit -reason I am asking I have a white carbon fiber pic .maybe can be used instead of just white.?
Click to expand...
Click to collapse
Wow, what a mess I made of that. It should be correct now. Sorry for all the changes..
Edit: This is what it should look like..
framework-res/drawable/tw_background_holo_dark/
xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="#ff000000" /> change this this line to the name of your png. Example: "@drawable/framework_background"
framework-res/drawable/tw_background_holo_light/
xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="#ffffffff" /> change this line to the name of your png
Example: "@drawable/framework_background"
nyfl2004 said:
Wow, what a mess I made of that. It should be correct now. Sorry for all the changes..
Edit: This is what it should look like..
framework-res/drawable/tw_background_holo_dark/
xmlns:android="http://schemas.android.com/apk/res/android">
change this this line to the name of your png. Example: "@drawable/framework_background"
framework-res/drawable/tw_background_holo_light/
xmlns:android="http://schemas.android.com/apk/res/android">
change this line to the name of your png
Example: "@drawable/framework_background"
Click to expand...
Click to collapse
What do you use to edit the xml. Notepad++ ? It won't doit for me.just opens to one line across the top in notepad++.???
This is the pic
mholloway said:
What do you use to edit the xml. Notepad++ ? It won't doit for me.just opens to one line across the top in notepad++.???
Click to expand...
Click to collapse
Yes, I always use Notepad++. Do you have a screenshot?
Of the pic .already posted it above
Sent from my SPH-L710 using Tapatalk
mholloway said:
What do you use to edit the xml. Notepad++ ? It won't doit for me.just opens to one line across the top in notepad++.???
This is the pic
Click to expand...
Click to collapse
Give me a little bit. I'll give it a shot. The Heat game is on. They're destroying Indiana...
nyfl2004 said:
Give me a little bit. I'll give it a shot. The Heat game is on. They're destroying Indiana...
Click to expand...
Click to collapse
Lol.ok cool.I appreciate that.
Awesome work buddy. 2nd time doing the hardest theme. Glad you kept at it. You must know every line and PNG in this theme by heart by now. Too notch.
[email protected]'$ [email protected]@XY- Screw the Canadiens
Thebear j koss said:
Awesome work buddy. 2nd time doing the hardest theme. Glad you kept at it. You must know every line and PNG in this theme by heart by now. Too notch.
[email protected]'$ [email protected]@XY- Screw the Canadiens
Click to expand...
Click to collapse
Thanks brother. It's definitely gotten easier this time around. Although, Samsung got a little tricky with this release. I think they were a little peeved that we managed to invert MK3. Lol
mholloway said:
Lol.ok cool.I appreciate that.
Click to expand...
Click to collapse
Here you go brother. I hope this is helps.
https://www.dropbox.com/s/kcfrju178fhgcu1/framework-res.apk
nyfl2004 said:
Here you go brother. I hope this is helps.
https://www.dropbox.com/s/kcfrju178fhgcu1/framework-res.apk
Click to expand...
Click to collapse
Your awesome.I will download and check it out.thank you.
mholloway said:
Your awesome.I will download and check it out.thank you.
Click to expand...
Click to collapse
No worries man. I'll hit you up with some thanks tomorrow. No more left for today. Lol
nyfl2004 said:
No worries man. I'll hit you up with some thanks tomorrow. No more left for today. Lol
Click to expand...
Click to collapse
No need to give me thanks.
Not bad.I maybe should of got a different white carbon pic, but still I think is awesome. Thanks again.this is cool.
Sent from my SPH-L710 using Tapatalk
Thanks, loving the theme...
Can can you use S5 mms, phone in the next version?
Sent from my kd2att using Tapatalk
Credit goes to @naheel azawy here - https://forum.xda-developers.com/crossdevice-dev/sony/guide-add-xperia-battery-icon-to-cm-t3145852 - I just adjusted it. Tested on Xc with stock 7.1.1...
- Decompile SystemUI
- Download zip in above link and copy files to appropriate directories
- Open /res/layout/system_icons.xml
- Find
Code:
<com.sonymobile.systemui.BatteryLevelView
And change the rest of that line to
Code:
android:background="@drawable/somc_sys_battery_percent_am" android:textSize="@dimen/battery_level_text_size" android:textColor="#ffffffff" android:layout_gravity="center" android:paddingLeft="6.0dip" android:paddingTop="6.0dip" android:id="@id/battery_level" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:importantForAccessibility="noHideDescendants" android:paddingEnd="@dimen/battery_level_padding" />
- Open /res/values/dimens.xml
- Find 'status_bar_battery_icon_height'
'status_bar_battery_icon_width'
'battery_height'
'battery_width'
and change them all to '0.0dip'
- Find 'battery_level_text_size'
and change it to '9.0dip'
Recompile and sign and push..
Notes:
- There will be no battery icon in quick settings, (battery tile will be there with percentage, but no icon, [alternate values in next post solve this, if interested]).
- If you use GravityBox, the text alignment will be off. I modded my GravityBox apk to fix it. Apk is attached.
- I could make a flashable zip, but my SystemUI is modded dark, and wouldn't look right on others. If you upload a stock SystemUI apk, maybe I'll have a chance to do it.
Variation :
'status_bar_battery_icon_height' - 14.0dip
'status_bar_battery_icon_width' - 2.0dip
'battery_height' - 14.0dip
'battery_width' - 2.0 dip
This way you get an icon in quick settings, and there's a functioning meter next to battery icon, as well as a charging indicator.
Variation 2:
Change 'battery_level_text_size' in dimens.xml back to default, (I think 12.0dip) and change 'paddingTop' in system_icons.xml, (the part that is modded in op), from 6.0dip to 4.0dip. This will keep text bigger and easier to see,but also centered. Then change the next line to
Code:
<com.android.systemui.BatteryMeterView [COLOR=red]android:background="#ffd50000"[/COLOR] android:id="@id/battery" 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" />
, adding a background color.
This will add a colored background to the part of the battery that's drained, (Screenshot 3). If you want a different color, just change 'ffd50000' to whatever...
Variation 3:
I made battery icon width 4dip, instead of 2dip, because it looks sloppy when charging, since the charging bolt breaks up the animation. Also used a png image for background, (android:background="@drawable/[filename]", instead of android:background="#[color value]") - screenshots 4 and 5.
It is amazing . I will upload my systemUI. So please help me to do it. Thinks a lot.
phoenix.xie said:
It is amazing . I will upload my systemUI. So please help me to do it. Thinks a lot.
Click to expand...
Click to collapse
Try this and let me know, (flash in recovery - make a backup first)... Your Systemui is deodexed. Is it a custom rom, or did you deodex? Also, some of the stock values were different than mine. Which phone is it?
@levone1 buddy does tha battery tint so on white background its black n on normal background its white.... Or can yhu tell me how to tint status bar icons?
Thanks.... Might give dis mod a try!
Also there is a straight thick line besides tha battery icon to tha right, whats dat?
[/IMG]
levone1 said:
Try this and let me know, (flash in recovery - make a backup first)... Your Systemui is deodexed. Is it a custom rom, or did you deodex? Also, some of the stock values were different than mine. Which phone is it?
Click to expand...
Click to collapse
My phone is xperia XP (F8132).. I use the custom rom base on stock 41.2.A.7.76. The rom is from http://bbs.gfan.com/android-9203561-1-1.html
After I flashed the ZIP. It works great. But something is not perfect. Look my Screenshot.. I think the bettary icon emmm. I don't know how to explain it.
The new Z icon is on the old icon left. The bottom of the new icon is a bit higher than the old Icon.
It doesnt work here buddy... Battery icon is differs!
Stock Nougat based rom 7.1.1
Xperia Z5
phoenix.xie said:
[/IMG]
My phone is xperia XP (F8132).. I use the custom rom base on stock 41.2.A.7.76. The rom is from http://bbs.gfan.com/android-9203561-1-1.html
After I flashed the ZIP. It works great. But something is not perfect. Look my Screenshot.. I think the bettary icon emmm. I don't know how to explain it.
The new Z icon is on the old icon left. The bottom of the new icon is a bit higher than the old Icon.
View attachment 4395477
Click to expand...
Click to collapse
I see What you mean. Easy to adjust. I'll take a look at it. Your dimens.xml had a few '.5's in there that mine didn't have...
whalesplaho said:
@levone1 buddy does tha battery tint so on white background its black n on normal background its white.... Or can yhu tell me how to tint status bar icons?
Thanks.... Might give dis mod a try!
Also there is a straight thick line besides tha battery icon to tha right, whats dat?
Click to expand...
Click to collapse
The stock Sony files do that, but the one I added is just a png, so the outline will stay white, but the middle is a grey shadow color, so you still see the shape. (Screenshot). There's probably a way to apply a tint change, but haven't tried. Maybe I'll take a look, or someone else knows better...
The line on the side is 2px of the stock battery meter showing. Read post 2 for explanation. You can follow post 1 if you don't want that there. It's just a way to see the battery meter, if you want, and make there be a qs icon.
whalesplaho said:
It doesnt work here buddy... Battery icon is differs!
Stock Nougat based rom 7.1.1
Xperia Z5
Click to expand...
Click to collapse
Do you have a different Xposed module controlling icons? I made a mod for GravityBox, but haven't used any others. Modules use their own files...
phoenix.xie said:
[/IMG]
My phone is xperia XP (F8132).. I use the custom rom base on stock 41.2.A.7.76. The rom is from http://bbs.gfan.com/android-9203561-1-1.html
After I flashed the ZIP. It works great. But something is not perfect. Look my Screenshot.. I think the bettary icon emmm. I don't know how to explain it.
The new Z icon is on the old icon left. The bottom of the new icon is a bit higher than the old Icon.
View attachment 4395477
Click to expand...
Click to collapse
Try this...
levone1 said:
Do you have a different Xposed module controlling icons? I made a mod for GravityBox, but haven't used any others. Modules use their own files...
Click to expand...
Click to collapse
I think its a prob from my side... Will double check again.!
---------- Post added at 02:26 PM ---------- Previous post was at 02:05 PM ----------
levone1 said:
The stock Sony files do that, but the one I added is just a png, so the outline will stay white, but the middle is a grey shadow color, so you still see the shape. (Screenshot). There's probably a way to apply a tint change, but haven't tried. Maybe I'll take a look, or someone else knows better...
The line on the side is 2px of the stock battery meter showing. Read post 2 for explanation. You can follow post 1 if you don't want that there. It's just a way to see the battery meter, if you want, and make there be a qs icon.
Click to expand...
Click to collapse
Im okay with tha post 2 so i can have qs tile and also tha battery too is okay....
But is it possible to make tha battery percent inside tha battery icon shifted to tha center and also shift tha battery icon up a bit so as to align in tha middle.
Thanks....
whalesplaho said:
I think its a prob from my side... Will double check again.!
---------- Post added at 02:26 PM ---------- Previous post was at 02:05 PM ----------
Im okay with tha post 2 so i can have qs tile and also tha battery too is okay....
But is it possible to make tha battery percent inside tha battery icon shifted to tha center and also shift tha battery icon up a bit so as to align in tha middle.
Thanks....
Click to expand...
Click to collapse
Padding varies from device to device. Show me screen shot, and I can give you tips..
..
whalesplaho said:
@levone1 buddy does tha battery tint so on white background its black n on normal background its white.... Or can yhu tell me how to tint status bar icons?
Click to expand...
Click to collapse
Usually you can just add 'android:tint="...' to xml line, but since status bar is set to change dynamically, I don't think it would work, (I did a few tests and they crashed SystemUI; might be bad code [I'm not an expert] but I have a feeling it clashes with stock status bar code). Stock programming is too advanced for me. I know nothing about Java and almost nothing about smali.
Theoretically, you should be able to change the stock battery meter drawable, but I can't find it, plus it's probably a vector or something, not a png, so again, over my head.
One workaround would be to color the png to a color that's pretty likely to show on most backgrounds.
Maybe others have input...?
levone1 said:
Padding varies from device to device. Show me screen shot, and I can give you tips..
Click to expand...
Click to collapse
My bad. Thought i uploaded screenshot.
Thanks.
levone1 said:
Usually you can just add 'android:tint="...' to xml line, but since status bar is set to change dynamically, I don't think it would work, (I did a few tests and they crashed SystemUI; might be bad code [I'm not an expert] but I have a feeling it clashes with stock status bar code). Stock programming is too advanced for me. I know nothing about Java and almost nothing about smali.
Theoretically, you should be able to change the stock battery meter drawable, but I can't find it, plus it's probably a vector or something, not a png, so again, over my head.
One workaround would be to color the png to a color that's pretty likely to show on most backgrounds.
Maybe others have input...?
Click to expand...
Click to collapse
Yeap buddy i understand... Maybe others can help too!
Thank you.
whalesplaho said:
My bad. Thought i uploaded screenshot.
Thanks.
Click to expand...
Click to collapse
Are you using GravityBox? I attached a modded version to op. Did you install that one?
If you're not using GravityBox, go back to 'system_icons.xml' and change
Code:
<com.sonymobile.systemui.BatteryLevelView android:background="@drawable/somc_sys_battery_percent_am" android:textSize="@dimen/battery_level_text_size" android:textColor="#ff4ec3f7" android:layout_gravity="center" android:paddingLeft="6.0dip" android:paddingTop="4.0dip" android:id="@id/battery_level" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:importantForAccessibility="noHideDescendants" android:paddingEnd="@dimen/battery_level_padding" />
to
Code:
<com.sonymobile.systemui.BatteryLevelView android:background="@drawable/somc_sys_battery_percent_am" android:textSize="@dimen/battery_level_text_size" android:textColor="#ff4ec3f7" android:layout_gravity="center" [COLOR=red]android:paddingLeft="8.0dip"[/COLOR] [COLOR=red]android:paddingTop="3.0dip"[/COLOR] android:id="@id/battery_level" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:importantForAccessibility="noHideDescendants" android:paddingEnd="@dimen/battery_level_padding" />
(See changes in red)
If you already have modded GravityBox, let me know. Easy to adjust...
whalesplaho said:
My bad. Thought i uploaded screenshot.
Thanks.
Click to expand...
Click to collapse
Also, if you adjust your 'status_bar_battery_icon_height' and 'battery_height' values in dimens.xml, (maybe 1 or 2 smaller), the battery meter on the side won't stick out so much off the top and bottom.
levone1 said:
Are you using GravityBox? I attached a modded version to op. Did you install that one?
If you're not using GravityBox, go back to 'system_icons.xml' and change
Code:
<com.sonymobile.systemui.BatteryLevelView android:background="@drawable/somc_sys_battery_percent_am" android:textSize="@dimen/battery_level_text_size" android:textColor="#ff4ec3f7" android:layout_gravity="center" android:paddingLeft="6.0dip" android:paddingTop="4.0dip" android:id="@id/battery_level" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:importantForAccessibility="noHideDescendants" android:paddingEnd="@dimen/battery_level_padding" />
to
Code:
<com.sonymobile.systemui.BatteryLevelView android:background="@drawable/somc_sys_battery_percent_am" android:textSize="@dimen/battery_level_text_size" android:textColor="#ff4ec3f7" android:layout_gravity="center" [COLOR=red]android:paddingLeft="8.0dip"[/COLOR] [COLOR=red]android:paddingTop="3.0dip"[/COLOR] android:id="@id/battery_level" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:importantForAccessibility="noHideDescendants" android:paddingEnd="@dimen/battery_level_padding" />
(See changes in red)
If you already have modded GravityBox, let me know. Easy to adjust...
Click to expand...
Click to collapse
I have adjust tha paddingTop dip and paddingLeft dip too.... Recompiling!!!
I dnt use GravityBox brov.
Thanks.
---------- Post added at 05:57 PM ---------- Previous post was at 05:55 PM ----------
levone1 said:
Also, if you adjust your 'status_bar_battery_icon_height' and 'battery_height' values in dimens.xml, (maybe 1 or 2 smaller), the battery meter on the side won't stick out so much off the top and bottom.
Click to expand...
Click to collapse
I adjusted to 14.0dip and 2.0dip as yhu posted brov... Do i need change too?