Posts: 18
Threads: 2
Joined: 2014-09-27
Points:
268
Reputation: +13
Do we have tutorials for centering a clock for kitkat operating systems? I cant seem to find the codes for xml.
You like this post
Posts: 158
Threads: 2
Joined: 2014-10-30
Points:
2,560
Reputation: +118
2014-11-28, 17:45
(This post was last modified: 2014-11-28, 17:48 by twistyplain.)
Hi, have you tried Gravity Box Xposed Module to make the changes? The Xposed framework can enable you to center your Android clock.
Gravity Box is the most comprehensive and easy to use tweak tool for AOSP. If your ROM is heavily customized, there is a slim chance that it might not work. Centering the clock sounds like a simple tweak so I'm pretty sure you'll be able to do it.
You and
WuddaWaste like this post
+REP if this is a helpful post.Think I deserve more? Why not donate some points?
Posts: 18
Threads: 2
Joined: 2014-09-27
Points:
268
Reputation: +13
yeah, but its a ram eater. I need exact codes for this kitkat o.s. I cant seem to find one.
You and
twistyplain like this post
Posts: 1,058
Threads: 45
Joined: 2013-08-13
Points:
10,575
Reputation: +1040
My understanding is that this was formerly done in the SystemUI APK.
Once decompiled, it should be here: DECOMPILED_DIR/res/layout/status_bar.xml
Is this no longer true for KitKat?
LG Nexus 4 | APQ8064 | 2GB / 16GB | 4.7"
Star S7589 | MTK6589 | 1GB / 8GB | 5.8"
THL T200C | MTK6592W | 2GB / 16GB | 6.0"
Mlais M52 | MTK6752 | 2GB / 16GB | 5.5"
innos D6000 | MSM8939 | 3GB / 32GB | 5.2"
Asus Zenfone 2 | Z2560 | 2GB / 16GB | 5.5"
Posts: 158
Threads: 2
Joined: 2014-10-30
Points:
2,560
Reputation: +118
I don't know if they changed how KitKat works (I doubt they did because why fix something if it's not broken?). What I do know is that there is an Xposed module made specifically for centering the clock on the status bar. If the OP cannot live with the RAM-hungry nature of Gravity Box, he should try to look for the XML scripts from people who understand how the Xposed module works. I'm pretty sure the module uses some scripts to work. If it does, the OP should try to find them.
You like this post
+REP if this is a helpful post.Think I deserve more? Why not donate some points?
Posts: 18
Threads: 2
Joined: 2014-09-27
Points:
268
Reputation: +13
It is now located at gemini_statusbar.. things are different now.
You and
twistyplain like this post