center clock for 8.1 - Google Pixel XL Themes, Apps, and Mods

Hey guys I know a lot of people are missing center clock for oreo. So I found a substratum theme called dark infusion which allows u to change location. I'm not really comfortable flashing other mods so I can't say if they work or not. But I have seen a few. I'm just verifying that this theme (paid) does work as u can see below. If anyone else wants to share other working mods pz do. I wanna thank @NepoRood for this find as he showed me.

There's a Substratum module called "Clock Tweaks for O" that will center the clock and also allow you to change the font and size.

Found another which I'm sure a lot of u know about but gravity box for Oreo works great on los 15.1 and crdroid. Not so good on benzo. For some reason I was having lag issues on stock also. But for those who don't you can move clock and there's a ton of other options. Make sure you install beta 2 of xposed the first one is buggy. Then search gravity or search Oreo under downloads section. Look for gravity box (o) and install activate and restart it has as many if not more customizations as any custom ROMs have fun

joeeboogz said:
Found another which I'm sure a lot of u know about but gravity box for Oreo works great on los 15.1 and crdroid. Not so good on benzo. For some reason I was having lag issues on stock also. But for those who don't you can move clock and there's a ton of other options. Make sure you install beta 2 of xposed the first one is buggy. Then search gravity or search Oreo under downloads section. Look for gravity box (o) and install activate and restart it has as many if not more customizations as any custom ROMs have fun
Click to expand...
Click to collapse
I'm running stock 8.1, magisk, with Gravity Box [O] and center clock is up and running

Gravity box as magisk module? Without xposed?
Please share link. Inside magisk there is no such module.
Send from D6603 with Tapatalk

makes2068 said:
Gravity box as magisk module? Without xposed?
Please share link. Inside magisk there is no such module.
Click to expand...
Click to collapse
I think he means xposed magisk version

For those that don't want to stock up on third party apps, a center clock is a fairly simple mod.

Tulsadiver said:
For those that don't want to stock up on third party apps, a center clock is a fairly simple mod.
Click to expand...
Click to collapse
Go on.....

dbama1 said:
Go on.....
Click to expand...
Click to collapse
Decompile your SystemUIGoogle.apk. Remove the entire code for the clock from your status_bar.xml located in the res/layout folder.
Code:
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="start|center" android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:paddingStart="@dimen/status_bar_clock_starting_padding" android:paddingEnd="@dimen/status_bar_clock_end_padding" />"
Just below the following code
Code:
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
Put this code
<include layout="@layout/mycenterclock" />
Throw the attached mycenterclock.xml into your res/layout folder and recompile.
Alternately you could put this code in place of the layout I attached.
Code:
<com.android.keyguard.AlphaOptimizedLinearLayout android:orientation="horizontal" android:id="@id/system_icon_area" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="center" android:id="@id/clock" android:layout_width="fill_parent" android:layout_height="fill_parent" android:singleLine="true" />
</com.android.keyguard.AlphaOptimizedLinearLayout>

Tulsadiver said:
Decompile your SystemUIGoogle.apk. Remove the entire code for the clock from your status_bar.xml located in the res/layout folder.
Code:
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="start|center" android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:paddingStart="@dimen/status_bar_clock_starting_padding" android:paddingEnd="@dimen/status_bar_clock_end_padding" />"
Just below the following code
Code:
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
Put this code
<include layout="@layout/mycenterclock" />
Throw the attached mycenterclock.xml into your res/layout folder and recompile.
Alternately you could put this code in place of the layout I attached.
Code:
<com.android.keyguard.AlphaOptimizedLinearLayout android:orientation="horizontal" android:id="@id/system_icon_area" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="center" android:id="@id/clock" android:layout_width="fill_parent" android:layout_height="fill_parent" android:singleLine="true" />
</com.android.keyguard.AlphaOptimizedLinearLayout>
Click to expand...
Click to collapse
You are the man! Thank you for sharing and for your work. :good:

Thanks

Tulsadiver said:
Decompile your SystemUIGoogle.apk. Remove the entire code for the clock from your status_bar.xml located in the res/layout folder.
Code:
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="start|center" android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:paddingStart="@dimen/status_bar_clock_starting_padding" android:paddingEnd="@dimen/status_bar_clock_end_padding" />"
Just below the following code
Code:
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
Put this code
<include layout="@layout/mycenterclock" />
Throw the attached mycenterclock.xml into your res/layout folder and recompile.
Alternately you could put this code in place of the layout I attached.
Code:
<com.android.keyguard.AlphaOptimizedLinearLayout android:orientation="horizontal" android:id="@id/system_icon_area" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="center" android:id="@id/clock" android:layout_width="fill_parent" android:layout_height="fill_parent" android:singleLine="true" />
</com.android.keyguard.AlphaOptimizedLinearLayout>
Click to expand...
Click to collapse
dunno why, but I can't scan that qr code

tiro_uspsss said:
dunno why, but I can't scan that qr code
Click to expand...
Click to collapse
You have to copy- paste.

Tulsadiver said:
Decompile your SystemUIGoogle.apk. Remove the entire code for the clock from your status_bar.xml located in the res/layout folder.
Code:
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="start|center" android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:paddingStart="@dimen/status_bar_clock_starting_padding" android:paddingEnd="@dimen/status_bar_clock_end_padding" />"
Just below the following code
Code:
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
Put this code
<include layout="@layout/mycenterclock" />
Throw the attached mycenterclock.xml into your res/layout folder and recompile.
Alternately you could put this code in place of the layout I attached.
Code:
<com.android.keyguard.AlphaOptimizedLinearLayout android:orientation="horizontal" android:id="@id/system_icon_area" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="center" android:id="@id/clock" android:layout_width="fill_parent" android:layout_height="fill_parent" android:singleLine="true" />
</com.android.keyguard.AlphaOptimizedLinearLayout>
Click to expand...
Click to collapse
Dear Sir, can you please tell me where to find the "SystemGoogleUI.apk" , thank you in advance.

suey86 said:
Dear Sir, can you please tell me where to find the "SystemGoogleUI.apk" , thank you in advance.
Click to expand...
Click to collapse
system/product/priv-app/SystemUIGoogle

Tulsadiver said:
system/product/priv-app/SystemUIGoogle
Click to expand...
Click to collapse
still can't found the folder, FYI Im using Masik x 5.2, thank you very much for ur respond

suey86 said:
still can't found the folder, FYI Im using Masik x 5.2, thank you very much for ur respond
Click to expand...
Click to collapse
Sorry, that was for Q. Pie is just system/priv-app/SystemUIGoogle but a custom rom is going to be just SystemUI, not SystemUIGoogle.

Tulsadiver said:
Sorry, that was for Q. Pie is just system/priv-app/SystemUIGoogle but a custom rom is going to be just SystemUI, not SystemUIGoogle.
Click to expand...
Click to collapse
one more question Sir if i may,, what app u are using for decompile it ?

suey86 said:
one more question Sir if i may,, what app u are using for decompile it ?
Click to expand...
Click to collapse
Ticklemyandroid

Tulsadiver said:
Ticklemyandroid
Click to expand...
Click to collapse
thank you so much Sir..

Related

[Q][DMC3] How do I remove the CLOCK from Status Bar?

Does anyone knows how to or the best way to remove the clock from the status bar? I'm using the XXDMC3 stock rooted rom, thanks in advance!
Paid version of Simplistic Framework
slick4mitch said:
Does anyone knows how to or the best way to remove the clock from the status bar? I'm using the XXDMC3 stock rooted rom, thanks in advance!
Click to expand...
Click to collapse
Decompile SystemUI.apk
Open res/layout/status_bar.xml
Change the following line
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="left|center" android:id="@id/clock" androidaddingLeft="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
To
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="left|center" android:id="@id/clock" androidaddingLeft="6.0dip" android:layout_width="0.0dip" android:layout_height="0.0dip" android:singleLine="true" />
Recompile SystemUI and push it back to your phone
muena90 said:
Decompile SystemUI.apk
Open res/layout/status_bar.xml
Change the following line
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="left|center" android:id="@id/clock" androidaddingLeft="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
To
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="left|center" android:id="@id/clock" androidaddingLeft="6.0dip" android:layout_width="0.0dip" android:layout_height="0.0dip" android:singleLine="true" />
Recompile SystemUI and push it back to your phone
Click to expand...
Click to collapse
Thanks for this, I appreciate it!
McLaren__F1 said:
Paid version of Simplistic Framework
Click to expand...
Click to collapse
There's only a paid Simplistic Control app and you need the simplistic framework installed for it to work, I'm running DMC3 stock rooted rom and I don't think that framework works with it, enlight me otherwise, thanks!
slick4mitch said:
There's only a paid Simplistic Control app and you need the simplistic framework installed for it to work, I'm running DMC3 stock rooted rom and I don't think that framework works with it, enlight me otherwise, thanks!
Click to expand...
Click to collapse
I'm using a mc3 based rom with simplistic framework and works fine
Sent from my GT-N7100 using xda premium
McLaren__F1 said:
I'm using a mc3 based rom with simplistic framework and works fine
Sent from my GT-N7100 using xda premium
Click to expand...
Click to collapse
Yeah and I think your ROM has simplistic preinstalled. Otherwise it won't work.
In Phoenix AROMA it has the option to install or not install it.

[TUT] Mode Your SystemUI & LockScreen | Noob Friendly |

How to Edit Lockscreen & Systemui
First of all i’m not expert developer i’m more like a themer i’m sharing my knowledge for xda community just for helping noobs to become expert
Click to expand...
Click to collapse
Do it at your own risk !
Click to expand...
Click to collapse
Mods for know :
-how to make center clock and no battery icon just %
-how to make center clock with battery icon and %
-how to edit notifications numbers
-how to edit lockscreen (blinds&hin text&...etc)
How to decompile & compile with apktool ​
First you must know how to decompile and compile
Requirements :
Latest java installed
PC
notepad++ to edit xml
Human
Install the following package download
unzip it and put it in new folder and name it android
open the folder ,,,,, press left shift and press right mouse click and open cmd
copy SystemUI you want to edit or Lockscreen (name of lockscreen in rom "UxpNxtLockScreen")
Type this in cmd
apktool d @@@.apk
Click to expand...
Click to collapse
replace @@@ with app name
After editing type this
apktool b @@@
Click to expand...
Click to collapse
replace @@@ with app name without apk !
now you will find compiled app in dist folder
open the original apk with winrar or any zip manger and drag
META-INF & AndroidMainFest.xml
Click to expand...
Click to collapse
to compiled apk and set zip options to "store" and make it replace the files
Finished !
If you have problems ,,, install framewrok-res.apk and SemcGenericUxpRes.apk with this one "apktool if ccc.apk change ccc with name of app
Click to expand...
Click to collapse
just install frame&Semc of wanted Rom
-------------------------------------------------------------------------
now its time to know how to edit
How to make center clock without battery icon just %​
decompile SystemUI.apk and go to res/layout/states bar.xml and replace inside with this
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.phone.PhoneStatusBarView android:orientation="vertical" android:id="@id/status_bar" android:background="@drawable/status_bar_background" android:focusable="true" android:fitsSystemWindows="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<LinearLayout android:gravity="center" android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="center" android:paddingTop="2.0px" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:layout_weight="1.0" />
</LinearLayout>
<ImageView android:id="@id/notification_lights_out" android:paddingLeft="6.0dip" android:paddingBottom="2.0dip" android:visibility="gone" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="fill_parent" android:src="@drawable/ic_sysbar_lights_out_dot_small" android:scaleType="center" />
<LinearLayout android:orientation="horizontal" android:id="@id/icons" android:paddingLeft="6.0dip" android:paddingRight="6.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.systemui.statusbar.StatusBarIconView android:id="@id/moreIcon" android:visibility="gone" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="fill_parent" android:src="@drawable/stat_notify_more" />
<com.android.systemui.statusbar.phone.IconPartitioner android:id="@id/notification_icon_area" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0">
<com.android.systemui.statusbar.phone.IconMerger android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/notificationIcons" android:layout_width="wrap_content" android:layout_height="fill_parent" />
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/statusIcons" android:layout_width="wrap_content" android:layout_height="fill_parent" />
</com.android.systemui.statusbar.phone.IconPartitioner>
<LinearLayout android:gravity="center" android:orientation="horizontal" android:id="@id/signal_battery_cluster" android:paddingLeft="2.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent">
<include android:id="@id/signal_cluster" android:layout_width="wrap_content" android:layout_height="wrap_content" layout="@layout/signal_cluster_view" />
<TextView android:layout_gravity="left|center" android:id="@id/battery_text" android:paddingLeft="4.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/status_bar_settings_settings_button" android:singleLine="true" style="@style/StatusBarNotificationText" />
<ImageView android:id="@id/battery" android:paddingLeft="2.0dip" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</LinearLayout>
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:id="@id/ticker" android:background="@drawable/status_bar_bg_tile" android:paddingLeft="6.0dip" android:animationCache="false" android:layout_width="fill_parent" android:layout_height="fill_parent">
<ImageSwitcher android:id="@id/tickerIcon" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:layout_marginRight="4.0dip">
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:scaleType="center" />
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:scaleType="center" />
</ImageSwitcher>
<com.android.systemui.statusbar.phone.TickerView android:id="@id/tickerText" android:paddingTop="2.0dip" android:paddingRight="10.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0">
<TextView android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
<TextView android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
</com.android.systemui.statusbar.phone.TickerView>
</LinearLayout>
</com.android.systemui.statusbar.phone.PhoneStatusBarView>
compile and done :good::good:
you have center clock and % battery
How to make just center clock
Go to res/layout/states bar.xml and replace it with this
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.phone.PhoneStatusBarView android:orientation="vertical" android:id="@id/status_bar" android:background="@drawable/status_bar_background" android:focusable="true" android:fitsSystemWindows="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<LinearLayout android:gravity="center" android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="center" android:paddingTop="2.0px" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:layout_weight="1.0" />
</LinearLayout>
<ImageView android:id="@id/notification_lights_out" android:paddingLeft="6.0dip" android:paddingBottom="2.0dip" android:visibility="gone" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="fill_parent" android:src="@drawable/ic_sysbar_lights_out_dot_small" android:scaleType="center" />
<LinearLayout android:orientation="horizontal" android:id="@id/icons" android:paddingLeft="6.0dip" android:paddingRight="6.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.systemui.statusbar.StatusBarIconView android:id="@id/moreIcon" android:visibility="gone" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="fill_parent" android:src="@drawable/stat_notify_more" />
<com.android.systemui.statusbar.phone.IconPartitioner android:id="@id/notification_icon_area" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0">
<com.android.systemui.statusbar.phone.IconMerger android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/notificationIcons" android:layout_width="wrap_content" android:layout_height="fill_parent" />
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/statusIcons" android:layout_width="wrap_content" android:layout_height="fill_parent" />
</com.android.systemui.statusbar.phone.IconPartitioner>
<LinearLayout android:gravity="center" android:orientation="horizontal" android:id="@id/signal_battery_cluster" android:paddingLeft="2.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent">
<include android:id="@id/signal_cluster" android:layout_width="wrap_content" android:layout_height="wrap_content" layout="@layout/signal_cluster_view" />
<TextView android:layout_gravity="left|center" android:id="@id/battery_text" android:paddingLeft="4.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/status_bar_settings_settings_button" android:singleLine="true" style="@style/StatusBarNotificationText" />
<ImageView android:id="@id/battery" android:paddingLeft="2.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</LinearLayout>
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:id="@id/ticker" android:background="@drawable/status_bar_bg_tile" android:paddingLeft="6.0dip" android:animationCache="false" android:layout_width="fill_parent" android:layout_height="fill_parent">
<ImageSwitcher android:id="@id/tickerIcon" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:layout_marginRight="4.0dip">
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:scaleType="center" />
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:scaleType="center" />
</ImageSwitcher>
<com.android.systemui.statusbar.phone.TickerView android:id="@id/tickerText" android:paddingTop="2.0dip" android:paddingRight="10.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0">
<TextView android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
<TextView android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
</com.android.systemui.statusbar.phone.TickerView>
</LinearLayout>
</com.android.systemui.statusbar.phone.PhoneStatusBarView>
Compile and done :good:
How to edit notifications numbers​
Go to res/values/integers.xml and edit the number in
<integer name="config_maxNotificationIcons">5</integer>
Click to expand...
Click to collapse
Edit the number (but dont make it high number it will case problems in notifications size
How to edit Lockscreen​
decompile lockscreen and go to UxpNxtLockScreen\res\values
to change when hint go before unlocking(how many times to hint disappear)
open integers.xml
and change the number in
Code:
<integer name="unlocks_before_hint_removal">[COLOR="red"]9[/COLOR]</integer>
want to change the number of blinds ? in stock lockscreen its 4 and its small so you can make it as you like but as high you make it as ugly it will be
change the number here
<integer name="number_of_blinds">10</integer>
Click to expand...
Click to collapse
want to change the blinds that will affected ?? = how many blinds will show when you put your finger on lockscreen
change the number here
Code:
<integer name="blinds_affected_by_touch">[COLOR="red"]5[/COLOR]</integer>
How to change hint text
Go to UxpNxtLockScreen\res\layout and open unlock_hint.xml
and find this android:text= and change the text between
" "
Click to expand...
Click to collapse
and save it
How to change widgets place on lock screen​
Go to UxpNxtLockScreen\res\values and open dimens.xml and change the " dip " near text
Ex:
<dimen name="lockscreen_widget_slider_margin_top">93.0dip</dimen>
Click to expand...
Click to collapse
the place of the slider change 93.0 dip to the number you want (if the number was less it will be at top , more the number was more will be near the ground )
How to change blinds rotation degrees
Go to UxpNxtLockScreen\res\values and open fractions and change the number in this text
Code:
<fraction name="max_sideways_rotation_degrees">[COLOR="red"]100.0%[/COLOR]</fraction>
put the number with %
if 300% it will look like big blinds so make it 150% or 50% as you like
How to make the slider with transparent​
Go to UxpNxtLockScreen\res\drawable-xhdpi
and open arrows_swipe_camera_overlay with photoshop and make the opacity as you like and save as png (default)
Compile and done :good:
---------------------------------------
Don’t Forget to Press Thanks :good | Also if want to pay me a coffee or something else , feel free to give me a small donation by Pressing Here .​
Cool step-by-step tutorial for newbie like me. Finally I can edit the lockscreen!!!
By the way, if I want the lock screen hint to stay there permanently, what value should I give to it?
TitaniumZERO said:
Cool step-by-step tutorial for newbie like me. Finally I can edit the lockscreen!!!
By the way, if I want the lock screen hint to stay there permanently, what value should I give to it?
Click to expand...
Click to collapse
Remove the line
Code:
<integer name="unlocks_before_hint_removal">9</integer>
from the file.
I hope it'll work. :good:
Try and comment here.
About lockscreen howto edit etc is already posted by @black97one here:
http://forum.xda-developers.com/showthread.php?p=43582251
But nice share @abo hani
Pandemic said:
About lockscreen howto edit etc is already posted by @black97one here:
http://forum.xda-developers.com/showthread.php?p=43582251
But nice share @abo hani
Click to expand...
Click to collapse
I know that , but i want to collect all of them together
TitaniumZERO said:
Cool step-by-step tutorial for newbie like me. Finally I can edit the lockscreen!!!
By the way, if I want the lock screen hint to stay there permanently, what value should I give to it?
Click to expand...
Click to collapse
Ajith Roy said:
Remove the line
Code:
<integer name="unlocks_before_hint_removal">9</integer>
from the file.
I hope it'll work. :good:
Try and comment here.
Click to expand...
Click to collapse
Or just put the number 9999999 unlimited
abo hani said:
Or just put the number 9999999 unlimited
Click to expand...
Click to collapse
I've tried delete the line, it didn't work but putting an insanely big number there works.
By the way, I've tried the transparent slider mod but it's not working, I can't recompile the apk.
TitaniumZERO said:
I've tried delete the line, it didn't work but putting an insanely big number there works.
By the way, I've tried the transparent slider mod but it's not working, I can't recompile the apk.
Click to expand...
Click to collapse
Give me the log , press right click and select , select the log and press right click to copy it then paste it here
abo hani said:
Give me the log , press right click and select , select the log and press right click to copy it then paste it here
Click to expand...
Click to collapse
I'm in office now, I'll feedback when I go home.
Centered clock won't work with The AOSP one cuz differences like colors right?
EDIT: It worked :good:
nice post
TitaniumZERO said:
I'm in office now, I'll feedback when I go home.
Click to expand...
Click to collapse
It seems that I have to install framework-res.apk for it to work.
Anyway I've taken a few other tutorial available now I have a modded lock screen which takes 65536 scrolls to remove the hint, modified Walkman+camera widget icons, transparent widget backplate.
Thanks again.
TitaniumZERO said:
It seems that I have to install framework-res.apk for it to work.
Anyway I've taken a few other tutorial available now I have a modded lock screen which takes 65536 scrolls to remove the hint, modified Walkman+camera widget icons, transparent widget backplate.
Thanks again.
Click to expand...
Click to collapse
Thanks for feedback i hope you become expert themer
when i make a call, the 'connecting' text displayed on the screen is having a thinnest black border and inside white colored font for text Connecting. can u plz tell me what .apk file to decomplile? just dont tell me which text to change i want to find it by myself, i just need to know which .apk file and which layout i need to look for.. i need to make the entire connecting text Black colored font
how about to put am/pm at the clock in systemUI?
Thank You For This Great Tutorial .
Can You Make Incoming Call Screen Full. I Mean Full Screen Caller Pic And Making The Black Transparent Full Transparent
molzz said:
when i make a call, the 'connecting' text displayed on the screen is having a thinnest black border and inside white colored font for text Connecting. can u plz tell me what .apk file to decomplile? just dont tell me which text to change i want to find it by myself, i just need to know which .apk file and which layout i need to look for.. i need to make the entire connecting text Black colored font
Click to expand...
Click to collapse
SemcPhone.apk
aminfauzi said:
how about to put am/pm at the clock in systemUI?
Click to expand...
Click to collapse
will put the tut tomorrow or after tomorrow
M.WeWe said:
Thank You For This Great Tutorial .
Can You Make Incoming Call Screen Full. I Mean Full Screen Caller Pic And Making The Black Transparent Full Transparent
Click to expand...
Click to collapse
I will when i learn it but you can use full screen call app from google play
abo hani said:
will put the tut tomorrow or after tomorrow
Click to expand...
Click to collapse
ok that will be great
Nice job
good work abo hani
sent from thinkandroid
What should I do to change the Status Bar fully transparent?. Thank´s in advance

[GUIDE][GB] Music Lock Controls

Customizable remodified CM lock music controls + Information​
Updated (Read):
Fullscreen AlbumArt
Moving trackname if it is long (credits to sir El Uyuz [email protected], Bhevz Cailao
@fb and lenar [email protected])
Bugs:if you find one, feel free to report
NOTE: Tested on Gingerbread version DXLF baseband. Still not sure if will work on other version, you can give it a try but i dont have the responsibility on bricking/damaging your phone :
ScreenShot:
{
"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"
}
What you need
- Basic xml techniques
- Decompile recompile skills
- android.policy.jar
- framework-res.apk
- SystemUI.apk
Steps:
Click to expand...
Click to collapse
1.) Decompile android.policy.jar.
2.) Download MusicInfo.zip in attachment and extract it to smali folder.
3.) Decompile framework-res.apk.
4.) open res/layout/zzz_keyguard_screen_clockwidget.xml below:
Code:
<view android:gravity="center" android:orientation="vertical" android:id="@id/clock_time_and_date" android:layout_width="fill_parent" android:layout_height="wrap_content" class="com.android.internal.policy.impl.ClockWidget$TimeAndDate">
add this line:
Click to expand...
Click to collapse
Code:
[COLOR="Red"]<LinearLayout android:gravity="center_horizontal" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">
<com.tenten.AlbumArt android:layout_width="100.0dip" android:layout_height="100.0dip" android:scaleType="fitCenter" />
<com.tenten.trackname android:textColor="#ffffffff" android:ellipsize="marquee" android:gravity="center_horizontal" android:background="#00000000" android:paddingLeft="10.0dip" android:paddingRight="10.0dip" android:focusable="true" android:focusableInTouchMode="true" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:marqueeRepeatLimit="marquee_forever" />
<com.tenten.MusicControl android:gravity="center_horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content">
<com.tenten.prev android:layout_marginRight="10.0px" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<com.tenten.play android:layout_gravity="center_horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<com.tenten.next android:layout_marginLeft="10.0px" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</com.tenten.MusicControl>
</LinearLayout>[/COLOR]
It will be like this:
Click to expand...
Click to collapse
Code:
<view android:gravity="center" android:orientation="vertical" android:id="@id/clock_time_and_date" android:layout_width="fill_parent" android:layout_height="wrap_content" class="com.android.internal.policy.impl.ClockWidget$TimeAndDate">
[COLOR="Red"]<LinearLayout android:gravity="center_horizontal" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">
<com.tenten.AlbumArt android:layout_width="100.0dip" android:layout_height="100.0dip" android:scaleType="fitCenter" />
<com.tenten.trackname android:layout_width="wrap_content" android:layout_height="wrap_content" android:paddingLeft="10.0px" android:paddingRight="10.0px" android:singleLine="true" />
<com.tenten.MusicControl android:gravity="center_horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content">
<com.tenten.prev android:layout_marginRight="10.0px" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<com.tenten.play android:layout_gravity="center_horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<com.tenten.next android:layout_marginLeft="10.0px" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</com.tenten.MusicControl>
</LinearLayout>[/COLOR]
<LinearLayout android:gravity="center" android:layout_width="wrap_content" android:layout_height="25.0dip">
<ImageView android:id="@id/zzz_hour01" android:layout_width="17.0dip" android:layout_height="25.0dip" />
<ImageView android:id="@id/zzz_hour02" android:layout_width="17.0dip" android:layout_height="25.0dip" />
<ImageView android:id="@id/zzz_colon01" android:layout_width="17.0dip" android:layout_height="25.0dip" android:src="@drawable/zzz_unlock_clock_colon" />
<ImageView android:id="@id/zzz_minute01" android:layout_width="17.0dip" android:layout_height="25.0dip" />
<ImageView android:id="@id/zzz_minute02" android:layout_width="17.0dip" android:layout_height="25.0dip" />
</LinearLayout>
<LinearLayout android:layout_gravity="bottom" android:orientation="vertical" android:layout_width="0.0dip" android:layout_height="0.0dip">
<TextView android:textSize="0.0dip" android:typeface="sans" android:textColor="#ffffffff" android:id="@id/zzz_ampm" android:layout_width="0.0dip" android:layout_height="0.0dip" android:shadowColor="@color/black" android:shadowDx="1.0" android:shadowDy="1.0" android:shadowRadius="1.0" />
</LinearLayout>
<TextView android:textSize="20.0sp" android:typeface="sans" android:textColor="#ffffffff" android:id="@id/zzz_date_month" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="2.0dip" android:shadowColor="@color/black" android:shadowDx="1.0" android:shadowDy="1.0" android:shadowRadius="1.0" />
</view>
5.) Add a png in res/drawable folder and name it: default_music_logo.
6.) Recompile framework-res.apk and decompile it again.
7.) Go to res/values/public.xml and find this line:
Code:
<public type="drawable" name="default_music_logo" id="[COLOR="Red"]ImportantID[/COLOR]" />
8.) Remember the important ID. Go back again to your android.policy.jar and open smali/com/tenten/AlbumArt.smali.
9.) Find this line:
Code:
const v2, 0x1080411
10.) Replace 0x1080411 with your ImportantID BUT remove the 0 next to x. (Example: 0x01234567 to 0x1234567)
Code:
const v2, [COLOR="red"]ImportantID[/COLOR]
11.) Recompile framework-res.apk and android.policy.jar.
12.) Decompile SystemUI.apk.
13.) Download UI_MusicInfo.zip in attachment and extract it to smali folder.
14.) Go to res/layout/status_bar.xml and below:
Code:
xmlns:android="http://schemas.android.com/apk/res/android">
add this line:
Click to expand...
Click to collapse
Code:
[COLOR="red"]<com.tenten.MusicHelper android:layout_width="0.0dip" android:layout_height="0.0dip" />[/COLOR]
It will be like this:
Click to expand...
Click to collapse
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.LenoxStatusBarView android:orientation="vertical" android:background="#ff000000" android:focusable="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:orientation="horizontal" android:id="@id/icons" android:layout_width="fill_parent" android:layout_height="fill_parent">
[COLOR="red"]<com.tenten.MusicHelper android:layout_width="0.0dip" android:layout_height="0.0dip" />[/COLOR]
15.) Recompile SystemUI.apk.
16.) Finally, zip your recompiled android.policy.jar, framework-res.apk, SystemUI.apk and flash it.
17.) download and Install CustomizableParts.apk in attachment to control the informations
18.) If it works, jump. If no, tell me
Fullscreen AlbumArt in Lockscreens (KITKAT MODE ON)
Click to expand...
Click to collapse
Description: Fullscreen Album art in lockscreen like kitkat, all lockscreens are affected except circle lock. (It has no main layout :crying Sorry but no screenshot, you can imagine it by the title itself. (But actually, Im lazy. xD )
NOTE: This will work on lockscreens that has mainlayout and its main parent must be relativelayout.
1.) Open all of these layouts on framework-res/res/layout:
keyguard_screen_password_portrait.xml
keyguard_screen_tab_unlock.xml
keyguard_screen_unlock_portrait.xml
2.) then do this in the three layout that you have opened:
PUT THIS:
Click to expand...
Click to collapse
Code:
<com.tenten.AlbumArt android:layout_width="240.0px" android:layout_height="320.0px" android:background="#ff000000" android:scaleType="centerInside" />
BELOW THIS:
Click to expand...
Click to collapse
Code:
xmlns:android="http://schemas.android.com/apk/res/android">
IT WILL BE LIKE THIS:
Click to expand...
Click to collapse
Code:
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout android:id="@id/patternlockscreenwallpaper_root" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<com.tenten.AlbumArt android:layout_width="240.0px" android:layout_height="320.0px" android:background="#ff000000" android:scaleType="centerInside" />
NOTE: In keyguard_screen_tab_unlock.xml, it must be below xmlns:tabunlock="http://schemas.android.com/apk/res/com.android.tabunlock">
3.) Save them and close, Then open zzz_keyguard_screen_lockscreenwallpaper.xml
4.) Then again:
PUT THIS:
Click to expand...
Click to collapse
Code:
<com.tenten.AlbumArt android:layout_width="240.0px" android:layout_height="320.0px" android:background="#ff000000" android:scaleType="centerInside" />
BELOW THIS:
Click to expand...
Click to collapse
Code:
<ImageView android:id="@id/lockscreenwallpaper_image" android:layout_width="fill_parent" android:layout_height="fill_parent" android:scaleType="fitXY" />
IT WILL BE LIKE THIS:
Click to expand...
Click to collapse
Code:
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout android:id="@id/lockscreenwallpaper_root" android:background="#80000000" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<ImageView android:id="@id/lockscreenwallpaper_image" android:layout_width="fill_parent" android:layout_height="fill_parent" android:scaleType="fitXY" />
<com.tenten.AlbumArt android:layout_width="240.0px" android:layout_height="320.0px" android:background="#ff000000" android:scaleType="centerInside" />
</RelativeLayout>
5.) Save again all then recompile your framework-res
6.) Flash to obtain kitkat mode.
PS: Need help? Go to 2nd post.
Java Source: https://github.com/tentenponce/Music_Info_on_Lockscreen
CREDITS​[email protected]
CyanogenMod
AOSP
StackOverflow.com
Lenox Devs
Potato Inc
[email protected] for inspiring me on his music lock controls ​
FAQs / Help
FAQs
EDIT: Sorry for the wrong info, please read the first Q and A again. thank you
Q: Why music controls not working?
A: There's something you need to modify on MusicUtils.smali, according to sir @PineappleOwl, for a while, use the lenox music that has been attach my sir @GSculerlor around here, just look for it
EDIT: Download MusicUtils.zip on attachment and extract it on your Music.apk/smali folder.
Q: My album art is not updating/changing/not the same with my music album art?
A: It is because the data from your old music, (maybe u use other player). Clear the data of your old music and stock music then check it again (Credits, Mark[email protected])
Q: No AlbumArt when my phone is plug into Computer?
A: Yes, to avoid force close/hotboot.
Q: F*ck! My phone reboots when I unplug it from the Computer.
A: Wait for your sd card to be scanned then unplug it. Patience is <3
Q: Some alien options on CustomizableParts, how to use it?
A: Follow my other guides.
NOTE
Changing Song will be a bit laggy because it is updating.
You can Put it on other layouts of lockscreen (Pattern lock, Pin, etc.)
awesome dude
will try
Reserve
hai i mohammad Azim
everything implemented. but still Lockscreen music control not works.
ROM - JELLYFUSION
FRIMWARE - DDMF4
DEVICE - GALAXY Y DUOS
Ten, its working on me hehe I used stock
kartik verma said:
everything implemented. but still Lockscreen music control not works.
ROM - JELLYFUSION
FRIMWARE - DDMF4
DEVICE - GALAXY Y DUOS
Click to expand...
Click to collapse
It's on default, try to run music then go to lockscreen. See if it's there.
Sir @tentenponce, What Music app work with this guide ?
GSculerlor said:
Sir @tentenponce, What Music app work with this guide ?
Click to expand...
Click to collapse
Default one will do
Report : CM Parts not work on me :crying:
SS after i press pause button :
GSculerlor said:
Sir @tentenponce, What Music app work with this guide ?
Click to expand...
Click to collapse
I only tried default music, but you can try on other and you can tell me so i can tell others credits goes to you ofcourse
GSculerlor said:
Report : CM Parts not work on me :crying:
SS after i press pause button :
View attachment 2750570
Click to expand...
Click to collapse
Ill update the thread, i saw that also, in lockscreen, Cm Style is a bug. Please avoid using that for now sir. Catching intents in lockscreen is complicated, that's why I can't also catch the trackname on lockscreen. </3 By the way, thanks for reporting :good:
Wow, awesome sir. Thanks
tentenponce said:
It's on default, try to run music then go to lockscreen. See if it's there.
Click to expand...
Click to collapse
Sir, m use it on Google play music. so i think is is the problem.
sorry to say.
but its a worst feature.
And never works on stock music player as well this feature also not working on another music play (Google play Music)
plssss.. Fix it and this feature is gud and i also want in my rom.
Device - Galaxy Y Duos
Frimware - GINGERBREAD.DDMF4
kartik verma said:
sorry to say.
but its a worst feature.
And never works on stock music player as well this feature also not working on another music play (Google play Music)
plssss.. Fix it and this feature is gud and i also want in my rom.
Device - Galaxy Y Duos
Frimware - GINGERBREAD.DDMF4
Click to expand...
Click to collapse
It complete work on default music player. Bug just on CM style
Sent from my GT-S5360 using XDA Free mobile app
GSculerlor said:
It complete work on default music player. Bug just on CM style
Sent from my GT-S5360 using XDA Free mobile app
Click to expand...
Click to collapse
can u add this mod in my framework apk and policy.jar
Sir @tentenponce, i follow your instruction very carefully and i got random reboot XD
And i position in on top, how to move it to bottom ?
What is xml like galaxy s2/glass lock ?
TIA
Mranggapo said:
Sir @tentenponce, i follow your instruction very carefully and i got random reboot XD
And i position in on top, how to move it to bottom ?
What is xml like galaxy s2/glass lock ?
TIA
Click to expand...
Click to collapse
take whole xml code of music control and **** it below.
like if i have clock and date and above music control. cut the code and paste below the clock code
done.
Mranggapo said:
Sir @tentenponce, i follow your instruction very carefully and i got random reboot XD
And i position in on top, how to move it to bottom ?
What is xml like galaxy s2/glass lock ?
TIA
Click to expand...
Click to collapse
Dont use CM Style, it's a bug. Ill try to fix it. install the apk and choose default or minimal.

[GUIDE] Five Tabs SystemUI MOD

Yow Guys, Im kimkimkim09. Today Im Going to Teach you how to add Five Tabs On SystemUI.I Did This Mod on an AOSP statusbar. This can be implemented om GB Devices.The smali files were owned by my master PineappleOwl.So, big credits and thousand thanks for his permission.
Alright,Here We Go:
- First DOWNLOAD the zip file I Linked Below
LINK: http://upfile.mobi/597884
-Then EXTRACT that zip file I provided/linked above.
-Then, DECOMPILE your very own SystemUI.
-After that, MERGE the files that the zip file contains to your SystemUI.
NOTE: Here will be the noob-friendly guide of merging the files that my zip file contains.
-Put the "pineapple" folder to smali/com/pineapple
-Put these files inside your systemUI's layout folder
*kimmy_tab2.xml
*kimmy_tab3.xml
*kimmy_tab4.xml
*kimmy_tab5.xml
NOTE:This files were inside my zip
-Put these file into your systemui's drawable folder.These is the directory "systemui_src/res/drawable"
*tab_indicator.xml
NOTE:This file were inside my zip also.
-Put these png files inside your systemUI's drawable-ldpi , drawable-mdpi etc. folders.
*tab1.png
*tab2.png
*tab3.png
*tab4.png
*tab5.png
*tab_normal.png
*tab_pressed.png
NOTE:This pngs were also inside my zip.
-Open up your status_bar_expanded.xml and add this code.
Code:
<LinearLayout android:layout_gravity="bottom" android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="55.0dip" android:weightSum="1.0" android:layout_alignParentBottom="true">
<com.pineapple.TabUI.TabButton android:gravity="center" android:layout_gravity="center" android:orientation="horizontal" android:background="#00000000" android:layout_width="fill_parent" android:layout_height="55.0dip" android:layout_alignParentRight="true" android:layout_alignParentBottom="true" />
</LinearLayout>
<FrameLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">
<com.pineapple.TabUI.TabsContent android:id="@id/tabbutton" android:layout_width="fill_parent" android:layout_height="fill_parent">
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginBottom="55.0dip">
<include layout="@layout/kimtot" />
</LinearLayout>
<ScrollView android:scrollbars="none" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginBottom="55.0dip" android:overScrollMode="never">
<include layout="@layout/kimmy_tab2" />
</ScrollView>
<ScrollView android:scrollbars="none" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginBottom="55.0dip" android:overScrollMode="never">
<include layout="@layout/kimmy_tab3" />
</ScrollView>
<ScrollView android:scrollbars="none" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginBottom="55.0dip" android:overScrollMode="never">
<include layout="@layout/kimmy_tab4" />
</ScrollView>
<ScrollView android:scrollbars="none" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginBottom="55.0dip" android:overScrollMode="never">
<include layout="@layout/kimmy_tab5" />
</ScrollView>
</com.pineapple.TabUI.TabsContent>
</FrameLayout>
NOTE:The Kimtot layout were the first layout.I separated it from status_bar_expanded.xml to make it neat.But You can directly code your first layout there in the place of the kimtot layout.
-Add this to ids.xml
Code:
<item type"id" name="tabbutton">false</item>
-Recompile Your Work.
-Then Decompile It Again for the smali part.
-Open Up TabButton.smali and search for this value :
0x7f0202f1
And change it with the value of tab_indicator in your public.xml
NOTE:There are several 0x7f0202f1 inside this smali. Be sure to change it ALL with the value of tab_indicator in your public.xml
Then search this value:
0x7f0202fd
And change it with the value of tab1 in your public.xml
-Search these value also:
0x7f0202ff
And change it with the value of tab2 in your public.xml
-Search this also:
0x7f020301
And change it with the value of tab3 in your public.xml
-Search this value:
0x7f020320
And change it with the value of tab4 in your public.xml
-Search this value:
0x7f0202fe
And change it with the value of tab5 in your public.xml
-This will be the last part of the guide. Open up TabsContent.smali and search
0x7f0c00ef
And change it with the value if tabbutton in your public.xml
Recompile It And Sign It. Then Push!!
Thats all guys. This is my first guude here so sorry for the informality.
Press the thanks button guys, I cant accept donations coz I dont have credit card or anything.
Special Thanks to Master PineappleOwl For allowing me to make this guide.
"Having A Kind Heart In A Cruel World is courage, Not Weakness"
Press The Thanks Button If I Ever Helped You!
uhh where is the expanded code sir ?
Mranggapo said:
uhh where is the expanded code sir ?
Click to expand...
Click to collapse
Oh sorry about that. Im on the mobile app. Ill fix it. Please wait im going to change clothes.
"Having A Kind Heart In A Cruel World is courage, Not Weakness"
Press The Thanks Button If I Ever Helped You!
Mranggapo said:
uhh where is the expanded code sir ?
Click to expand...
Click to collapse
Fixed It
"Having A Kind Heart In A Cruel World is courage, Not Weakness"
Press The Thanks Button If I Ever Helped You!
kimkimkim09 said:
Fixed It
"Having A Kind Heart In A Cruel World is courage, Not Weakness"
Press The Thanks Button If I Ever Helped You!
Click to expand...
Click to collapse
Wrap your code sir, so people doesnt confused
Mranggapo said:
Wrap your code sir, so people doesnt confused
Click to expand...
Click to collapse
Done. Heres a screeny guys.
kimkimkim09 said:
Done. Heres a screeny guys.
Click to expand...
Click to collapse
how about putting it in the bottom of status bar expanded?
jasper~ said:
how about putting it in the bottom of status bar expanded?
Click to expand...
Click to collapse
Putting the tab buttons at the bottom?
kimkimkim09 said:
Putting the tab buttons at the bottom?
Click to expand...
Click to collapse
Yeah. Is it possible?
jasper~ said:
Yeah. Is it possible?
Click to expand...
Click to collapse
Yeah its possible I think.
"Having A Kind Heart In A Cruel World is courage, Not Weakness"
Press The Thanks Button If I Ever Helped You!
kimkimkim09 said:
Yeah its possible I think.
"Having A Kind Heart In A Cruel World is courage, Not Weakness"
Press The Thanks Button If I Ever Helped You!
Click to expand...
Click to collapse
How do I put the toggles in other tab? For Example, in second tab.
jasper~ said:
How do I put the toggles in other tab? For Example, in second tab.
Click to expand...
Click to collapse
Place its code on kimmy_tab2.xml
kimkimkim09 said:
Place its code on kimmy_tab2.xml
Click to expand...
Click to collapse
From what code it started and end ?
jasper~ said:
From what code it started and end ?
Click to expand...
Click to collapse
Just cut the code if toggles from where you put it at the present and paste it in the other layouts.
"Having A Kind Heart In A Cruel World is courage, Not Weakness"
Press The Thanks Button If I Ever Helped You!
kimkimkim09 said:
Yow Guys, Im kimkimkim09. Today Im Going to Teach you how to add Five Tabs On SystemUI.I Did This Mod on an AOSP statusbar. This can be implemented om GB Devices.The smali files were owned by my master PineappleOwl.So, big credits and thousand thanks for his permission.
Alright,Here We Go:
- First DOWNLOAD the zip file I Linked Below
LINK: http://upfile.mobi/597884
-Then EXTRACT that zip file I provided/linked above.
-Then, DECOMPILE your very own SystemUI.
-After that, MERGE the files that the zip file contains to your SystemUI.
NOTE: Here will be the noob-friendly guide of merging the files that my zip file contains.
-Put the "pineapple" folder to smali/com/pineapple
-Put these files inside your systemUI's layout folder
*kimmy_tab2.xml
*kimmy_tab3.xml
*kimmy_tab4.xml
*kimmy_tab5.xml
NOTE:This files were inside my zip
-Put these file into your systemui's drawable folder.These is the directory "systemui_src/res/drawable"
*tab_indicator.xml
NOTE:This file were inside my zip also.
-Put these png files inside your systemUI's drawable-ldpi , drawable-mdpi etc. folders.
*tab1.png
*tab2.png
*tab3.png
*tab4.png
*tab5.png
*tab_normal.png
*tab_pressed.png
NOTE:This pngs were also inside my zip.
-Open up your status_bar_expanded.xml and add this code.
Code:
<LinearLayout android:layout_gravity="bottom" android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="55.0dip" android:weightSum="1.0" android:layout_alignParentBottom="true">
<com.pineapple.TabUI.TabButton android:gravity="center" android:layout_gravity="center" android:orientation="horizontal" android:background="#00000000" android:layout_width="fill_parent" android:layout_height="55.0dip" android:layout_alignParentRight="true" android:layout_alignParentBottom="true" />
</LinearLayout>
<FrameLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">
<com.pineapple.TabUI.TabsContent android:id="@id/tabbutton" android:layout_width="fill_parent" android:layout_height="fill_parent">
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginBottom="55.0dip">
<include layout="@layout/kimtot" />
</LinearLayout>
<ScrollView android:scrollbars="none" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginBottom="55.0dip" android:overScrollMode="never">
<include layout="@layout/kimmy_tab2" />
</ScrollView>
<ScrollView android:scrollbars="none" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginBottom="55.0dip" android:overScrollMode="never">
<include layout="@layout/kimmy_tab3" />
</ScrollView>
<ScrollView android:scrollbars="none" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginBottom="55.0dip" android:overScrollMode="never">
<include layout="@layout/kimmy_tab4" />
</ScrollView>
<ScrollView android:scrollbars="none" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginBottom="55.0dip" android:overScrollMode="never">
<include layout="@layout/kimmy_tab5" />
</ScrollView>
</com.pineapple.TabUI.TabsContent>
</FrameLayout>
NOTE:The Kimtot layout were the first layout.I separated it from status_bar_expanded.xml to make it neat.But You can directly code your first layout there in the place of the kimtot layout.
-Add this to ids.xml
Code:
<item type"id" name="tabbutton">false</item>
-Recompile Your Work.
-Then Decompile It Again for the smali part.
-Open Up TabButton.smali and search for this value :
0x7f0202f1
And change it with the value of tab_indicator in your public.xml
NOTE:There are several 0x7f0202f1 inside this smali. Be sure to change it ALL with the value of tab_indicator in your public.xml
Then search this value:
0x7f0202fd
And change it with the value of tab1 in your public.xml
-Search these value also:
0x7f0202ff
And change it with the value of tab2 in your public.xml
-Search this also:
0x7f020301
And change it with the value of tab3 in your public.xml
-Search this value:
0x7f020320
And change it with the value of tab4 in your public.xml
-Search this value:
0x7f0202fe
And change it with the value of tab5 in your public.xml
-This will be the last part of the guide. Open up TabsContent.smali and search
0x7f0c00ef
And change it with the value if tabbutton in your public.xml
Recompile It And Sign It. Then Push!!
Thats all guys. This is my first guude here so sorry for the informality.
Press the thanks button guys, I cant accept donations coz I dont have credit card or anything.
Special Thanks to Master PineappleOwl For allowing me to make this guide.
"Having A Kind Heart In A Cruel World is courage, Not Weakness"
Press The Thanks Button If I Ever Helped You!
Click to expand...
Click to collapse
where is the kimtot layout ?
carlo_autor said:
where is the kimtot layout ?
Click to expand...
Click to collapse
You can replace that with your own layout that will gonna be the first tab. And next time, please do not qoute the whole post. Thanks!

[Q] How to remove sim Label in xperia M dual?

is there any way...or xpose module to remove Sim Label number from signals..in status bar?
i am using xperia m dual...with 4.3 stock rom..rooted..unlocked bootloader.
Pls suggest if any method available?
it's in your systemui
open your systemui.apk, go to res/drawable-hdpi
search your sim label png file, replace it with a transparent png
sorry i don't know exactly what the filename is, coz i don't have a dual
but i think you can figure it yourself
goodluck
actually this method just hide label....it still there and takes space in statusbar....i want to disable label icon.
Amirphp said:
actually this method just hide label....it still there and takes space in statusbar....i want to disable label icon.
Click to expand...
Click to collapse
how about this?
Thanks for reply...but it's changing whole theme...mixture of aosp and Sony ui...looking wired...
There is an xpose I found that remove label in aosp...name as MOtoG.
but that xpose not supported in xperia m dual...
Amirphp said:
is there any way...or xpose module to remove Sim Label number from signals..in status bar?
i am using xperia m dual...with 4.3 stock rom..rooted..unlocked bootloader.
Pls suggest if any method available?
Click to expand...
Click to collapse
Decompile systemui.apk
Go to SystemUI.apk\res\layout folder
open msim_signal_cluster_view.xml
Find
Code:
<ImageView android:layout_gravity="center_vertical" android:id="@id/mobile_slot_1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="0.0dip" />
Add this
Code:
android:visibility="gone"
So that new line look like this
Code:
<ImageView android:layout_gravity="center_vertical" android:id="@id/mobile_slot_1" [COLOR="red"]android:visibility="gone"[/COLOR] android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="0.0dip" />
Do same for @id/mobile_slot_2
Hit thanks if it works
Anmol0022 said:
Decompile systemui.apk
Go to SystemUI.apk\res\layout folder
open msim_signal_cluster_view.xml
Find
Code:
<ImageView android:layout_gravity="center_vertical" android:id="@id/mobile_slot_1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="0.0dip" />
Add this
Code:
android:visibility="gone"
So that new line look like this
Code:
<ImageView android:layout_gravity="center_vertical" android:id="@id/mobile_slot_1" [COLOR="red"]android:visibility="gone"[/COLOR] android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="0.0dip" />
Do same for @id/mobile_slot_2
Hit thanks if it works
Click to expand...
Click to collapse
Did u test it yourself?
Amirphp said:
Did u test it yourself?
Click to expand...
Click to collapse
Ofcourse ya i also don't like that Sim icon so find the best way myself

Categories

Resources