[GUIDE] Five Tabs SystemUI MOD - Galaxy Y GT-S5360 General

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!

Related

[ICS]Guide to editing Apks -1% battery, On screen buttons.. More to come in future

Ok i will say by now i have become ok at decompiling and recompiling apks....... It took some time to see what i was doing wrong
This guide is for people who want to get mods like 1% battery, on screen ics buttons etc....
I am not a dev so i wouldn't be able to answer all your questions if you have any.....
This is for ics only as GB handles it's resources differently
Btw this isn't necessarily the right way to do it but it the fastest I think and it works for me every time
If you still need help or it still don't work for you PM me and i will try help when am free .....
Credit to _calum_ and memnoc for their awesome guides on decompiling and recompiling ics apks that showed me what i was doing wrong and thanks to xavierjohn22 by making autoapktool makes modding so much faster and easier.
Thanks to [] AL [] for his easy to follow guide which i used for inspiration
Software needed
Download and install 7-zip if you haven't already from here
Download notepad++ from here
It's a great text editor
Download autoapktool from here it's the second post make sure to thank xavierjohn22 for his amazing work -
Unzip it to your local disk you can name the folder whatever you want.
For example - C:\AutoAPKTool2.0.0
Ok Now we can start modding
Guide to editing systemui.apk
1% Battery icons
First search and get your favourite battery icon set... There should be 204 pngs
Now pull your systemUI.apk from system/app and copy it to _INPUT_APK in the autoapktool folder.... You can do this manually with adb commands or use android commander from here - http://androidcommander.com/
Make sure to make a backup just incase this mod doesn't work for you
Now go to the apktoolfolder and run AutoAPKToolMain.bat
Select option 21 and then 3
Make sure it says you're using apktool 1.4.1
Now select option 6 and follow the instrutions
Once it's decompiled navigate back to the _INPUT_APK folder
Open the systemUI folder then res then drawable-hdpi
Now copy all the 204 pngs into this folder
Now go back and copy stat_sys_battery.xml, stat_sys_battery_charge.xml into the drawable folder.
Download files from here
Now go back to AutoAPKToolMain.bat rerun it if you close it
Select option 7 follow the instructions....
Once it's finished recompiling navigate to SystemUI folder dist and you will see your new systemUI.apk...... Important don't push this back to your phone yet.
Now right click on the systemUI.apk.... 7-Zip --> Open archive
Now navigate back to the _INPUT_APK right click on your original systemUI.apk... 7-Zip --> Open archive
Now drag the res folder from the systemUI.apk(the one from the dist folder) into your original systemUI.apk.... click yes to updated then close it.
Now extract the resources.arsc from the systemUI.apk(the one from the dist folder)
Now rename you original systemui.apk (the one in the _INPUT_APK folder) to systemUI.zip
Now right click on the resoruces.arsc 7-Zip --> Add to archive... select your systemUI.zip folder...... Make sure archive format is zip, compression level is store and update mode is add and replace files....
Finally rename the systemUI.zip back to systemUI.apk
Now push systemUI.apk to system/app on your phone and make sure permissions are set to -rw-r-r
If your using android commander select push then select your systemUI.apk from your computer and push it to system/app....
you may get a error don't worry click ok
then rightclick on your systemUI.apk(the one on your phone now) and click properties make sure owner is set to read and write and group and all to read... If it's right it will say -rw-r-r chmod 644
Now reboot and enjoy your work
Awesomeness of ICS
Enabling On screen buttons
Credit to evilisto for his guide
Pull Framework-res.apk from system/framework on your phone using android commander or adb pull if you know how to use that
Copy it to _INPUT_APK folder in the autoapktool folder.
Run AutoAPKToolMain.bat and select option 1
Then select option 6 and follow the instrutions
Once it's decompiled navigate to the _INPUT_APK folder
Open the Framework-res folder then res then values then open bools.xml
Now find the line "config_showNavigationBar" and change it to true and save.
Then find "navigation_bar_height" and change it to 37.0 in dimens.xml
Now go back to AutoAPKToolMain.bat rerun it if you close it
Select option 7 follow the instructions....
Once it's finished recompiling navigate to Framework-res folder dist and you will see your new Framework-res.apk...... Important don't push this back to your phone yet.
Now right click on the Framework-res.apk.... 7-Zip --> Open archive
Now navigate back to the _INPUT_APK right click on your original Framework-res.apk... 7-Zip --> Open archive
Now drag the res folder from the Framework-res.apk(the one from the dist folder) into your original Framework-res.apk.... click yes to updated then close it.
Now extract the resources.arsc from the Framework-res.apk(the one from the dist folder)
Now rename your original Framework-res.apk (the one in the _INPUT_APK folder) to Framework-res.zip
Now right click on the resoruces.arsc 7-Zip --> Add to archive... select your Framework-res.zip folder...... Make sure archive format is zip, compression level is store and update mode is add and replace files....
Finally rename the Framework-res.zip back to Framework-res.apk
Now push Framework-res.apk to system/app on your phone and make sure permissions are set to -rw-r-r
If your using android commander select push then select your Framework-res.apk from your computer and push it to system/framework on your phone....
you may get a error don't worry click ok
then rightclick on your Framework-res.apk(the one on your phone now) and click properties make sure owner is set to read and write and group and all to read... If it's right it will say -rw-r-r chmod 644
Now reboot and enjoy your work
Mix and match???
Getting custom on screen buttons...
By now you should know what your doing so this will be short
Credit to atticus182 for his guide and amazing collection.... Thank him and download from http://forum.xda-developers.com/showthread.php?t=1413582
For This one you need systemUI.apk so decompile it and go to res folder then drawable-hdpi
Now copy the images you want from your favourite collection or you can mix them P.S you don't need the search since it's not enabled on our rom
Make sure for each one you choose it should be two pngs....
For example to change the home icon you need ic_sysbar_back.png and ic_sysbar_back_land.png....
Now recompile and push to your phone
Reboot and enjoy
Here is an example of what I have done
http://dl.xda-developers.com/attachdl/fdb1e0e2ef2659f9cd1577378f6088b5/4f52f12d/9/3/0/5/4/5/Screenshot_2012-03-02-19-42-08.jpg
http://dl.xda-developers.com/attachdl/5047d9e539ae988f59e8c546557ae4aa/4f52f132/9/3/0/5/4/6/Screenshot_2012-03-04-04-29-58.jpg
http://dl.xda-developers.com/attachdl/cc4c1d633e4d569c068b41f6d02d05d5/4f52f136/9/3/0/5/4/7/Screenshot_2012-03-04-04-30-17.jpg
And one for me
Sent from my MB525 using XDA App
[ACS][MOD][ICS]Status Bar Animation/Transparent/Themed Mods/ by shane637
Sidz4u said:
And one for me
Sent from my MB525 using XDA App
Click to expand...
Click to collapse
Looool......
Found a new awesome mod tutorial tomorrow
Here is a preview-
http://www.youtube.com/watch?v=PaW-jzbMs6o&feature=player_embedded
http://forum.xda-developers.com/showthread.php?t=1406729
CM9 Reloaded Statusbar Mod - Toggles page, centered clock and more by rob43
http://forum.xda-developers.com/showthread.php?t=1531222
Another one confirmed to be working on our defy by nogoodusername, Gazm4n and me.... If you have any mods you will have to reapply them
Change ICS lockscreen animation to different styles by evilisto
Credit and Thanks to evilisto for his awesome work and guide. Thank him here
evilisto said:
2) much easier way
1) decompile you rom's framework.jar using apktool.
2) go to framework.jar/smali/com/android/internal/widget/multiwaveview
3) download this file.
- for stock, AOSP or CM9 based rom : http://www.mediafire.com/?1wkbjt1bxsqsjnr
- for AOKP based rom : http://www.mediafire.com/?zb4mm1aaas1c8oc
this zip contain MultiWaveView.smali. replace original file with this one.
4) recompile.
5) done
-----------------------------------------------------------------------------
time to theme
: you have to replace lockscreen related PNGs in framework-res.apk.
framework-res.apk/res/drawable-hdpi or mdpi or xhdpi...
- ic_lockscreen_chevron_down.png
- ic_lockscreen_chevron_left.png
- ic_lockscreen_chevron_right.png (important)
- ic_lockscreen_chevron_up.png
and if you want, change lockscreen handle too.
- ic_lockscreen_handle_normal.png
- ic_lockscreen_handle_pressed.png
all my works are here (for hdpi).
1) default honeycomb ripple : http://www.mediafire.com/?7ktduz5dhsmzq6p
2) chrome logo :
download : http://www.mediafire.com/?osjng768zznfeh6
3) android logo
download : http://www.mediafire.com/?56sjs541bij3ygu
4) AT Field style (octagonal ripple)
download : http://www.mediafire.com/?t8lrdkr23nex7pc
5) Google Play logo
download : http://www.mediafire.com/?1vbc3ctdc7p94j4
Click to expand...
Click to collapse
Problem with recompiling....
Hey mate...a very nice tutorial...mm i went in a bit of problem.
i successfully pulled framework-res.apk and decompiled it. I edited the xml files too usin notepad++ then the problem came....while i recompile the folder, a notepad windows opens up showing errors.....any ideas how to fix that...?
Change ICS App Switcher to Windows Phone 7 Style
Full credits and thanks to evilisto for awesomes mods.....
Thank him here
evilisto said:
WP7(Mango?) app switcher is like this :
and i made similar thing by modifying ics app switcher layout.
preview :
flashable mod is originally posted in nexus s theme forum.
[MOD] Change ICS App Switcher to Windows Phone 7 Style
this mod is related to framework-res.apk and SystemUI.apk so making universal version for any devices is difficult. so i write this simple guide for other rom / device users.
-----------------------------------------------------------------------------
* framework-res.apk
- /res/values/dimens.xml : change thumbnail size to..
Code:
<dimen name="thumbnail_height">305.0dip</dimen>
<dimen name="thumbnail_width">192.0dip</dimen>
these values are wvga devices only. if you have mdpi or xhdpi device, you have to adjust these values suitable to your screen size.
* SystemUI.apk
- /res/values/bools.xml
Code:
<bool name="config_recents_thumbnail_image_fits_to_xy">true</bool>
- /res/values/drawables.xml
Code:
<item type="drawable" name="status_bar_recents_background_solid">#ff33b1e1</item>
- /res/values/dimens.xml
Code:
<dimen name="status_bar_recents_thumbnail_width">192.0dip</dimen>
<dimen name="status_bar_recents_thumbnail_height">305.0dip</dimen>
- /res/layout-port/status_bar_recent_item.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout android:paddingLeft="@dimen/status_bar_recents_item_padding" android:paddingRight="@dimen/status_bar_recents_item_padding" android:layout_width="wrap_content" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<RelativeLayout android:layout_gravity="center_vertical" android:id="@id/recent_item" android:paddingTop="@android:dimen/status_bar_height" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerInParent="true">
<FrameLayout android:id="@id/app_thumbnail" android:background="@drawable/recents_thumbnail_bg" android:visibility="invisible" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="5.0dip" android:foreground="@drawable/recents_thumbnail_fg" android:layout_centerInParent="true">
<ImageView android:id="@id/app_thumbnail_image" android:layout_width="192.0dip" android:layout_height="305.0dip" />
<ImageView android:id="@id/app_icon" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/status_bar_recents_app_icon_left_margin" android:layout_marginTop="0.0dip" android:scaleType="centerInside" android:adjustViewBounds="true" android:maxWidth="@dimen/status_bar_recents_app_icon_max_width" android:maxHeight="@dimen/status_bar_recents_app_icon_max_height" android:layout_alignParentLeft="true" android:layout_alignParentTop="true" />
</FrameLayout>
<TextView android:textSize="@dimen/status_bar_recents_app_label_text_size" android:textColor="@color/status_bar_recents_app_label_color" android:ellipsize="marquee" android:id="@id/app_label" android:paddingTop="0.0dip" android:fadingEdge="horizontal" android:fadingEdgeLength="@dimen/status_bar_recents_fading_edge_length" android:layout_width="@dimen/status_bar_recents_app_label_width" android:layout_height="fill_parent" android:layout_marginLeft="@dimen/status_bar_recents_app_label_left_margin" android:layout_marginTop="100.0dip" android:scrollHorizontally="true" android:singleLine="true" android:layout_below="@id/app_thumbnail" android:layout_alignLeft="@id/app_thumbnail" android:layout_alignParentBottom="true" />
<TextView android:textSize="@dimen/status_bar_recents_app_description_text_size" android:ellipsize="marquee" android:id="@id/app_description" android:fadingEdge="horizontal" android:fadingEdgeLength="@dimen/status_bar_recents_fading_edge_length" android:layout_width="@dimen/status_bar_recents_app_label_width" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/status_bar_recents_app_label_left_margin" android:layout_marginTop="40.0dip" android:scrollHorizontally="true" android:singleLine="true" android:layout_below="@id/app_label" android:layout_alignLeft="@id/app_thumbnail" android:layout_alignParentBottom="true" />
</RelativeLayout>
</FrameLayout>
- /res/layout-port/status_bar_recent_panel.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.recent.RecentsPanelView android:id="@id/recents_root" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<FrameLayout android:id="@id/recents_bg_protect" android:background="@drawable/status_bar_recents_background_solid" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_centerVertical="true">
<com.android.systemui.recent.RecentsHorizontalScrollView android:layout_gravity="bottom|left|center" android:id="@id/recents_container" android:scrollbars="none" android:fadingEdge="none" android:fadingEdgeLength="0.0dip" android:clipChildren="false" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginRight="0.0dip" android:stackFromBottom="true" android:divider="@null">
<LinearLayout android:orientation="horizontal" android:id="@id/recents_linear_layout" android:clipChildren="false" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="wrap_content" />
</com.android.systemui.recent.RecentsHorizontalScrollView>
</FrameLayout>
<include android:id="@id/recents_no_apps" android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="fill_parent" layout="@layout/status_bar_no_recent_apps" />
</com.android.systemui.recent.RecentsPanelView>
and you'd better to edit landscape layout too..
- /res/layout-land/status_bar_recent_item.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout android:paddingLeft="@dimen/status_bar_recents_item_padding" android:paddingRight="@dimen/status_bar_recents_item_padding" android:layout_width="wrap_content" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<RelativeLayout android:layout_gravity="center_vertical" android:id="@id/recent_item" android:paddingTop="@android:dimen/status_bar_height" android:layout_width="wrap_content" android:layout_height="wrap_content">
<FrameLayout android:id="@id/app_thumbnail" android:background="@drawable/recents_thumbnail_bg" android:visibility="invisible" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/status_bar_recents_thumbnail_left_margin" android:layout_marginTop="@dimen/status_bar_recents_thumbnail_top_margin" android:foreground="@drawable/recents_thumbnail_fg" android:layout_alignParentLeft="true" android:layout_alignParentTop="true">
<ImageView android:id="@id/app_thumbnail_image" android:layout_width="115.0dip" android:layout_height="183.0dip" />
</FrameLayout>
<ImageView android:id="@id/app_icon" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/status_bar_recents_app_icon_left_margin" android:layout_marginTop="@dimen/status_bar_recents_app_icon_top_margin" android:scaleType="centerInside" android:adjustViewBounds="true" android:maxWidth="@dimen/status_bar_recents_app_icon_max_width" android:maxHeight="@dimen/status_bar_recents_app_icon_max_height" android:layout_alignParentLeft="true" android:layout_alignParentTop="true" />
<TextView android:textSize="@dimen/status_bar_recents_app_label_text_size" android:textColor="@color/status_bar_recents_app_label_color" android:ellipsize="marquee" android:id="@id/app_label" android:fadingEdge="horizontal" android:fadingEdgeLength="@dimen/status_bar_recents_fading_edge_length" android:layout_width="@dimen/status_bar_recents_app_label_width" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/status_bar_recents_app_label_left_margin" android:layout_marginTop="@dimen/status_bar_recents_text_description_padding" android:scrollHorizontally="true" android:singleLine="true" android:layout_below="@id/app_thumbnail" android:layout_alignLeft="@id/app_thumbnail" />
<TextView android:textSize="@dimen/status_bar_recents_app_description_text_size" android:ellipsize="marquee" android:id="@id/app_description" android:fadingEdge="horizontal" android:fadingEdgeLength="@dimen/status_bar_recents_fading_edge_length" android:layout_width="@dimen/status_bar_recents_app_label_width" android:layout_height="wrap_content" android:layout_marginTop="@dimen/status_bar_recents_text_description_padding" android:scrollHorizontally="true" android:singleLine="true" android:layout_below="@id/app_label" android:layout_alignLeft="@id/app_thumbnail" />
</RelativeLayout>
</FrameLayout>
- /res/layout-land/status_bar_recent_panel.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.recent.RecentsPanelView android:id="@id/recents_root" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<FrameLayout android:id="@id/recents_bg_protect" android:background="@drawable/status_bar_recents_background" android:clipChildren="false" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_alignParentBottom="true">
<com.android.systemui.recent.RecentsHorizontalScrollView android:layout_gravity="bottom|left|center" android:orientation="horizontal" android:id="@id/recents_container" android:scrollbars="none" android:fadingEdge="none" android:fadingEdgeLength="0.0dip" android:clipChildren="false" android:clipToPadding="false" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginRight="@dimen/status_bar_recents_right_glow_margin" android:stackFromBottom="true" android:divider="@null">
<LinearLayout android:orientation="horizontal" android:id="@id/recents_linear_layout" android:clipChildren="false" android:clipToPadding="false" android:layout_width="wrap_content" android:layout_height="fill_parent" />
</com.android.systemui.recent.RecentsHorizontalScrollView>
</FrameLayout>
<include android:id="@id/recents_no_apps" android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="fill_parent" layout="@layout/status_bar_no_recent_apps" />
</com.android.systemui.recent.RecentsPanelView>
-----------------------------------------------------------------------------
Thanks to brucekey in rootzwiki
(this mod is based on his WEBAOKP mod.)
-----------------------------------------------------------------------------
Click to expand...
Click to collapse

How to add dynamic single line status bar close handle

-decompile your sysui.apk
-open status_bar_tracking.xml in res/layout
-find:
<com.android.systemui.statusbar.CloseDragHandle androidrientation="vertical" android:id="@id/close" android:layout_width="fill_parent" android:layout_height="wrap_content"> <ImageView android:layout_gravity="bottom" android:layout_width="fill_parent" android:layout_height="wrap_content" android:src="@drawable/status_bar_close_on" android:scaleType="fitXY" /> </com.android.systemui.statusbar.CloseDragHandle>
and change to
<com.android.systemui.statusbar.CloseDragHandle android:layout_gravity="bottom" androidrientation="vertical" android:id="@id/close" android:background="#ee000000" android:layout_width="fill_parent" android:layout_height="32.0dip"> <ImageView android:clickable="true" android:layout_width="fill_parent" android:layout_height="32.0dip" android:src="@drawable/status_bar_close" android:scaleType="fitXY" /> </com.android.systemui.statusbar.CloseDragHandle>
-open notepad and paste
<?xml version="1.0" encoding="utf-8"?><selector xmlns:android="http://schemas.android.com/apk/res/android"> <item android:state_pressed="true" android:drawable="@drawable/status_bar_close_on" /> <item android:drawable="@drawable/status_bar_close_off" /></selector>
in it and save as an xml file with name status_bar_close in res/drawable
-open drawable-ldpi and paste
the pngs in this zip
https://www.dropbox.com/s/1c1fdhrvcsjivdx/mvss.rar?m
in res/drawable-hdpi (make a folder named so if absent) (u can also paste in drawable-ldpi but it would look far far better in drawable-hdpi)
-recompile apk
-have fun
__-----____-also know,, by using common sense and what you did in this,, you can replicate this to create any image you touch as a dynamic toggle one-----____---
(as in this case, the status bar handle turns blue when pressed)
[If you paste the status_bar_close_on.png in drawable/mdpi (created) ,, then don’t forget to delete the existing status_bar_close_on.png from drawable-ldpi]
(((((((if any one doesnt yet understand what it does,, just know that it means the status bar pull handle will turn blue when you touch it)))))))
:laugh:
some image?
desde Córdoba, Argentina mil saludos
can you provide some image please ....

[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]Tab SystemUI

Good day devs, I have something new here not new but I think it is.
What we will be doing is somehow like this, the picture at the left is my modified UI, and the right picture will be our outcome.
{
"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"
}
As I was inspired by Sir [email protected]'s SystemUI, I want to make it tab also, as I cant decompile his UI and study the code, I thought about Sir b16h22 for his Multipanelflipper, but it was text so I made it on my own class and follow some trick from evox-4 x SystemUI by the use of custom views and sorta intents like what he did. Let we mod again.
Disclaimer: I and XDA are not responsible for the damage of your phone. Take necessary backup if you are indoubt. Thanks.
What we will be needed:
Patience
APK-Tool
Algorithm
Basic smali and xml
Your very own SystemUI
Know how to decompile APK
Instruction:
1. Download the zip file from the download link.
2. Decompile your very own SystemUI.
3. Extract the download link and paste it in your UI.
4. At the ids, add these before </resources> at ids.xml under values folder
Code:
<item type="id" name="tabbutton">false</item>
5. Now we will modify your expanded,
Below this code,
Code:
<com.android.systemui.statusbar.ExpandedView android:orientation="vertical" android:focusable="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android">
Add this,
Code:
<com.pineapple.TabUI.TabButton android:layout_gravity="top" android:orientation="horizontal" android:background="#00000000" android:paddingTop="5.0dip" android:layout_width="fill_parent" android:layout_height="40.0dip" android:weightSum="3.0" android:layout_alignParentLeft="false" android:layout_alignParentRight="true" />
<com.pineapple.TabUI.TabsContent android:id="@id/tabbutton" android:background="#00000000" android:layout_width="fill_parent" android:layout_height="fill_parent">
6. And before this line
Code:
</com.android.systemui.statusbar.ExpandedView>
Add this,
Code:
</com.pineapple.TabUI.TabsContent>
7. Now this is the tricky part, as I am not familiar with the particular name of this (LinearLayout, RelativeLayout FrameLayout) ehh, you understand me what I am saying right sir?
Make the Expanded something like this,
Code:
<com.pineapple.TabUI.TabButton........../>
<com.pineapple.TabUI.TabButton...........>
<LinearLayout>First Layout</LinearLayout>
<LinearLayout>Second Layout</LinearLayout>
<LinearLayout>Third Layout</LinearLayout>
</com.pineapple.TabUI.TabsContent>
If you cant follow sirs, kindly compare it with my stock.
Code:
<com.pineapple.TabUI.TabButton android:layout_gravity="top" android:orientation="horizontal" android:background="#00000000" android:paddingTop="5.0dip" android:layout_width="140.0dip" android:layout_height="42.0dip" android:weightSum="3.0" android:layout_alignParentLeft="false" android:layout_alignParentRight="true" />
<com.pineapple.TabUI.TabsContent android:id="@id/flipper" android:background="#00000000" android:layout_width="fill_parent" android:layout_height="fill_parent">
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent">
<FrameLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0">
<ScrollView android:id="@id/scroll" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="wrap_content" android:overScrollMode="ifContentScrolls">
<com.android.systemui.statusbar.NotificationLinearLayout android:orientation="vertical" android:id="@id/notificationLinearLayout" android:layout_width="fill_parent" android:layout_height="wrap_content">
<TextView android:textSize="17.0sp" android:textStyle="normal" android:textColor="#ffffffff" android:id="@id/noNotificationsTitle" android:background="@drawable/quickpanel_title_background" android:paddingLeft="5.0dip" android:layout_width="fill_parent" android:layout_height="26.0dip" android:text="@string/status_bar_no_notifications_title" />
<TextView android:textSize="17.0sp" android:textStyle="normal" android:textColor="#ffffffff" android:id="@id/ongoingTitle" android:background="@drawable/quickpanel_title_background" android:paddingLeft="5.0dip" android:layout_width="fill_parent" android:layout_height="26.0dip" android:text="@string/status_bar_ongoing_events_title" />
<LinearLayout android:orientation="vertical" android:id="@id/ongoingItems" android:layout_width="fill_parent" android:layout_height="wrap_content" />
<TextView android:textSize="17.0sp" android:textStyle="normal" android:textColor="#ffffffff" android:id="@id/latestTitle" android:background="@drawable/quickpanel_title_background" android:paddingLeft="5.0dip" android:layout_width="fill_parent" android:layout_height="26.0dip" android:text="@string/status_bar_latest_events_title" />
<LinearLayout android:orientation="vertical" android:id="@id/latestItems" android:layout_width="fill_parent" android:layout_height="wrap_content" />
<Button android:textSize="13.0sp" android:layout_gravity="center" android:id="@id/clear_all_button" android:layout_width="85.0dip" android:layout_height="wrap_content" android:layout_marginTop="5.0dip" android:layout_marginRight="6.0dip" android:layout_marginBottom="3.0dip" android:text="Clear" android:layout_alignTop="@id/dateview" android:layout_alignParentRight="true" style="?android:attr/buttonStyleSmall" />
</com.android.systemui.statusbar.NotificationLinearLayout>
</ScrollView>
<ImageView android:layout_width="fill_parent" android:layout_height="fill_parent" android:src="@drawable/title_bar_shadow" android:scaleType="fitXY" />
</FrameLayout>
</LinearLayout>
<ScrollView android:scrollbars="none" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="wrap_content" android:overScrollMode="never">
<include layout="@layout/expanded_content3" /> [B]<!-- SecondLayout -->[/B]
</ScrollView>
<ScrollView android:scrollbars="none" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="wrap_content" android:overScrollMode="never">
<include layout="@layout/expanded_content3" /> [B]<!-- ThirdLayout -->[/B]
</ScrollView>
</com.pineapple.TabUI.TabsContent>
8. Save it, and recompile.
9. Decompile the APK again (We only did these because we register the added resources)
10. Go to public.xml and find these (the ids are bit different than yours,)
Code:
<public type="drawable" name="tab1" id="0x7f02009c" />
<public type="drawable" name="tab2" id="0x7f02009d" />
<public type="drawable" name="tab3" id="0x7f02009e" />
<public type="id" name="tabbutton" id="0x7f090029" />
11. Now here comes the smali part, Now go to smali/com/pineapple/TabUI/*
Find this smali file, TabsContent.smali
at the TabsContent.smali, find this
0x7f050001 and change it to the public id of your "<public type="id" name="tabbutton" id="0x7f090029" />" So in mine I will change 0x7f050001 to 0x7f090029
12. Open the smali file, TabButtons.smali and find this ids.
0x7f020001 and change it according to the ids of tab1, in my UI, the registered id of tab1 is 0x7f02009d so therefore, I will change 0x7f020001 to 0x7f02009c
0x7f020002 and change it according to the ids of tab2, in my UI, the registered id of tab1 is 0x7f02009d so therefore, I will change 0x7f020002 to 0x7f02009d
0x7f020003 and change it according to the ids of tab3, in my UI, the registered id of tab1 is 0x7f02009d so therefore, I will change 0x7f020003 to 0x7f02009e
13. Save everything and compile your SystemUI and push or flash it, I recommend flashing.
Download Link:
PINEAPPLEOWL
Note/Ads: Lenox V2.1 have this kind of UI.
Credits:
b16h22 for some comparison with his very own MultiPanelSwitcher
serajr for inspire for his awesome UI
LenoxDevs for there support
android.developers.com
PineappleOwl said:
Good day devs, I have something new here not new but I think it is.
What we will be doing is somehow like this, the picture at the left is my modified UI, and the right picture will be our outcome.
As I was inspired by Sir [email protected]'s SystemUI, I want to make it tab also, as I cant decompile his UI and study the code, I thought about Sir b16h22 for his Multipanelflipper, but it was text so I made it on my own class and follow some trick from evox-4 x SystemUI by the use of custom views and sorta intents like what he did. Let we mod again.
Disclaimer: I and XDA are not responsible for the damage of your phone. Take necessary backup if you are indoubt. Thanks.
What we will be needed:
Patience
APK-Tool
Algorithm
Basic smali and xml
Your very own SystemUI
Know how to decompile APK
Instruction:
1. Download the zip file from the download link.
2. Decompile your very own SystemUI.
3. Extract the download link and paste it in your UI.
4. At the ids, add these before </resources> at ids.xml under values folder
Code:
<item type="id" name="tabbutton">false</item>
5. Now we will modify your expanded,
Below this code,
Code:
<com.android.systemui.statusbar.ExpandedView android:orientation="vertical" android:focusable="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android">
Add this,
Code:
<com.pineapple.TabUI.TabButton android:layout_gravity="top" android:orientation="horizontal" android:background="#00000000" android:paddingTop="5.0dip" android:layout_width="fill_parent" android:layout_height="40.0dip" android:weightSum="3.0" android:layout_alignParentLeft="false" android:layout_alignParentRight="true" />
<com.pineapple.TabUI.TabsContent android:id="@id/tabbutton" android:background="#00000000" android:layout_width="fill_parent" android:layout_height="fill_parent">
6. And before this line
Code:
</com.android.systemui.statusbar.ExpandedView>
Add this,
Code:
</com.pineapple.TabUI.TabsContent>
7. Now this is the tricky part, as I am not familiar with the particular name of this (LinearLayout, RelativeLayout FrameLayout) ehh, you understand me what I am saying right sir?
Make the Expanded something like this,
Code:
<com.pineapple.TabUI.TabButton........../>
<com.pineapple.TabUI.TabButton...........>
<LinearLayout>First Layout</LinearLayout>
<LinearLayout>Second Layout</LinearLayout>
<LinearLayout>Third Layout</LinearLayout>
</com.pineapple.TabUI.TabsContent>
If you cant follow sirs, kindly compare it with my stock.
Code:
<com.pineapple.TabUI.TabButton android:layout_gravity="top" android:orientation="horizontal" android:background="#00000000" android:paddingTop="5.0dip" android:layout_width="140.0dip" android:layout_height="42.0dip" android:weightSum="3.0" android:layout_alignParentLeft="false" android:layout_alignParentRight="true" />
<com.pineapple.TabUI.TabsContent android:id="@id/flipper" android:background="#00000000" android:layout_width="fill_parent" android:layout_height="fill_parent">
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent">
<FrameLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0">
<ScrollView android:id="@id/scroll" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="wrap_content" android:overScrollMode="ifContentScrolls">
<com.android.systemui.statusbar.NotificationLinearLayout android:orientation="vertical" android:id="@id/notificationLinearLayout" android:layout_width="fill_parent" android:layout_height="wrap_content">
<TextView android:textSize="17.0sp" android:textStyle="normal" android:textColor="#ffffffff" android:id="@id/noNotificationsTitle" android:background="@drawable/quickpanel_title_background" android:paddingLeft="5.0dip" android:layout_width="fill_parent" android:layout_height="26.0dip" android:text="@string/status_bar_no_notifications_title" />
<TextView android:textSize="17.0sp" android:textStyle="normal" android:textColor="#ffffffff" android:id="@id/ongoingTitle" android:background="@drawable/quickpanel_title_background" android:paddingLeft="5.0dip" android:layout_width="fill_parent" android:layout_height="26.0dip" android:text="@string/status_bar_ongoing_events_title" />
<LinearLayout android:orientation="vertical" android:id="@id/ongoingItems" android:layout_width="fill_parent" android:layout_height="wrap_content" />
<TextView android:textSize="17.0sp" android:textStyle="normal" android:textColor="#ffffffff" android:id="@id/latestTitle" android:background="@drawable/quickpanel_title_background" android:paddingLeft="5.0dip" android:layout_width="fill_parent" android:layout_height="26.0dip" android:text="@string/status_bar_latest_events_title" />
<LinearLayout android:orientation="vertical" android:id="@id/latestItems" android:layout_width="fill_parent" android:layout_height="wrap_content" />
<Button android:textSize="13.0sp" android:layout_gravity="center" android:id="@id/clear_all_button" android:layout_width="85.0dip" android:layout_height="wrap_content" android:layout_marginTop="5.0dip" android:layout_marginRight="6.0dip" android:layout_marginBottom="3.0dip" android:text="Clear" android:layout_alignTop="@id/dateview" android:layout_alignParentRight="true" style="?android:attr/buttonStyleSmall" />
</com.android.systemui.statusbar.NotificationLinearLayout>
</ScrollView>
<ImageView android:layout_width="fill_parent" android:layout_height="fill_parent" android:src="@drawable/title_bar_shadow" android:scaleType="fitXY" />
</FrameLayout>
</LinearLayout>
<ScrollView android:scrollbars="none" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="wrap_content" android:overScrollMode="never">
<include layout="@layout/expanded_content3" /> [B]<!-- SecondLayout -->[/B]
</ScrollView>
<ScrollView android:scrollbars="none" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="wrap_content" android:overScrollMode="never">
<include layout="@layout/expanded_content3" /> [B]<!-- ThirdLayout -->[/B]
</ScrollView>
</com.pineapple.TabUI.TabsContent>
8. Save it, and recompile.
9. Decompile the APK again (We only did these because we register the added resources)
10. Go to public.xml and find these (the ids are bit different than yours,)
Code:
<public type="drawable" name="tab1" id="0x7f02009c" />
<public type="drawable" name="tab2" id="0x7f02009d" />
<public type="drawable" name="tab3" id="0x7f02009e" />
<public type="id" name="tabbutton" id="0x7f090029" />
11. Now here comes the smali part, Now go to smali/com/pineapple/TabUI/*
Find this smali file, TabsContent.smali
at the TabsContent.smali, find this
0x7f050001 and change it to the public id of your "<public type="id" name="tabbutton" id="0x7f090029" />" So in mine I will change 0x7f050001 to 0x7f090029
12. Open the smali file, TabButtons.smali and find this ids.
0x7f020001 and change it according to the ids of tab1, in my UI, the registered id of tab1 is 0x7f02009d so therefore, I will change 0x7f020001 to 0x7f02009c
0x7f020002 and change it according to the ids of tab2, in my UI, the registered id of tab1 is 0x7f02009d so therefore, I will change 0x7f020002 to 0x7f02009d
0x7f020003 and change it according to the ids of tab3, in my UI, the registered id of tab1 is 0x7f02009d so therefore, I will change 0x7f020003 to 0x7f02009e
13. Save everything and compile your SystemUI and push or flash it, I recommend flashing.
Download Link:
PINEAPPLEOWL
Note/Ads: Lenox V2.1 have this kind of UI.
Credits:
b16h22 for some comparison with his very own MultiPanelSwitcher
serajr for inspire for his awesome UI
LenoxDevs for there support
android.developers.com
Click to expand...
Click to collapse
Gud job buddy.. :good: :good: :good: :good: :good: :highfive: :highfive: :highfive: :highfive:
Nitzz said:
Gud job buddy.. :good: :good: :good: :good: :good: :highfive: :highfive: :highfive: :highfive:
Click to expand...
Click to collapse
Hey, dont quote the whole long post, It cause lag on tapatalk
Gửi từ Galaxy Y bằng cách sử dụng tia X truyền từ mặt trời!
here is mine haha XD
Sent from my GT-S5360 using xda premium
Sent from my GT-S5360 using xda premium
markmellarpes said:
View attachment 2370794
Sent from my GT-S5360 using xda premium
Click to expand...
Click to collapse
Cant see the picture sir. Its too blurred,eeh,im on mobile right now. But i can say your systemui is awesome.
Sent from my GT-S5360 using Tapatalk 2
Awesome Mod Dude! Will surely try it.. :good:
MuSaddiq1410 said:
Awesome Mod Dude! Will surely try it.. :good:
Click to expand...
Click to collapse
Thanks sir,and post if it works sir. Without b16h22,this will be nothing, hes awesome.
Sent from my GT-S5360 using Tapatalk 2
PineappleOwl said:
Thanks sir,and post if it works sir. Without b16h22,this will be nothing, hes awesome.
Sent from my GT-S5360 using Tapatalk 2
Click to expand...
Click to collapse
Please don't call me Sir..it feels awkward because I'm only 13 and younger than you !! XD
Anyways I will post if it works
Awesome guide! Thanks. Will try later.
Sent from my GT-S5570I using xda app-developers app
PineappleOwl said:
Cant see the picture sir. Its too blurred,eeh,im on mobile right now. But i can say your systemui is awesome.
Sent from my GT-S5360 using Tapatalk 2
Click to expand...
Click to collapse
it is because of you master haha i try to upload em 1 by 1
this guide is good so dont forget to give thanks to our master pineappleowl..haha :thumbup:
Sent from my GT-S5360 using xda premium
MuSaddiq1410 said:
Please don't call me Sir..it feels awkward because I'm only 13 and younger than you !! XD
Anyways I will post if it works
Click to expand...
Click to collapse
Even if you are younger or older, respecting is a must sir. good luck then.
m4RinKo2 said:
Awesome guide! Thanks. Will try later.
Sent from my GT-S5570I using xda app-developers app
Click to expand...
Click to collapse
post some ss if done sir please?hehe
markmellarpes said:
it is because of you master haha i try to upload em 1 by 1
View attachment 2370866
View attachment 2370868
View attachment 2370869
View attachment 2370871
View attachment 2370872
Sent from my GT-S5360 using xda premium
Click to expand...
Click to collapse
I saw it on the group master, you are awesome as usual..xD mine is imageview.
Sent from my GT-S5360 using Tapatalk 2
Can u share yr sytemui.apk bro?? @markmellarpes
ThE ROckStar said:
Can u share yr sytemui.apk bro??
Click to expand...
Click to collapse
Why sir? You can make it. if you insist,check lenox rom, it has that kind of ui.
Sent from my GT-S5360 using Tapatalk 2
PineappleOwl said:
Why sir? You can make it. if you insist,check lenox rom, it has that kind of ui.
Sent from my GT-S5360 using Tapatalk 2
Click to expand...
Click to collapse
Grow up child i was askingfor just an apk...for the sake of android dont just put guides if u cant share the apk..
And u r telling to me download whole rom for a mere apk..grow up
ThE ROckStar said:
Grow up child i was askingfor just an apk...for the sake of android dont just put guides if u cant share the apk..
And u r telling to me download whole rom for a mere apk..grow up
Click to expand...
Click to collapse
Oh sorry sir. Thats rude. You can ask in a better and respectful manner sir, here it is, sorry again.
https://db.tt/mWYO1Mni
Sent from my GT-S5360 using Tapatalk 2
PineappleOwl said:
sorry sir. Thats rude. You can ask in a better and respectful manner sir, here it is, sorry again.
https://db.tt/mWYO1Mni
Sent from my GT-S5360 using Tapatalk 2
Click to expand...
Click to collapse
srry boy that was rude..
but I like ur behaviour...
hats off...might try ur rom aswell
do you accept donations?? want to send u a beer?
ThE ROckStar said:
srry boy that was rude..
but I like ur behaviour...
hats off...
do you accept donations??
Click to expand...
Click to collapse
I dont have sir,I am still under 18. Thanks by theway. Hehe. Set aside it for your snack.
Sent using Neighbors Wifi
Lets say I was succesful in porting it on my Desire X. But how to handle the tabs?? as in, when I click the tabs how do I put something inside them? Should there be new xml files to handle it?
InfinityShooter said:
Lets say I was succesful in porting it on my Desire X. But how to handle the tabs?? as in, when I click the tabs how do I put something inside them? Should there be new xml files to handle it?
Click to expand...
Click to collapse
You can try to add another layout by making a linear layout with only height and width attrib and a nested <include layout.> something like that or you can try to make another linearlayout and put it there.
Sent using Neighbors Wifi

center clock for 8.1

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..

Categories

Resources