Status bar clock on the left without xposed? - Nexus 5 Q&A, Help & Troubleshooting

So ATM I use Wanam Kit for one and only one thing. Which is to move my status bar clock to the left. I also have gravitybox installed and I'm on cyanogenmod 11 M9 lol but they all only give the option to hide the clock or center it. Now yesterday I saw someone talking about a way to edit something so you could permanently center the status bar clock. I was hoping someone could tell me how to do the same but to place it on the left. This way I can uninstall an entire xposed module pact with functions I don't use! Thanks

Dracrius said:
So ATM I use Wanam Kit for one and only one thing. Which is to move my status bar clock to the left. I also have gravitybox installed and I'm on cyanogenmod 11 M9 lol but they all only give the option to hide the clock or center it. Now yesterday I saw someone talking about a way to edit something so you could permanently center the status bar clock. I was hoping someone could tell me how to do the same but to place it on the left. This way I can uninstall an entire xposed module pact with functions I don't use! Thanks
Click to expand...
Click to collapse
Decompile SystemUI/framework and modify it, or change it before building from source.

Lethargy said:
Decompile SystemUI/framework and modify it, or change it before building from source.
Click to expand...
Click to collapse
OK perfect but what would I be changing I wouldn't even know where to begin to start to look. I know some basic java from a couple years of college but I've never modded or coded for android yet.
Sent from my Nexus 5

Dracrius said:
OK perfect but what would I be changing I wouldn't even know where to begin to start to look. I know some basic java from a couple years of college but I've never modded or coded for android yet.
Sent from my Nexus 5
Click to expand...
Click to collapse
Numerous guides can be found if Google'd

Yup. I've done this mod myself before. Google "center clock mod android" and variations of the like and you'll find some tuts. It's going to be an XML file, probably status_bar.xml which I believe is in res/layout. If you're not familiar with decompiling, editing and recompiling APK files it's going to take you a while but it's worth to know how to do it anyway.

Related

[REQ] Inverse Notification Icon Color (Black Status Bar)

I was wondering if there is a way to reverse icon colors in the status bar. I just downloaded a black status bar and a lot of the icons blend into the black bar (if that makes sense).
If anyone can help me out, thanks. I don't know anything at all about coding and very little about the root process, so a Metamorph option would be the easiest way for me, although I can figure out theming.
Maybe you like those...http://forum.cyanogenmod.com/topic/...tatusbar-icons/page__view__findpost__p__33425
rori~ said:
Maybe you like those...http://forum.cyanogenmod.com/topic/...tatusbar-icons/page__view__findpost__p__33425
Click to expand...
Click to collapse
I saw those. I wasn't quite sure if it changes the Messaging, Gmail, Voice and other icons since all I see is the USB and USB Tethering icons. Do you know if those are changed?
Haven´t checked that...best, open file and have a look before you morph.
rori~ said:
Haven´t checked that...best, open file and have a look before you morph.
Click to expand...
Click to collapse
Wow that is a great idea. I never thought of that haha (still brand new to this stuff). Well, unfortunately it doesn't have icons for Messaging, Gmail and a few others. Thanks for the idea though. Now I know I can check.
Any other ideas?
Anyone know of anything else to do?
Shameless bump because I really want this.
There is a desire morph around somewhere, locate the files or images you want and I can make a morph, just need to know what rom and icons.
Also bumping. Now that CM has theming, I think someone should have one out.
Use ninja morph and inverse the images u want in framework-res.apk ...really easy
Sent from my Nexus One using XDA App
Made this one a while back...
http://forum.xda-developers.com/showthread.php?t=766561
martin0285 said:
Use ninja morph and inverse the images u want in framework-res.apk ...really easy
Sent from my Nexus One using XDA App
Click to expand...
Click to collapse
I checked out ninja morph. You're right, it does exactly what you said...EXCEPT you have to modify every icon individually, which ends up being an enormous pain.
Also, I could have missed something but how do you inverse icons directly on the phone? I looked around and still couldnt find anything. Ended up transfering them to the pc and editing them from there.
In the end, I'm just amazed that android doesn't have a unified icon / theming system yet. To edit messages, you have to go in to mms.apk (took me forever to figure that one out), to edit gmail you have to look in gmail.apk, system icons were in framework, etc. What a pain.

[Q] XML edit questions

Okay so I am slowly diving into theming and decided to look into some XML edits. My goal is to make some edits to the status bar and move the clock to the center, notification icons to the right, and signal and battery icons to the left. Here are the steps that I took:
1. Using APK Manager, I placed the SystemUI.apk from Humble 5.0 in the place-apk-here-for-modding folder
2. Selected the apk using TWframework-res as a dependency and then decompiled systemui.
3. Navigated to projects/SystemUI.apk/res/layout and clicked edit on the status_bar XML file.
4. Went to the line containing com.android.systemui.statusbar.IconMerger and changed androidaddingLeft="6.0dip" to Right and changed android:layout_alignParentLeft="true" to Right
5. Changed the line containing android:id="@id/statusIcons from androidaddingRight="6.0dip" to Left and changed android:layout_alignParentRight="true" to Left.
6.Changed the line containing com.android.systemui.statusbar.Clock from androidaddingLeft="6.0dip" to Center and left the rest of the line alone.
Can anyone with more knowledge of XML edits help shed some light on whether or not this will do what I am looking to accomplish or if there is more to it than making these little changes? I'd eventually like to find a way to move the status bar to the bottom of the screen similar to the Nook Color but I gotta take this one step at a time, haha. Any insight is more than appreciated!
Lockett said:
Okay so I am slowly diving into theming and decided to look into some XML edits. My goal is to make some edits to the status bar and move the clock to the center, notification icons to the right, and signal and battery icons to the left.
Click to expand...
Click to collapse
You need to change a lot more than just that. Give me a few minutes and I'll link you to a guide. I was able to use this guide to get the following changes:
Centered clock
Icons on the left
Notifications on the right
Only problem with my results is that the notifications overlapped the clock.
Here's the guide:
http://forum.xda-developers.com/showthread.php?t=1361715
Make sure you "thank" TheGrammarFreak for the write up!
Sent from my SCH-I510 using Tapatalk
spc_hicks09 said:
You need to change a lot more than just that. Give me a few minutes and I'll link you to a guide. I was able to use this guide to get the following changes:
Centered clock
Icons on the left
Notifications on the right
Only problem with my results is that the notifications overlapped the clock.
Here's the guide:
http://forum.xda-developers.com/showthread.php?t=1361715
Make sure you "thank" TheGrammarFreak for the write up!
Sent from my SCH-I510 using Tapatalk
Click to expand...
Click to collapse
Yeah. The only way around this is to give the notification icons a background color instead of having them just be transparent.
Endless2232 said:
Yeah. The only way around this is to give the notification icons a background color instead of having them just be transparent.
Click to expand...
Click to collapse
Hey if you're available I'm gonna hit you up on gtalk sometime tomorrow cuz I need some serious help with this statusbar background lol. I can't get anything to work haha.
Sent from my SCH-I510 using Tapatalk
Yea I figured it was much more involved. Thanks for the link spc, I'll post up a screenshot once I figure all this out. Once I get the hang of this I may even try to get notification icons to work using Statusbar+. I think its very clean looking and, since I'm going for the WP7 look, it's a WP7 status bar but doesn't support notifications.
Sent from my SCH-I510 using XDA App
spc_hicks09 said:
You need to change a lot more than just that. Give me a few minutes and I'll link you to a guide. I was able to use this guide to get the following changes:
Centered clock
Icons on the left
Notifications on the right
Only problem with my results is that the notifications overlapped the clock.
Here's the guide:
http://forum.xda-developers.com/showthread.php?t=1361715
Make sure you "thank" TheGrammarFreak for the write up!
Sent from my SCH-I510 using Tapatalk
Click to expand...
Click to collapse
yeah thats about as close you can get to center clock mod without diving into smali
the mod used in tsm parts and other apps like that is different and puts the clock in the center in a different fashion and doesnt overlap, but will still be present when u use the pulldown
Lockett said:
Yea I figured it was much more involved. Thanks for the link spc, I'll post up a screenshot once I figure all this out. Once I get the hang of this I may even try to get notification icons to work using Statusbar+. I think its very clean looking and, since I'm going for the WP7 look, it's a WP7 status bar but doesn't support notifications.
Sent from my SCH-I510 using XDA App
Click to expand...
Click to collapse
Let me know if you figured it out. If not I can let you know how to do it.
Please use the Q&A Forum for questions Thanks
Moving to Q&A

battery back to images, please dev`s port this

Some one manage to turn kitkat battery back into icons by modding system ui, i bet a lot of us here would love to have this. i will even donate for this asap thankyou to whomever takes the challenge i tried my self but just couldnt get it right
http://forum.xda-developers.com/showthread.php?t=2628560
Great news!
sent from Nexus 5
good idea
I spent a lot of time for searching everywhere to find the way to mod the Imaged Battery. I hope that dev will release a guide to mod this :good:
I must be missing something, but aren't there various Xposed modules that can do this? Gravitybox, Wanam etc?
CitizenLee said:
I must be missing something, but aren't there various Xposed modules that can do this? Gravitybox, Wanam etc?
Click to expand...
Click to collapse
Not in 4.4.2.
Aswin08 said:
Not in 4.4.2.
Click to expand...
Click to collapse
I'm on 4.4.2 and can change my battery icon, either using Gravity box of the statusbar settings within Purity itself.
XBlast Tools module can do it too.
I guess the problem with Xposed is if you want to use ART.
CitizenLee said:
I must be missing something, but aren't there various Xposed modules that can do this? Gravitybox, Wanam etc?
Click to expand...
Click to collapse
I'm with you on this, I think either I'm missing something badly, or everyone here just moved out from under a rock the last few months... lol
lol someone must be living under a rock
CitizenLee said:
I'm on 4.4.2 and can change my battery icon, either using Gravity box of the statusbar settings within Purity itself.
XBlast Tools module can do it too.
I guess the problem with Xposed is if you want to use ART.
Click to expand...
Click to collapse
I dont understand what you are talking about.You cant theme the stock battery icon in KK. Even Theme engine or xposed couldnt do that so far.
Only you can get that Ring style battery or the stock one and not like earlier android versions.
"The battery signal of statusbar on KitKat Firmware is not images but coded one.
That is one of Google's operations in Android 4.4, but make difficulties with theming or customising.
So I modified it back to images to be possible for the methods that you have used on Android 4.3"
Aswin08 said:
I dont understand what you are talking about.You cant theme the stock battery icon in KK. Even Theme engine or xposed couldnt do that so far.
Only you can get that Ring style battery or the stock one and not like earlier android versions.
"The battery signal of statusbar on KitKat Firmware is not images but coded one.
That is one of Google's operations in Android 4.4, but make difficulties with theming or customising.
So I modified it back to images to be possible for the methods that you have used on Android 4.3"
Click to expand...
Click to collapse
These are the options in Purity, GravityBox and XBlast...
CitizenLee said:
These are the options in Purity, GravityBox and XBlast...
Click to expand...
Click to collapse
Why dont u read my post or the op clearly?
"Only you can get that Ring style battery or the stock one and not like theming in earlier android versions.
"The battery signal of statusbar on KitKat Firmware is not images but coded one.
That is one of Google's operations in Android 4.4, but make difficulties with theming or customising.
So he modified it back to images to be possible for the methods that you have used on Android 4.3"
If you still want to prove what you said is correct,than ok let it remain like that. :good:
Aswin08 said:
Why dont u read my post or the op clearly?
"Only you can get that Ring style battery or the stock one and not like theming in earlier android versions.
"The battery signal of statusbar on KitKat Firmware is not images but coded one.
That is one of Google's operations in Android 4.4, but make difficulties with theming or customising.
So he modified it back to images to be possible for the methods that you have used on Android 4.3"
If you still want to prove what you said is correct,than ok let it remain like that. :good:
Click to expand...
Click to collapse
Calm down, I wasn't trying to prove anything... only trying to help by showing the current options for battery icons.
No need for the passive aggression
Aswin08 said:
I dont understand what you are talking about.You cant theme the stock battery icon in KK. Even Theme engine or xposed couldnt do that so far.
Only you can get that Ring style battery or the stock one and not like earlier android versions.
"The battery signal of statusbar on KitKat Firmware is not images but coded one.
That is one of Google's operations in Android 4.4, but make difficulties with theming or customising.
So I modified it back to images to be possible for the methods that you have used on Android 4.3"
Click to expand...
Click to collapse
thankyou they must sleeping under a grave
CitizenLee said:
Calm down, I wasn't trying to prove anything... only trying to help by showing the current options for battery icons.
No need for the passive aggression
Click to expand...
Click to collapse
No offence mate.
del
del

Changing the navbar size

I'm currently on cleanrom and my navbar is just to big. One of my favorite things about viper was the ability to adjust the height. I haven't found a way to do that in cleanrom without breaking ART by enabling closed, which I really don't want to do.
Anyone know of any apps or edits I can do to change this?
Most likely it would be in SystemUI.apk in the dimens.xml file
Sent from my Blood Red HTC One M8
icedventimocha said:
Most likely it would be in SystemUI.apk in the dimens.xml file
Sent from my Blood Red HTC One M8
Click to expand...
Click to collapse
+1 this, or maybe the blinkfeedlauncher.apk or the framework-res.apk
andybones said:
+1 this, or maybe the blinkfeedlauncher.apk or the framework-res.apk
Click to expand...
Click to collapse
If you install Xposed Framework, the Sense 6.0 Toolbox has this as an option. I ran it for a while, but decided I was okay with the default navbar size.
Dimensions Editor using the exposed framework also resizes the navbar, and the statusbar. Not just a fixed dimension like Sense 6 Toolbox. It is still in experimental stage, so you may have to change setttings in exposed to find it, but I have been running it for nearly a month now flawlessly on Bonestock Rom.
Delete
Delete
All4TheFam said:
Dimensions Editor using the exposed framework also resizes the navbar, and the statusbar. Not just a fixed dimension like Sense 6 Toolbox. It is still in experimental stage, so you may have to change setttings in exposed to find it, but I have been running it for nearly a month now flawlessly on Bonestock Rom.
Click to expand...
Click to collapse
Thanks, but Xposed isn't currently compatible with ART, which I'm very fond of. I'm hoping there is some sort of build.prop tweak that will make this possible, but its not looking lime there is.
Lykarsis said:
Thanks, but Xposed isn't currently compatible with ART, which I'm very fond of. I'm hoping there is some sort of build.prop tweak that will make this possible, but its not looking lime there is.
Click to expand...
Click to collapse
Nav bar edits can be done decompile the systemui.apk from system/private-app/
Under the res/layout/navigation_bar.xml
Would be the location to look to make any changes
sent from space

[Q] Battery % in status bar font size

Is there any way to reduce the size of the battery percentage in the top status bar? I prefer it very small, definitely not bigger than the time! is there any way to fix this without rooting?
levilib said:
Is there any way to reduce the size of the battery percentage in the top status bar? I prefer it very small, definitely not bigger than the time! is there any way to fix this without rooting?
Click to expand...
Click to collapse
Without root, absolutely not. With root. It's doable. The smali it would have to be modified
if you dont mind waiting until its at 50% or less to see it then you can install Battery Percentage and get the percentage inside your battery icon and works with or without root
plus we have root now too right HERE and works great with no Knox trip
That battery percentage app says on lollipop it changes the color as the battery goes down, but also says on touchwiz it might not work, any solution in sight?
Sent from my SM-G920V using Tapatalk
zathus said:
Without root, absolutely not. With root. It's doable. The smali it would have to be modified
Click to expand...
Click to collapse
How can i do it with root then?
Çingiz Salmanov said:
How can i do it with root then?
Click to expand...
Click to collapse
Mind you, I haven't modified smali's in a long time but first, the system would need to be dexoed. Then you would have to extract framework APK, decompile it. Located the small that controls what you looking for. Using something like note++ modify it, possible modify the xml. In the res location as well. Recompile. It's not a small task and unless your familiar with one ui and the locations of all the code it will be very difficult.
zathus said:
Mind you, I haven't modified smali's in a long time but first, the system would need to be dexoed. Then you would have to extract framework APK, decompile it. Located the small that controls what you looking for. Using something like note++ modify it, possible modify the xml. In the res location as well. Recompile. It's not a small task and unless your familiar with one ui and the locations of all the code it will be very difficult.
Click to expand...
Click to collapse
You lost me halfway there. I thought i was just going to edit one file with root explorer or something like that

Categories

Resources