[Discontinued] Complete Your KitKat look [Discontinued] - Android Themes

{
"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"
}
We need
Apktool - apktool Guidehttp://forum.xda-developers.com/showpost.php?p=50181967&postcount=57
Download here: http://forum.xda-developers.com/showpost.php?p=50205159&postcount=90
or
GUI program​
Notepad++
Resources for all resolutions (PNGs & .9.PNGs)
View attachment resources_follow_KK_last.zip​
Fixed Text Fields Resources for all res (use if You have visual artifacts with )
View attachment fixed_textfield_resources_all_resolutions.zip
Fixed TAB Resources for mdpi (use if You have visual artifacts with )
View attachment fix_tab_mdpi.rar
Alternative resources for mdpi devices by @Diaz1999
http://forum.xda-developers.com/showpost.php?p=50830840&postcount=379
Thanks rush25 for support and kroz for his great work!
​
Click to expand...
Click to collapse
+ = Add or Replace
- = Remove or to be Replaced
1) Settings.apk
FIRST: ADD THE DRAWABLE-NODPI RESOURCE AND ALL OTHERS RESOURCES, ACCORDING TO YOUR RESOLUTION, INSIDE RESPECTIVE FOLDERS. CHECK ALSO OTHER FOLDERS (e.g. drawable-hdpi, drawable-xhpi TO SEE IF THERE ARE OTHER HOLO RESOURCES TO OVERWRITE!!!
\Settings\smali\com\android\settings\applications\LinearColorBar.smali
Search for (row 67 on Stock ROM)
Code:
.prologue
[B]-[/B] const v0, -0x[COLOR="red"][B]ff6634[/B][/COLOR]
Code:
.prologue
[B]+[/B] const v0, -0x[COLOR="SeaGreen"][B]333334[/B][/COLOR]
\Settings\smali\com\android\settings\applications\ManageApplications.smali
Code:
.line 914
.local v4, tabs:Landroid/support/v4/view/PagerTabStrip;
[B]-[/B] const v5, [COLOR="Red"][B]0x1060012[/B][/COLOR]
Code:
.line 914
.local v4, tabs:Landroid/support/v4/view/PagerTabStrip;
[B]+[/B] const v5, [B][COLOR="SeaGreen"]0x106000b[/COLOR][/B]
\Settings\smali\com\android\settings\applications\AppOpsSummary.smali
Code:
.line 107
.local v2, tabs:Landroid/support/v4/view/PagerTabStrip;
[B]-[/B] const v3, 0x[COLOR="Red"][B]1060012[/B][/COLOR]
Code:
.line 107
.local v2, tabs:Landroid/support/v4/view/PagerTabStrip;
[B]+[/B] const v3, 0x[COLOR="SeaGreen"][B]106000b[/B][/COLOR]
\Settings\res\drawable\data_usage_bar.xml
Code:
<item android:id="@*android:id/secondaryProgress">
<clip>
<shape>
[B]-[/B] <solid android:color="#[COLOR="Red"][B]c050ade5[/B][/COLOR]" />
Code:
<item android:id="@*android:id/secondaryProgress">
<clip>
<shape>
[B]+[/B] <solid android:color="#[COLOR="SeaGreen"][B]c0ffffff[/B][/COLOR]" />
Code:
<item android:id="@*android:id/progress">
<clip>
<shape>
[B]-[/B] <solid android:color="#[COLOR="Red"][B]c050ade5[/B][/COLOR]" />
Code:
<item android:id="@*android:id/progress">
<clip>
<shape>
[B]+[/B] <solid android:color="#[COLOR="SeaGreen"][B]c0ffffff[/B][/COLOR]" />
\Settings\res\layout\data_usage_chart.xml
Code:
[B]-[/B] <com.android.settings.widget.ChartGridView android:layout_gravity="start|bottom|center" android:id="@id/grid" android:layout_width="fill_parent" android:layout_height="fill_parent" settings:labelColor="@*android:color/[COLOR="Red"][B]holo_blue_light[/B][/COLOR]" settings:primaryDrawable="@drawable/data_grid_primary" settings:secondaryDrawable="@drawable/data_grid_secondary" settings:borderDrawable="@drawable/data_grid_border" />
[B]-[/B] <com.android.settings.widget.ChartNetworkSeriesView android:layout_gravity="start|bottom|center" android:id="@id/series" android:layout_width="fill_parent" android:layout_height="fill_parent" settings:strokeColor="@*android:color/[COLOR="Red"][B]holo_blue_light[/B][/COLOR]" settings:fillColor="#c0[COLOR="Red"][B]33b5e5[/B][/COLOR]" settings:fillColorSecondary="#66[COLOR="Red"][B]33b5e5[/B][/COLOR]" />
Code:
[B]+[/B] <com.android.settings.widget.ChartGridView android:layout_gravity="start|bottom|center" android:id="@id/grid" android:layout_width="fill_parent" android:layout_height="fill_parent" settings:labelColor="@*android:color/[COLOR="SeaGreen"][B]white[/B][/COLOR]" settings:primaryDrawable="@drawable/data_grid_primary" settings:secondaryDrawable="@drawable/data_grid_secondary" settings:borderDrawable="@drawable/data_grid_border" />
[B]+[/B] <com.android.settings.widget.ChartNetworkSeriesView android:layout_gravity="start|bottom|center" android:id="@id/series" android:layout_width="fill_parent" android:layout_height="fill_parent" settings:strokeColor="@*android:color/[COLOR="SeaGreen"][B]white[/B][/COLOR]" settings:fillColor="#c0[COLOR="SeaGreen"][B]ffffff[/B][/COLOR]" settings:fillColorSecondary="#66[COLOR="SeaGreen"][B]ffffff[/B][/COLOR]" />
\Settings\res\values\colors.xml
ADD THIS AT THE END OF THE .XML:
Code:
[B]+[/B] [COLOR="SeaGreen"][B]<item type="color" name="tab_indicator">@*android:color/white</item>[/B][/COLOR]
2) framework-res.apk
FIRST: ADD THE DRAWABLE-NODPI RESOURCE AND ALL OTHERS RESOURCES, ACCORDING TO YOUR RESOLUTION, INSIDE RESPECTIVE FOLDERS. CHECK ALSO OTHER FOLDERS (e.g. drawable-hdpi, drawable-xhpi TO SEE IF THERE ARE OTHER HOLO RESOURCES TO OVERWRITE!!!
framework-res\res\layout\alert_dialog_holo.xml
Code:
[B]-[/B] <View android:id="@id/titleDividerTop" android:background="@color/[COLOR="Red"][B]holo_blue_light[/B][/COLOR]" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="2.0dip" />
Code:
[B]+[/B] <View android:id="@id/titleDividerTop" android:background="@color/[COLOR="SeaGreen"][B]default_dialog_divider_holo_light[/B][/COLOR]" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="2.0dip" />
Code:
[B]-[/B] <View android:id="@id/titleDivider" android:background="@color/[COLOR="red"][B]holo_blue_light[/B][/COLOR]" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="2.0dip" />
Code:
[B]+[/B] <View android:id="@id/titleDivider" android:background="@color/[COLOR="SeaGreen"][B]default_dialog_divider_holo_light[/B][/COLOR]" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="2.0dip" />
framework-res\res\layout\immersive_mode_cling.xml
Code:
<TextView android:textSize="16.0sp" android:textColor="#80[COLOR="Red"][B]000000[/B][/COLOR]" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/immersive_mode_confirmation" />
Code:
<TextView android:textSize="16.0sp" android:textColor="#80[COLOR="SeaGreen"][B]ffffff[/B][/COLOR]" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/immersive_mode_confirmation" />
framework-res\res\values\colors.xml
ADD THIS AT THE END OF THE XML:
Code:
[B]+[/B] [COLOR="SeaGreen"][B]<color name="default_dialog_text_holo_dark">@android:color/background_holo_light</color>[/B][/COLOR]
[B]+[/B] [COLOR="SeaGreen"][B]<color name="default_dialog_text_holo_light">@android:color/background_holo_dark</color>[/B][/COLOR]
[B]+[/B] [COLOR="SeaGreen"][B]<color name="default_dialog_divider_holo_dark">@android:color/background_holo_light</color>[/B][/COLOR]
[B]+[/B] [COLOR="SeaGreen"][B]<color name="default_dialog_divider_holo_light">#ffacacac</color>[/B][/COLOR]
Code:
- <color name="holo_blue_light">#ff[COLOR="Red"][B]33b5e5[/B][/COLOR]</color>
Code:
+ <color name="holo_blue_light">#ff[B][COLOR="SeaGreen"]bdbdbd[/COLOR][/B]</color>
Code:
- <color name="highlighted_text_holo_dark">#66[COLOR="Red"][B]33b5e5[/B][/COLOR]</color>
- <color name="highlighted_text_holo_light">#66[B][COLOR="Red"]33b5e5[/COLOR][/B]</color>
Code:
+ <color name="highlighted_text_holo_dark">#66[COLOR="SeaGreen"][B]ffffff[/B][/COLOR]</color>
+ <color name="highlighted_text_holo_light">#66[COLOR="SeaGreen"][B]000000[/B][/COLOR]</color>
framework-res\res\values\styles.xml
Code:
<style name="TextAppearance.Holo.DialogWindowTitle" parent="@style/TextAppearance.Holo">
<item name="textSize">22.0sp</item>
[B]-[/B] <item name="textColor">@color/[COLOR="red"][B]holo_blue_light[/B][/COLOR]</item>
</style>
Code:
<style name="TextAppearance.Holo.DialogWindowTitle" parent="@style/TextAppearance.Holo">
<item name="textSize">22.0sp</item>
[B]+[/B] <item name="textColor">@color/[COLOR="SeaGreen"][B]default_dialog_text_holo_dark[/B][/COLOR]</item>
</style>
Code:
<style name="TextAppearance.Holo.Light.DialogWindowTitle" parent="@style/TextAppearance.Holo.Light">
<item name="textSize">22.0sp</item>
[B]-[/B] <item name="textColor">@color/[COLOR="Red"][B]holo_blue_light[/B][/COLOR]</item>
</style>
Code:
<style name="TextAppearance.Holo.Light.DialogWindowTitle" parent="@style/TextAppearance.Holo.Light">
<item name="textSize">22.0sp</item>
[B]+[/B] <item name="textColor">@color/[COLOR="SeaGreen"][B]default_dialog_text_holo_light[/B][/COLOR]</item>
</style>
Code:
- <style name="Widget.Holo.Light.ProgressBar.Horizontal" parent="@style/Widget[COLOR="Red"][B].Holo[/B][/COLOR].ProgressBar.Horizontal">
<item name="progressDrawable">@drawable/progress_horizontal_holo_light</item>
</style>
Code:
<style name="Widget.Holo.Light.ProgressBar.Horizontal" parent="@style/Widget.ProgressBar.Horizontal">
[B]+[/B] [COLOR="SeaGreen"][B]<item name="maxHeight">16.0dip</item>[/B][/COLOR]
[B]+[/B] [COLOR="SeaGreen"][B]<item name="indeterminateDrawable">@drawable/progress_indeterminate_horizontal_holo_light</item>[/B][/COLOR]
<item name="progressDrawable">@drawable/progress_horizontal_holo_light</item>
[B]+[/B][COLOR="SeaGreen"][B] <item name="minHeight">16.0dip</item>[/B][/COLOR]
</style>
Code:
<style name="Widget.Holo.Light.SeekBar" parent="@style/Widget.Holo.SeekBar">
<item name="indeterminateDrawable">@drawable/scrubber_progress_horizontal_holo_light</item>
<item name="progressDrawable">@drawable/scrubber_progress_horizontal_holo_light</item>
[B]+[/B] [COLOR="SeaGreen"][B] <item name="android:thumb">@android:drawable/scrubber_control_selector_holo_light</item>[/B][/COLOR]
</style>
<! ---Fixes for tab Indicators on light layouts (see screenshots) (thanks @Diaz1999 --- !>
Follow this:
v1 - http://forum.xda-developers.com/showpost.php?p=51444245&postcount=475
Then This:
v2 - http://forum.xda-developers.com/showpost.php?p=52502121&postcount=593
framework-res\res\values\drawables.xml
Code:
[B]-[/B] <item type="drawable" name="notification_template_icon_bg">#[COLOR="Red"][B]3333b5e5[/B][/COLOR]</item>
Code:
[B]+[/B] <item type="drawable" name="notification_template_icon_bg">#[COLOR="SeaGreen"][B]00000000[/B][/COLOR]</item>
framework-res\res\drawable\scrubber_progress_horizontal_holo_light.xml
Code:
<item android:id="@id/secondaryProgress">
[B]-[/B] <scale android:drawable="@drawable/[COLOR="Red"][B]scrubber_secondary_holo[/B][/COLOR]" android:scaleWidth="100%" />
</item>
<item android:id="@id/progress">
[B]-[/B] <scale android:drawable="@drawable/[COLOR="Red"][B]scrubber_primary_holo[/B][/COLOR]" android:scaleWidth="100%" />
Code:
<item android:id="@id/secondaryProgress">
[B]+[/B] <scale android:drawable="@drawable/[COLOR="SeaGreen"][B]scrubber_secondary_holo_light[/B][/COLOR]" android:scaleWidth="100%" />
</item>
<item android:id="@id/progress">
[B]+[/B] <scale android:drawable="@drawable/[COLOR="SeaGreen"][B]scrubber_primary_holo_light[/B][/COLOR]" android:scaleWidth="100%" />
3) SystemUI
SystemUI\res\layout\status_bar_no_recent_apps.xml
Code:
[B]-[/B] <TextView android:textSize="20.0dip" android:textColor="@*android:color/[COLOR="Red"][B]holo_blue_light[/B][/COLOR]" android:gravity="center_horizontal" android:layout_gravity="center" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/status_bar_no_recent_apps" />
Code:
[B]+[/B] <TextView android:textSize="20.0dip" android:textColor="@*android:color/[COLOR="SeaGreen"][B]white[/B][/COLOR]" android:gravity="center_horizontal" android:layout_gravity="center" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/status_bar_no_recent_apps" />
4) GoogleDialer
GoogleDialer/res/values/colors.xml
Code:
[B]-[/B] <color name="incall_call_banner_background">#a0[COLOR="Red"][B]000000[/B][/COLOR]</color>
Code:
[B]+[/B] <color name="incall_call_banner_background">#a0[COLOR="SeaGreen"][B]e5e5e5[/B][/COLOR]</color>
Alternative, for Aosp Roms, to Slim Commit:
@fritzhy
http://forum.xda-developers.com/showpost.php?p=51042091&postcount=412
@rush25
http://forum.xda-developers.com/showpost.php?p=51047209&postcount=414
http://forum.xda-developers.com/showpost.php?p=51049946&postcount=418
Code:
[B]-[/B] <color name="dialpad_background">#ff[COLOR="Red"][B]000000[/B][/COLOR]</color>
Code:
[B]+[/B] <color name="dialpad_background">#ff[COLOR="SeaGreen"][B]e5e5e5[/B][/COLOR]</color>
Code:
[B]-[/B] <color name="incall_secondary_info_background">#80[COLOR="Red"][B]33b5e5[/B][/COLOR]</color>
Code:
[B]+[/B] <color name="incall_secondary_info_background">#80[COLOR="SeaGreen"][B]e5e5e5[/B][/COLOR]</color>
Code:
[B]-[/B] <color name="incall_call_banner_text_color">#ff[COLOR="Red"][B]ffffff[/B][/COLOR]</color>
Code:
[B]+[/B] <color name="incall_call_banner_text_color">#ff[COLOR="SeaGreen"][B]404040[/B][/COLOR]</color>
Code:
[B]-[/B] <color name="dtmf_dialer_display_text">#ff[COLOR="Red"][B]ffffff[/B][/COLOR]</color>
Code:
[B]+[/B] <color name="dtmf_dialer_display_text">#ff[COLOR="SeaGreen"][B]404040[/B][/COLOR]</color>
Code:
[B]-[/B] <color name="dialtacts_primary_text_color">#ff[COLOR="Red"][B]000000[/B][/COLOR]</color>
Code:
[B]+[/B] <color name="dialtacts_primary_text_color">#ff[COLOR="SeaGreen"][B]111111[/B][/COLOR]</color>
Code:
[B]-[/B] <color name="dialpad_text_color">#ff[COLOR="Red"][B]ffffff[/B][/COLOR]</color>
Code:
[B]+[/B] <color name="dialpad_text_color">#ff[COLOR="SeaGreen"][B]404040[/B][/COLOR]</color>
Code:
[B]-[/B] <color name="call_log_voicemail_highlight_color">#ff[COLOR="Red"][B]33b5e5[/B][/COLOR]</color>
Code:
[B]+[/B] <color name="call_log_voicemail_highlight_color">#ff[COLOR="SeaGreen"][B]404040[/B][/COLOR]</color>
Code:
[B]-[/B] <color name="background_dialer_list_items">#ff[COLOR="Red"][B]eeeeee[/B][/COLOR]</color>
[B]-[/B] <color name="background_dialpad">#[COLOR="red"][B]f2020709[/B][/COLOR]</color>
[B]-[/B] <color name="dialpad_primary_text_color">#ff[COLOR="red"][B]33b5e5[/B][/COLOR]</color>
<color name="dialpad_secondary_text_color">#ffaaaaaa</color>
[B]-[/B] <color name="actionbar_background_color">#ff[COLOR="Red"][B]ffffff[/B][/COLOR]</color>
Code:
[B]+[/B] <color name="background_dialer_list_items">#ff[COLOR="SeaGreen"][B]f5f5f5[/B][/COLOR]</color>
[B]+[/B] <color name="background_dialpad">#[COLOR="SeaGreen"][B]ffe5e5e5[/B][/COLOR]</color>
[B]+[/B] <color name="dialpad_primary_text_color">#ff[COLOR="SeaGreen"][B]404040[/B][/COLOR]</color>
<color name="dialpad_secondary_text_color">#ffaaaaaa</color>
[B]+[/B] <color name="actionbar_background_color">#ff[COLOR="SeaGreen"][B]e6e6e6[/B][/COLOR]</color>
Code:
[B]-[/B] <color name="secondary_text_color">#ff[COLOR="Red"][B]888888[/B][/COLOR]</color>
Code:
[B]+[/B] <color name="secondary_text_color">#ff[COLOR="SeaGreen"][B]777777[/B][/COLOR]</color>
GoogleDialer/res/values/drawables.xml
Code:
[B]-[/B] <item type="drawable" name="grayBg">#ff[COLOR="Red"][B]333333[/B][/COLOR]</item>
Code:
[B]+[/B] <item type="drawable" name="grayBg">#ff[COLOR="SeaGreen"][B]e5e5e5[/B][/COLOR]</item>
If, during recompilation, You get some errors like this
Solution:
Just open the FOLDER and search for the STRING that gives the error and put formatted="false", like this:
Code:
[B]-[/B] <string name="throttle_time_frame_subtext">"%1$d % des Zyklus sind verstrichen. [U]<!-- line n°193 -->[/U]
Der nächste Zeitraum beginnt in %2$d Tagen (%3$s)."</string> [U]<!-- line n°194 -->[/U]
Code:
[B]+[/B] <string [COLOR="SeaGreen"][B]formatted="false"[/B][/COLOR] name="throttle_time_frame_subtext">"%1$d % des Zyklus sind verstrichen. [U]<!-- line n°193 -->[/U]
Der nächste Zeitraum beginnt in %2$d Tagen (%3$s)."</string> [U]<!-- line n°194 -->[/U]
5) TeleService (Emergency Dialer)
JUST ADD THE RESOURCES PROVIDED YOU WILL HAVE THE SAME COMPILATION ERRORS AS FOR GoogleDialer!
7) DeskClockGoogle
JUST ADD THE RESOURCES PROVIDED
8) Mms
FIRST: ADD THE RESOURCES PROVIDED
Mms\res\values\colors.xml
Code:
[B]-[/B] <color name="banner_item_pressed">#67[COLOR="Red"][B]33b5e5[/B][/COLOR]</color>
Code:
[B]+[/B] <color name="banner_item_pressed">#67[COLOR="SeaGreen"][B]404040[/B][/COLOR]</color>
10) (AOSP)browser
JUST ADD THE RESOURCES PROVIDED
<!--- You want more White (e.g. white settings ui)????? Then follow these guidelines by @donjamal ! ---!>
http://forum.xda-developers.com/nexus-4/themes-apps/guide-theming-stock-android-t2616963
[/CENTER]

Make the Contextual ActionBar background follow the ActionBar background
framework-res.apk/res/values/styles.xml
Code:
<style name="Theme.Holo" parent="@style/Theme">
=˄=
- <item name="actionBarStyle">@style/[COLOR="Red"]Widget.Holo.ActionBar[/COLOR]</item>
+ <item name="actionBarStyle">@style/[COLOR="green"]Widget.Holo.ActionBar.Solid[/COLOR]</item>
=˅=
</style>
Code:
<style name="Theme.Holo.Light.DarkActionBar" parent="@style/Theme.Holo.Light">
=˄=
- <item name="actionModeSplitBackground">@drawable/[COLOR="Red"]cab_background_bottom_holo_dark[/COLOR]</item>
+ <item name="actionModeSplitBackground">@drawable/[COLOR="Green"]cab_background_bottom_holo_inverse[/COLOR]</item>
=˅=
</style>
framework-res.apk/res/values/drawables.xml
Code:
=˄=
+ [COLOR="Green"]<item type="drawable" name="cab_background_top_holo_dark">@drawable/ab_solid_dark_holo</item>[/COLOR]
+ [COLOR="green"]<item type="drawable" name="cab_background_top_holo_light">@drawable/ab_solid_light_holo</item>[/COLOR]
+ [COLOR="green"]<item type="drawable" name="cab_background_bottom_holo_dark">@drawable/ab_bottom_solid_dark_holo</item>[/COLOR]
+ [COLOR="green"]<item type="drawable" name="cab_background_bottom_holo_light">@drawable/ab_bottom_solid_light_holo</item>[/COLOR]
+ [COLOR="green"]<item type="drawable" name="cab_background_bottom_holo_inverse">@drawable/ab_bottom_solid_inverse_holo</item>[/COLOR]
=˅=
framework-res.apk/res/drawable-**dpi/
Code:
=˄=
button_onoff_indicator_on.png
- [COLOR="red"]cab_background_bottom_holo_dark.9.png[/COLOR]
- [COLOR="red"]cab_background_bottom_holo_light.9.png[/COLOR]
- [COLOR="Red"]cab_background_top_holo_dark.9.png[/COLOR]
- [COLOR="red"]cab_background_top_holo_light.9.png[/COLOR]
call_contact.png
=˅=
Alternate style for Switch
Screenshot at post #678
framework-res.apk/res/values/styles.xml
Code:
<style name="TextAppearance.Holo.Widget.Switch" parent="@style/TextAppearance.Holo.Small">
- <item name="textColor">@color/[COLOR="Red"]secondary_text_holo_dark[/COLOR]</item>
+ <item name="textColor">@color/[COLOR="Green"]switch_text_holo_dark[/COLOR]</item>
</style>
Code:
<style name="TextAppearance.Holo.Light.Widget.Switch" parent="@style/TextAppearance.Holo.Small">
- <item name="textColor">@color/[COLOR="Red"]primary_text_holo_dark[/COLOR]</item>
+ <item name="textColor">@color/[COLOR="Green"]switch_text_holo_light[/COLOR]</item>
</style>
And extract the switch_alternate resources below to the correct location

wow bro awesome guide thanks a lot
Sent from my Nexus 4 using XDA Premium 4 mobile app

Credits, Downloads and Screenshots
Once done just flash themed .apk via recovery using this template. Put the recompiled files inside:
Follow_KK_UI.zip\system\priv-app\Settings.apk
Follow_KK_UI.zip\system\priv-app\SystemUI.apk
Follow_KK_UI.zip\system\priv-app\GoogleDialer.apk
Follow_KK_UI.zip\system\priv-app\TeleService.apk
Follow_KK_UI.zip\system\priv-app\Mms.apk
Follow_KK_UI.zip\system\framework\framework-res.apk
Follow_KK_UI.zip\system\app\DeskClockGoogle.apk
View attachment 2572657
HOW TO THEME YOUR KITKAT LIKE A KITKAT!!!!
Credits:
- @ivn888
- @memnoc
- @iBotPeaches
- @kroz
- SlimRoms Team
- @rush25
- @BaNkS
- @snak3ater
- @Rodger_Rulez
http://forum.xda-developers.com/showpost.php?p=50237756&postcount=128
- @fritzhy
- @mrjaydee82 for support
- @Etihad
- AOKP.co Team
- Androguide.fr
- @moneyolo
- @fritzhy
- @engraver65
- @Gingerbread1611
- @logonaniket
- @Diaz1999
- @Koragg618
- @core720
- @Notonlyeyes
- @HaGii
- @rahil3108
- @Navneet Suresh for mirror
- @nemofbaby2010 for the gui apktool hint
- @RK
✪DONATORS✪
- @sirbanger
- a Guest member
CyanogenMod 11 Theme (HDPI , XHDPI & XXHDPI) by @rush25 & @hemantv
Please, thank them:
http://forum.xda-developers.com/showthread.php?t=2685553
http://forum.xda-developers.com/goo...heme-kitkat-ui-0-3-goodbye-holo-blue-t2718202​
Other Nexus Devices
N4 STOCK ROMs DEODEXED
http://forum.xda-developers.com/nexus-4/themes-apps/theme-stock-white-holo-theme-build-1-t2619037
(xhdpi) Separate N4 flashable DIALER by @ivn888 :
https://www.dropbox.com/s/maofxk9br9iygxy/Dialer_N4.zip
! Notes !
1. These mods are flashable via a recovery;
2. These mods are ONLY for KOT49H STOCK ROMs deodexed and Cataclysm ROM;
3. You can flash the MODs for STOCK ROM DEODEXED over all untouched stock Roms, also ODEX, just delete the .odex of Settings, GoogleDialer, Systemui, framework-res and TeleService .apks (Kangakat etc etc);
How to flash deodexed on odexed
4. "Can I flash over AOSPs?" Absolutely not!!!!!;
5. Can I flash an old mod on a newest Aosp Build (PA, CM etc) Roms: NOOOOOO;
6. "What Happens if I ignore Your warnings" Simple: Bootloop!;
7. "Can we use Your files in our ROM ?" Sure but give me mention/credits/link_to_this_thread if You use my guide to theme Your Rom or the files I provided. Please consider also to mention kroz and others for their hard work.;
SCREENSHOTS (Click to Show)

Good job enricocid
Very well written and I'm sure this will come in handy for many people!!

I have applied all the changes to a SGS2 ROM with JB 4.1.2 Touchwiz, and now is like Kit Kat.
Thanks for your work.

Would there be any chance for a tutorial (instructions) to change the settings etc from black to white? White settings etc would finish the design finaly!
Thanks!

tallo03 said:
Would there be any chance for a tutorial (instructions) to change the settings etc from black to white? White settings etc would finish the design finaly!
Thanks!
Click to expand...
Click to collapse
to change the settings background (from grey to white) You can follow this guide
http://forum.xda-developers.com/nexus-4/themes-apps/how-to-change-framework-background-t2464388

tallo03 said:
Would there be any chance for a tutorial (instructions) to change the settings etc from black to white? White settings etc would finish the design finaly!
Thanks!
Click to expand...
Click to collapse
you can also follow this guide
or you can flash my mods from here (white settings) and here (eXperiaNcre Red theme)

@enricocid What are the rom requirements, Android 4.0+?

guide was smooth No confusion what so ever for the first time editing smali!!!

My device is running touchwiz 4.1, but not all has changed like the screentshots above.

Might be because you are not running KitKat?!
Sent via GALAXY NOTE N7000 // KitKat

Aiko0923 said:
@enricocid What are the rom requirements, Android 4.0+?
Click to expand...
Click to collapse
i did this guide to complete the look on KitKat, but you can theme also Jellybean

enricocid said:
i did this guide to complete the look on KitKat, but you can theme also Jellybean
Click to expand...
Click to collapse
I done it on TW 4.1.2 and all is working like the screenshots.
Enviado desde mi GT-I9100 mediante Tapatalk
---------- Post added at 09:24 AM ---------- Previous post was at 08:59 AM ----------
Geddd said:
My device is running touchwiz 4.1, but not all has changed like the screentshots above.
Click to expand...
Click to collapse
First you have to follow this guide:http://forum.xda-developers.com/showthread.php?t=2531813 Then you can apply the changes of the OT.

- ADDED DIALER INSTRUCTIONS
- UPDATED RESOURCES WITH DIALER ONES
- UPDATED FOLLOW KK UI MOD FOR NEXUS 5!!

Added also a cataclysm theme for nexus 5 users in op!

enricocid said:
Added also a cataclysm theme for nexus 5 users in op!
Click to expand...
Click to collapse
Thank you so much
Sent from my Nexus 5 using XDA Premium 4 mobile app

Awesome work!
Sent from my Nexus 5 using Tapatalk

Added a separate package for Dialer

Related

[GUIDE] Tips for themers :)

Hi guys it's time to share some of my tips with all themers
1) transparent/custom settings - from meziu and miui
a) transparent
open themes.xml with a good text editor
{
"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"
}
Code:
<style name="Theme" parent="@android:style/Theme">
<item name="android:colorBackground">@android:color/transparent</item>
<item name="android:windowBackground">@drawable/background_own</item>
<item name="android:windowShowWallpaper">true</item>
</style>
Now you have to fix blank screen in video-camera and small popups:
Code:
<style name="Theme.NoTitleBar" parent="@android:style/Theme">
<item name="android:windowShowWallpaper">false</item>
</style>
<style name="Theme.Black" parent="@android:style/Theme">
<item name="android:colorBackground">@android:color/black</item>
<item name="android:windowBackground">@drawable/background_own</item>
<item name="android:windowShowWallpaper">false</item>
</style>
<style name="Theme.Light" parent="@android:style/Theme">
<item name="android:windowShowWallpaper">false</item>
</style>
<style name="Theme.Translucent" parent="@android:style/Theme">
<item name="android:windowShowWallpaper">false</item>
</style>
<style name="Theme.NoDisplay" parent="@android:style/Theme">
<item name="android:windowShowWallpaper">false</item>
</style>
<style name="Theme.Panel" parent="@android:style/Theme">
<item name="android:windowShowWallpaper">false</item>
</style>
It's time to fix email, cos it looks weird with transparent bg:
themes.xml:
Code:
<style name="ThemeNoTitleBar.Email" parent="@android:style/Theme.NoTitleBar">
<item name="android:colorBackground">@android:color/black</item>
<item name="android:windowBackground">@android:color/black</item>
<item name="android:windowNoTitle">true</item>
<item name="android:windowContentOverlay">@null</item>
</style>
com_android_email.xml:
Code:
<resource-redirections>
<item name="style/ThemeNoTitleBar">@style/ThemeNoTitleBar.Email</item>
</resource-redirections>
Finally we should fix youtube, cos nobody likes transparent bg during watching video clips in full screen mode
themes.xml:
Code:
<style name="Theme.Youtube" parent="@android:style/Theme">
<item name="android:windowBackground">@android:color/black</item>
</style>
com_google_android_youtube.xml:
Code:
<resource-redirections>
<item name="style/Theme">@style/Theme.Youtube</item>
</resource-redirections>
b) custom
Code:
<style name="Theme" parent="@android:style/Theme">
<item name="android:colorBackground">@android:color/transparent</item>
<item name="android:windowBackground">@drawable/background_own</item>
</style>
Nothing else needs to be fixed
2) description color - also known from miui (orange) and meizu (blue)
open colors.xml with a good text editor
Code:
<resources>
<color name="dim_foreground_dark">#ff_your_color</color>
<color name="dim_foreground_dark_disabled">#80_your_color</color>
<color name="dim_foreground_light_inverse">#ff_your_color</color>
<color name="dim_foreground_light_inverse_disabled">#80_your_color</color>
</resources>
3) big ics window title
open themes.xml with a good text editor
Code:
<style name="Theme" parent="@android:style/Theme">
<item name="android:windowTitleSize">50.0dip</item>
</style>
<style name="TextAppearance.WindowTitle" parent="@android:style/TextAppearance">
<item name="android:textSize">21.0sp</item>
<item name="android:textStyle">normal</item>
<item name="android:textColor">#ffffffff</item>
</style>
4) ics blue popup title
open themes.xml with a good text editor
Code:
<style name="Theme.Dialog" parent="@android:style/Theme">
<item name="android:textColorPrimary">@color/primary_text_dark_holo</item>
</style>
primary_text_dark_holo.xml
Code:
<selector
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_enabled="false" android:color="#80ffffff" />
<item android:state_window_focused="false" android:color="#ff33b5e5" />
<item android:state_pressed="true" android:color="#ff000000" />
<item android:state_selected="true" android:color="#ff000000" />
<item android:state_focused="true" android:color="#ff000000" />
<item android:color="#ff33b5e5" />
</selector>
5) withe text for buttons only
open themes.xml with a good text editor
Code:
<style name="Widget.Button" parent="@android:style/Widget">
<item name="android:textAppearance">?android:textAppearanceSmallInverse</item>
<item name="android:textColor">@color/primary_text_light_holo</item>
<item name="android:gravity">center</item>
<item name="android:background">@android:drawable/btn_default</item>
<item name="android:focusable">true</item>
<item name="android:clickable">true</item>
</style>
primary_text_light_holo.xml
Code:
<selector
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_enabled="false" android:color="@color/white_disabled" />
<item android:state_window_focused="false" android:color="@color/white" />
<item android:state_pressed="true" android:color="@color/white" />
<item android:state_selected="true" android:color="@color/white" />
<item android:color="@color/white" />
</selector>
6) selected text color
open themes.xml with a good text editor
Code:
<style name="TextAppearance" parent="@android:style/TextAppearance">
<item name="android:textSize">16.0sp</item>
<item name="android:textStyle">normal</item>
<item name="android:textColor">?android:textColorPrimary</item>
<item name="android:textColorHighlight">#ff33b5e5</item>
<item name="android:textColorHint">?android:textColorHint</item>
<item name="android:textColorLink">#ff33b5e5</item>
</style>
7) light text on dark popups - it's new I used it for my ICS theme
a) 1st window
open themes.xml with a good text editor
Code:
<style name="TextAppearance.Large.Inverse" parent="@android:style/TextAppearance.Large">
<item name="android:textColor">#ffffffff</item>
<item name="android:textColorHint">#ff000000</item>
</style>
b) 2nd window - thanks to donhu for finding xml
select_dialog_item.xml
Code:
<TextView android:textAppearance="?android:textAppearanceLarge" android:textColor="@color/primary_text_light_holo_only" android:ellipsize="marquee" android:gravity="center_vertical" android:id="@android:id/text1" android:paddingLeft="14.0dip" android:paddingRight="15.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:minHeight="?android:listPreferredItemHeight"
xmlns:android="http://schemas.android.com/apk/res/android" />
select_dialog_multichoice.xml
Code:
<CheckedTextView android:textAppearance="?android:textAppearanceLarge" android:textColor="@color/primary_text_light_holo_only" android:ellipsize="marquee" android:gravity="center_vertical" android:id="@android:id/text1" android:paddingLeft="12.0dip" android:paddingRight="7.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:checkMark="@drawable/btn_check" android:minHeight="?android:listPreferredItemHeight"
xmlns:android="http://schemas.android.com/apk/res/android" />
select_dialog_singlechoice.xml
Code:
<CheckedTextView android:textAppearance="?android:textAppearanceLarge" android:textColor="@color/primary_text_light_holo_only" android:ellipsize="marquee" android:gravity="center_vertical" android:id="@android:id/text1" android:paddingLeft="12.0dip" android:paddingRight="7.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:checkMark="@drawable/btn_radio" android:minHeight="?android:listPreferredItemHeight"
xmlns:android="http://schemas.android.com/apk/res/android" />
primary_text_light_holo_only.xml
Code:
<selector
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_enabled="false" android:color="#ffe6e6e6" />
<item android:color="#ffffffff" />
</selector>
c) 3th window
open themes.xml with a good text editor
Code:
<style name="Widget.DropDownItem.Spinner" parent="@android:style/Widget.DropDownItem">
<item name="android:textAppearance">@style/TextAppearance.Widget.DropDownItem.Holo</item>
<item name="android:checkMark">@drawable/btn_radio</item>
</style>
<style name="TextAppearance.Widget.DropDownItem.Holo" parent="@android:style/TextAppearance.Widget">
<item name="android:textColor">#ffffffff</item>
</style>
8) other app windows
a) widgetpicker - settings.apk
appwidgetpicker.xml
Code:
<RelativeLayout android:orientation="horizontal" android:paddingTop="2.0dip" android:paddingBottom="2.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content"
xmlns:android="http://schemas.android.com/apk/res/android">
<ImageView android:id="@id/appwidgetpicker_imageview" android:layout_width="48.0dip" android:layout_height="48.0dip" android:layout_marginLeft="10.0dip" android:layout_marginTop="2.0dip" android:layout_marginBottom="2.0dip" android:src="@drawable/icon" />
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginLeft="10.0dip" android:layout_marginTop="2.0dip" android:layout_marginBottom="2.0dip" android:layout_toRightOf="@id/appwidgetpicker_imageview" android:layout_centerVertical="true">
<TextView android:textSize="20.0dip" android:textColor="?android:textAppearanceLargeInverse" android:id="@id/appwidgetpicker_textview" android:layout_width="fill_parent" android:layout_height="wrap_content" />
<TextView android:textSize="13.0dip" android:textColor="?android:textAppearanceLargeInverse" android:id="@id/appwidgetpicker_count" android:layout_width="fill_parent" android:layout_height="wrap_content" />
</LinearLayout>
</RelativeLayout>
b) smiley menu - mms.apk/talk.apk
smiley_menu_item.xml
Code:
<LinearLayout android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="?android:listPreferredItemHeight"
xmlns:android="http://schemas.android.com/apk/res/android">
<ImageView android:layout_gravity="center_vertical" android:id="@id/smiley_icon" android:layout_width="20.0dip" android:layout_height="20.0dip" android:layout_marginLeft="18.0dip" />
<TextView android:textAppearance="?android:textAppearanceLargeInverse" android:layout_gravity="center_vertical" android:id="@id/smiley_name" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_marginLeft="15.0dip" android:singleLine="true" android:layout_weight="1.0" />
<TextView android:textAppearance="?android:textAppearanceLargeInverse" android:layout_gravity="center_vertical" android:id="@id/smiley_text" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="10.0dip" android:singleLine="true" />
</LinearLayout>
c) alarm background - deskclock.apk
clock_selector.xml
Code:
<selector
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="false" android:drawable="@android:color/transparent" />
<item android:state_pressed="true" android:drawable="@drawable/list_selector_background_pressed" />
</selector>
alarm_time.xml
Code:
<LinearLayout android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content"
xmlns:android="http://schemas.android.com/apk/res/android">
<com.android.deskclock.DontPressWithParentLayout android:gravity="center" android:orientation="vertical" android:id="@id/indicator" android:background="@drawable/clock_selector" style="@style/alarm_list_left_column">
<CheckBox android:layout_gravity="center" android:id="@id/clock_onoff" android:background="@drawable/indicator_clock_onoff" android:focusable="false" android:clickable="false" android:duplicateParentState="true" android:layout_width="wrap_content" android:layout_height="wrap_content" android:button="@null" />
<ImageView android:layout_gravity="center" android:id="@id/bar_onoff" android:paddingTop="4.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_indicator_off" />
</com.android.deskclock.DontPressWithParentLayout>
<ImageView android:gravity="fill_vertical" android:background="@android:color/transparent" android:paddingTop="4.0dip" android:paddingBottom="4.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/divider_vertical_dark" android:scaleType="fitXY" />
<com.android.deskclock.DigitalClock android:gravity="center_vertical" android:orientation="vertical" android:id="@id/digitalClock" android:paddingLeft="16.0dip" android:paddingRight="16.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_weight="1.0">
<LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:baselineAligned="true">
<TextView android:textSize="28.0sp" android:textColor="?android:textColorPrimary" android:id="@id/timeDisplay" android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:includeFontPadding="false" />
<TextView android:textAppearance="?android:textAppearanceSmall" android:textStyle="bold" android:textColor="?android:textColorPrimary" android:id="@id/am_pm" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<TextView android:textAppearance="?android:textAppearanceSmall" android:textStyle="bold" android:textColor="?android:textColorTertiary" android:gravity="right" android:id="@id/label" android:paddingLeft="8.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" android:layout_weight="1.0" />
</LinearLayout>
<TextView android:textAppearance="?android:textAppearanceSmall" android:textColor="?android:textColorSecondary" android:id="@id/daysOfWeek" android:layout_width="fill_parent" android:layout_height="wrap_content" android:includeFontPadding="false" />
</com.android.deskclock.DigitalClock>
</LinearLayout>
All I ask for is tying some credits using it
This is useful! Thanks, anyway, will some of this mod will work on ICS??
Sent from my Galaxy S i9000 with ICS Build 10 + 1.5ghz OC!!!
What to say to u mate, u r just awesome. Thank u very much for everything you did for me + this
All the best,
Vert
Isn't this guy just amazing?
Great work Ma man.
You're AWESOME Zdune, THANKS!!!
arzbhatia said:
Isn't this guy just amazing?
Great work Ma man.
Click to expand...
Click to collapse
His 100% a themer machine lol...
Sent from my Galaxy S i9000 with ICS Build 10 + 1.5ghz OC!!!
it is only possible in CM7
how to change black setting background in stock android 2.3 roms
Very Useful ! Thanks guy
and please post tutorial for how to change
poweroff menu text background
Just awesome!
This should be a sticky thread
Regards, D_d
you should also mention where to find each .xml, inframework-res.apk, in email.apk, etc..
Thanks for this! Your the man. Happy Holidays!
Sent from my Nexus S 4G using Tapatalk
@chrisrotolo good themers will know where to find correct files
Nice work, zdune, nice to know there's a place where you can find more detailed theming instructions.
Sent from my HTC_Amaze_4G using XDA App
I report to mod to make this sticky!
Sent from my Galaxy S i9000 with ICS Build 10 + 1.5ghz OC!!!
@DaxIΠFIΠITY would be nice anyway some of them might work on cm9/aosp ics
ZduneX25 said:
@DaxIΠFIΠITY would be nice anyway some of them might work on cm9/aosp ics
Click to expand...
Click to collapse
Cool! Will check it out soon!
Sent from my Galaxy S i9000 with ICS Build 10 + 1.5ghz OC!!!
themes.xml??
What?
There should be a themes.xml in framework-res.apk?
srry, don't understand!
@mDroidd guide for linux users, building it over windows may brings problems
ZduneX25 said:
@mDroidd guide for linux users, building it over windows may brings problems
Click to expand...
Click to collapse
god yes, I hate windows. I'm on Ubuntu. If I decompiled framework-Res.apk, what do I need to do then?
Greets
____________
mDroid - Tapatalk
Phone: LG-P500
ROM: Nitrogen.
Kernel: franco .35
Theme: ICS (by me)
Tweaks: ALL (knzo)
Wishlist: Galaxy Nexus

[Guide] Jellybean navigation layout for CM7 ROM

About :
This is for make CM7 ROM like Jellybean ROM layout on statusbar.
Credits :
- To Cool
- GDX Team
- DCSMS
- big thanks goes to AChep
Contents :
Post one:
-> Set up
-> Make Clock, date and day
-> Make Network speed on statusbar
-> Customize clear button
Tool used :
-> Apk Tool / Apk Manager / ToolAlite
-> SystemUI.apk
-> Notepad++
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"
}
Click to expand...
Click to collapse
Guide 1.0 : How To Make Date, Time and Day on Status Bar Expanded
1. you need to decompile your SystemUI.apk (please dont tell me how to do that)
2. extract my jelly.zip.. download on attachment below
3. copy 2 files blablablajellyblablabla.smali to SystemUI.apk/smali/com/android/systemui/statusbar/here
4. now you need to modify status_bar_expanded.xml find on SystemUI.apk/res/layout/here
for first you need to find this line :
Code:
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/carrier_label_layout" android:layout_width="fill_parent" android:layout_height="wrap_content">
paste this code below :
Code:
<com.android.systemui.statusbar.StatusBarJellyHeaderView android:layout_width="wrap_content" android:layout_height="wrap_content" />
5. now recompile your file and push to system/app
=======================================================================================================
Screenshot :
Click to expand...
Click to collapse
Guide 2.0 : How To Create Network Traffic Speed on Status Bar
1. you need to decompile your SystemUI.apk (please dont tell me how to do that)
2. extract my network.zip.. download on attachment below
3. copy folder smali to SystemUI.apk/here
4. now you need to modify status_bar.xml find on SystemUI.apk/res/layout/here
for first you need to find this line :
Code:
<com.android.systemui.statusbar.IconMerger android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/notificationIcons" android:paddingLeft="6.0dip" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0" android:layout_alignParentLeft="true" />
paste this code below :
Code:
<LinearLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentRight="true">
<in.jmkl.dcsms.statusbargreper.DataTrafik android:layout_gravity="center_vertical" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</LinearLayout>
5. now recompile your file and push to system/app
=======================================================================================================
Screenshot :
Click to expand...
Click to collapse
Guide 3.0 : How To Make Customization Your Clear Button
1. you need to decompile your SystemUI.apk (please dont tell me how to do that)
2. extract my clearbutton.zip.. download on attachment below
3. copy 3 files to drawable-xxxx (xxxx is by your phone, mdpi, hdpi, ldpi or xhdpi)
4. now you need to modify xxx.xml (create by your self), styles.xml, status_bar_expanded.xml
for first you need to create clear_button.xml on drawable folder and copy this line to your xml file :
Code:
<?xml version="1.0" encoding="utf-8"?>
<selector
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_window_focused="false" android:state_enabled="true" android:drawable="@drawable/btn_clear_focus" />
<item android:state_window_focused="false" android:state_enabled="false" android:drawable="@drawable/btn_clear" />
<item android:state_pressed="true" android:drawable="@drawable/btn_clear_pressed" />
<item android:state_focused="true" android:state_enabled="true" android:drawable="@drawable/btn_clear_focus" />
<item android:state_enabled="true" android:drawable="@drawable/btn_clear_focus" />
<item android:state_focused="true" android:drawable="@drawable/btn_clear_focus" />
<item android:drawable="@drawable/btn_clear_focus" />
</selector>
now, open the styles.xml on SystemUI.apk/res/values/here and copy this line in the end before </resources> line :
Code:
<style name="Awesome.Button" parent="@android:style/Widget.Button">
<item name="android:textAppearance">?android:textAppearanceSmallInverse</item>
<item name="android:textColor">#ffffffff</item>
<item name="android:gravity">center</item>
<item name="android:background">@drawable/clear_button</item>
<item name="android:focusable">true</item>
<item name="android:clickable">true</item>
</style>
note : this line on red colors is pointed to your new xml file
Code:
<item name="android:background">@drawable/[COLOR="Red"]clear_button[/COLOR]</item>
now, open the status_bar_expanded.xml on SystemUI.apk/res/layout/here and find this line :
Code:
<TextView android:layout_gravity="center_vertical" android:id="@id/clear_all_button"
modify the line styles or paste my line like this :
Code:
<TextView android:layout_gravity="center_vertical" android:id="@id/clear_all_button" android:paddingLeft="15.0dip" android:paddingRight="15.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="4.0dip" android:layout_marginBottom="1.0dip" android:text="@string/status_bar_clear_all_button" style="@style/Awesome.Button" />
5. now recompile your file and push to system/app
Guide 4.0 : How to add settings button on Status Bar Expdanded
1. you need to decompile SystemUI.apk (please dont tell me how to do that)
2. download my zip from here and extract it
3. now you must modify status_bar_expanded.xml
for first you need to find this line :
Code:
<com.android.systemui.statusbar.CarrierLabel android:textSize="17.659973dip" android:textColor="#ffffffff android:layout_gravity="center_vertical" android:orientation="vertical" android:paddingBottom="1.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_marginLeft="5.0dip" android:layout_marginTop="1.0dip" android:layout_weight="1.0" />
after that line, add this line :
Code:
<ImageView android:layout_gravity="center_vertical" android:id="@id/settings_button" android:paddingLeft="0.0dip" android:paddingTop="0.0dip" android:paddingRight="8.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/ic_notify_quicksettings" android:contentDescription="@string/accessibility_settings_button" />
now, you must open string.xml and add this line on bottom :
Code:
<string name="accessibility_settings_button">System settings.</string>
open ids.xml and add this line on bottom :
Code:
<item type="id" name="settings_button">false</item>
now, you must extract settingsshortcut.zip.. extract to your decompiled folder and then compile your SystemUI.apk this is for got public id number.. so after compiled, you must decompile again.
open public.xml and StatusBarService.smali. Find this line on public.xml :
Code:
<public type="id" name="settings_button" id="[COLOR="Red"]0x7f090027[/COLOR]" />
the red color may be different
find this line on StatusBarService.smali :
Code:
.field mScrollView:Landroid/widget/ScrollView
and then add this line below :
Code:
.field mSettingsBut:Landroid/view/View;
.field private mSettingsButListener:Landroid/view/View$. OnClickListener;
now, find this line :
Code:
iput-object v0, p0, Lcom/android/systemui/statusbar/StatusBarService;->mStopTracing:Ljava/lang/Runnable;
and then add this line below :
Code:
.line 1703
new-instance v0, Lcom/android/systemui/statusbar/StatusBarService$8;
invoke-direct {v0, p0}, Lcom/android/systemui/statusbar/StatusBarService$8;-><init>
(Lcom/android/systemui/statusbar/StatusBarService;)V
iput-object v0, p0, Lcom/android/systemui/statusbar/StatusBarService;->mSettingsButListener:Landroid/view/View $OnClickListener;
return-void.
find this line again :
Code:
iput v7, p0, Lcom/android/systemui/statusbar/StatusBarService;->mEdgeBorder:I
If not find, change v7 to v8
and then add this line below :
Code:
.line 333
const v7, [COLOR="Red"]0x7f090027[/COLOR]
invoke-virtual {v1, v7}, Lcom/android/systemui/statusba/ExpandedView;->findViewById(I)Landroid/view/View;
move-result-object v7
iput-object v7, p0, Lcom/android/systemui/statusbar/StatusBarService;->mSettingsBut:Landroid/view/View;
.line 334
iget-object v7, p0, Lcom/android/systemui/statusbar/StatusBarService;->mSettingsBut:Landroid/view/View;
iget-object v8, p0, Lcom/android/systemui/statusbar/StatusBarService;->mSettingsButListener:Landroid/view/View $OnClickListener;
invoke-virtual {v7, v8}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V
*for the red color on .line 333 you must change to your settings_button on your public.xml
*if your find iput v8, p0, Lcom/android/systemui/statusbar/StatusBarService;->mEdgeBorder:I so v7 change to v8. and the line will be like this :
Code:
.line 333
const v8, 0x7f090029
invoke-virtual {v2, v8}, Lcom/android/systemui/statusbar/ExpandedView;->findViewById(I)Landroid/view/View;
move-result-object v8
iput-object v8, p0, Lcom/android/systemui/statusbar/StatusBarService;->mSettingsBut:Landroid/view/View;
.line 334
iget-object v8, p0, Lcom/android/systemui/statusbar/StatusBarService;->mSettingsBut:Landroid/view/View;
iget-object v9, p0, Lcom/android/systemui/statusbar/StatusBarService;->mSettingsButListener:Landroid/view/View $OnClickListener;
invoke-virtual {v8, v9}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V
now, copy StatusBarService$8.smali to SystemUI.apk/smali/com/android/systemui/statusbar/here after that compile and push to system/app.
================================================== ================================================== ===
Guide 5.0 : How to add carrier label on statusbar close on
1. you need to decompile SystemUI.apk (please dont tell me how to do that)
2. now you must modify status_bar_tracking.xml
for first you need to find this line :
Code:
<com.android.systemui.statusbar.CloseDragHandle
and then paste this line below :
Code:
<com.android.systemui.statusbar.CarrierLabel android:textSize="17.659973dip" android:textColor="#ffffffff" android:gravity="center_horizontal" android:paddingBottom="1.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="1.0dip" />
re-compile and push to system/app
for update
Nice tutorial
thanks
ariadelvana95 said:
Nice tutorial
thanks
Click to expand...
Click to collapse
with my pleasure..
I would spam your thanks button if you do this status bar for latest minicm7 2.2.1
Sent from my E15i using xda app-developers app
mantap !!! nice tutorial ! i've been searching for this tutorial and now i found it
what cm7 theme your using can u share?
heheh, that's my jelly bean statusbar
Where have I gone wrong?? Clear text is also displayed along with the image.
Have attached SystemUI.apk after doing all the mods (except network thing)
-------------------EDIT-----------------------------------
solved. Had to edit strings.xml
Now the problem is the clear button won't stay at the right corner. Screenshot attached..
Nice..
I like your guide..
Sent from my GT-S5660 using Tapatalk 2
CWM or AROMA installer???
Mobil cihazdan gönderildi..
aOS 2.3.6 BNC-GIO-R2
MMB-Tweaks_0.9_Fix
m.ali.ozkaya said:
CWM or AROMA installer???
Mobil cihazdan gönderildi..
aOS 2.3.6 BNC-GIO-R2
MMB-Tweaks_0.9_Fix
Click to expand...
Click to collapse
What is the point of your question??
:what:
Sent from my GT-S5660 using Tapatalk 2
Thanks man! nice guide
Next.....!
Guide 4.0 : How To Make Customization Your Setting Button ^0^
---------- Post added at 02:49 AM ---------- Previous post was at 02:47 AM ----------
Xr01d_GT said:
solved. Had to edit strings.xml
Now the problem is the clear button won't stay at the right corner. Screenshot attached..
Click to expand...
Click to collapse
how to edit strings.xml?
thanks
Doesn't work for me unfortunately. CM7 on LG P990. No status bar.
Xr01d_GT said:
Where have I gone wrong?? Clear text is also displayed along with the image.
Have attached SystemUI.apk after doing all the mods (except network thing)
-------------------EDIT-----------------------------------
solved. Had to edit strings.xml
Now the problem is the clear button won't stay at the right corner. Screenshot attached..
Click to expand...
Click to collapse
sorry mate I late for reply just have low connection on Indonesia.. for make dissapear "clear" text on clear button you need to edit string.xml
so, this is guide for it..
Open your string.xml on SystemUI.apk/res/values/here and find this line :
Code:
<string name="blablabla_clear_button">Clear</string>
now, you must modify the syntact like this :
Code:
<string name="blablabla_clear_button"/string>
do the same if you want dissapear the text for Notifications, On Going, No Notifications
Imperticus said:
Doesn't work for me unfortunately. CM7 on LG P990. No status bar.
Click to expand...
Click to collapse
please attach your logcat mate, maybe i can help you
x-dira said:
Thanks man! nice guide
Next.....!
Guide 4.0 : How To Make Customization Your Setting Button ^0^
---------- Post added at 02:49 AM ---------- Previous post was at 02:47 AM ----------
how to edit strings.xml?
thanks
Click to expand...
Click to collapse
Yes i will add this guide, but not now.. so wait for my guide updates..
m.ali.ozkaya said:
CWM or AROMA installer???
Mobil cihazdan gönderildi..
aOS 2.3.6 BNC-GIO-R2
MMB-Tweaks_0.9_Fix
Click to expand...
Click to collapse
This is mod guide, so you can modding systemui.apk by your self.. not flasable.zip
AiphNday said:
Nice..
I like your guide..
Sent from my GT-S5660 using Tapatalk 2
Click to expand...
Click to collapse
thanks mate will update if i not busy
Mockingbird said:
I would spam your thanks button if you do this status bar for latest minicm7 2.2.1
Sent from my E15i using xda app-developers app
Click to expand...
Click to collapse
just attach your systemui.apk
saldymhmd said:
mantap !!! nice tutorial ! i've been searching for this tutorial and now i found it
Click to expand...
Click to collapse
haha.. sama2 master
english : haha.. your welcome master
dredremon said:
what cm7 theme your using can u share?
Click to expand...
Click to collapse
i use my own rom.. not a theme
AChep said:
heheh, that's my jelly bean statusbar
Click to expand...
Click to collapse
yes mate.. hey everyone give thanks to AChep his owner of jelly layout date, time and day.. on updates i will add your name on OP post.. sorry i forget that.. i just remember you're a part of ginger dx team
Got it to work now
petrukgrinder said:
just attach your systemui.apk
Click to expand...
Click to collapse
Can u share systemui.apk
thanks

[GUIDE][MOD][2.3-4.4]FB UI Style + device owner picture

NOTE: this mod is tested only in 2.3-4.1.2,but im sure it work too in 4.2++​
Hello guys, i'll share this guide to you. this guide is based in this thread by @markmellarpes and some modification by me . So press thanks buttons to the original thread
Credit & thanks:
- markmellarpes
- Adi Aisiteru Reborn
- b16h22
- PineappleOwl
- dugeriss
- mariozawa
- Lenox Devs
- Hyperion Devs
​
Ok lets go to Guide:
first of all need some requirement for this MOD-GUIDE
REQUIREMENT:
- BRAIN
- Patient
- experience
- Know how to decompile/recompiling Apk
- notepad++
- Tool for decompiling, : APKTOOL 2.0.0 beta 9 or latest version
- Tool for Sign apk, : CM Signer
STEP 1
Settings.apk
- Decompile Settings.apk
Go to and paste this code below
- Settings/res/values/strings.xml
Code:
<string name="change_pic_k">Change Logo</string>
<string name="profile_pic_k">CHANGE PICTURE</string>
<string name="profile_name_k">CHANGE STATUS</string>
- Settings/res/values/ids.xml
Code:
<item type="id" name="profile">false</item>
<item type="id" name="profile_name">false</item>
<item type="id" name="image_k">false</item>
<item type="id" name="owner_k">false</item>
<item type="id" name="linear_layout_k">false</item>
<item type="id" name="profile_pic_k">false</item>
<item type="id" name="layout1_k">false</item>
<item type="id" name="change_picture_text_k">false</item>
<item type="id" name="photo_picker_k">false</item>
<item type="id" name="linear_layout1_k">false</item>
<item type="id" name="layout2_k">false</item>
<item type="id" name="name_field_k">false</item>
<item type="id" name="name_edit_k">false</item>
<item type="id" name="peropil_k">false</item>
<item type="id" name="pp_k">false</item>
- Settings.apk/res/xml/display_settings.xml (you can change the place like in System and whatever you want)
add this line before </PreferenceScreen>
Code:
<PreferenceScreen android:title="Device owner" android:key="device_owner" android:summary="">
<PreferenceScreen android:title="Change logo" android:summary="Set up cover and owner picture">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.b16h22.Profile" />
</PreferenceScreen>
<Preference android:title="Profile picture" android:summary="Set up profile picture">
<intent android:targetPackage="com.lenox.Lenox_Label" android:action="android.intent.action.MAIN" android:targetClass="com.lenox.Lenox_Label.MyActivity" />
</Preference>
</PreferenceScreen>
[COLOR="Blue"]</PreferenceScreen>[/COLOR]
- Settings.apk/res/xml/device_info_settings.xml
add this line after xmlns:android="http://schemas.android.com/apk/res/android">
Code:
[COLOR="Red"]xmlns:android="http://schemas.android.com/apk/res/android">[/COLOR]
<Preference android:layout="@layout/adi_logo" android:key="beam_kat_logo" />
- Settings.apk/AndroidManifest.xml
Code:
<activity android:label="@string/change_pic_k" android:name="com.b16h22.Profile">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
</intent-filter>
</activity>
- After that, push all files from attachment in the right directory
- Recompile Settings
- Sign Settings.apk
- Decompile Settings.apk again
- Compare the code below with your public
Code:
smali/com/b16h22
Profile.smali
#147 0x7f040096 type="layout" name="profile_info"
#152 0x7f0a0242 type="id" name="photo_picker_k"
#162 0x7f0a023d type="id" name="owner_k"
#173 0x7f0a0245 type="id" name="name_field_k"
#184 0x7f0a0246 type="id" name="name_edit_k"
#195 0x7f0a023c type="id" name="image_k"
#262 0x7f0200bd type="drawable" name="ic_qs_default_user"
smali/com/android/settings/adi/about
ProfileName.smali
#23 0x7f0a0238 type="id" name="profile_name"
ProfilePicture$1.smali
#86 0x7f0200bd type="drawable" name="ic_qs_default_user"
ProfilePicture.smali
#25 0x7f0a0237 type="id" name="profile"
#66 0x7f0200bd type="drawable" name="ic_qs_default_user"
Recompile Settings
Sign Settings.apk
STEP 2
SystemUI.apk
- Decompile SystemUI.apk
Go to and paste this code below
- SystemUI/res/values/styles.xml
Code:
<style name="InformationItemTitleStyle">
<item name="android:textSize">14.0sp</item>
<item name="android:gravity">right</item>
<item name="android:paddingLeft">16.0dip</item>
<item name="android:paddingRight">10.0dip</item>
</style>
<style name="InformationItemTabStyle">
<item name="android:paddingTop">3.0dip</item>
</style>
<style name="InformationTextStyle">
<item name="android:textSize">14.0sp</item>
<item name="android:layout_width">wrap_content</item>
<item name="android:layout_height">wrap_content</item>
</style>
- SystemUI/res/values/ids.xml
Code:
<item type="id" name="markmellarpes_multi">false</item>
<item type="id" name="lenoxpic">false</item>
<item type="id" name="profile_name">false</item>
<item type="id" name="cover">false</item>
<item type="id" name="profile_status">false</item>
<item type="id" name="profile">false</item>
<item type="id" name="lenox_label">false</item>
- SystemUI/res/layout/status_bar_expanded.xml
Cut this line "NotificationLayout"
for example CM9
Code:
<FrameLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0">
<TextView android:textAppearance="@android:style/TextAppearance.Large" android:gravity="left" android:layout_gravity="top" android:id="@id/noNotificationsTitle" android:padding="8.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/status_bar_no_notifications_title" />
<ScrollView android:id="@id/scroll" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="fill_parent" android:overScrollMode="ifContentScrolls">
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">
<com.android.systemui.statusbar.policy.NotificationRowLayout android:id="@id/latestItems" android:layout_width="fill_parent" android:layout_height="wrap_content" systemui:rowHeight="@dimen/notification_height" />
</LinearLayout>
</ScrollView>
<ImageView android:visibility="gone" android:layout_width="fill_parent" android:layout_height="fill_parent" android:src="@drawable/title_bar_shadow" android:scaleType="fitXY" />
</FrameLayout>
Then add this line in the "NotificationLayout" before
Code:
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">
<ScrollView android:id="@id/scroll" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="fill_parent" android:overScrollMode="ifContentScrolls">
<LinearLayout android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent">
<FrameLayout android:layout_width="240.0px" android:layout_height="174.0dip" android:layout_weight="1.0">
<com.b16h22.haiyan.ProfileCover android:id="@id/cover" android:layout_width="fill_parent" android:layout_height="174.0dip" android:layout_marginLeft="0.0px" android:layout_marginTop="0.0px" android:layout_marginRight="0.0px" android:layout_marginBottom="0.0px" android:scaleType="centerCrop" />
<FrameLayout android:gravity="left" android:layout_gravity="bottom" android:background="@drawable/frame" android:layout_width="96.0dip" android:layout_height="96.0dip">
<com.lenox.Lenox_Label.lenoxpicture android:gravity="left" android:layout_gravity="bottom" android:id="@id/lenoxpic" android:layout_width="90.0dip" android:layout_height="90.0dip" android:layout_margin="3.0dip" android:layout_marginBottom="0.0px" android:layout_alignParentLeft="true" android:layout_alignParentBottom="true" />
</FrameLayout>
<com.lenox.Lenox_Label.lenoxlabel android:textStyle="bold" android:textColor="#ffffffff" android:layout_gravity="right" android:id="@id/lenox_label" android:background="@drawable/gradient_bg" android:paddingLeft="7.0dip" android:layout_width="fill_parent" android:layout_height="25.0dip" android:layout_marginLeft="96.0dip" android:layout_marginTop="115.0dip" android:layout_marginRight="0.0px" android:layout_toRightOf="@id/lenoxpic" android:layout_alignParentRight="true" android:layout_alignParentBottom="true" />
<com.b16h22.statusbar.MultiPanelButtons android:gravity="center" android:layout_gravity="right" android:orientation="horizontal" android:background="@drawable/btn_default_small" android:layout_width="fill_parent" android:layout_height="40.0dip" android:layout_marginLeft="96.0dip" android:layout_marginTop="140.0dip" android:layout_marginRight="0.0px" android:layout_toRightOf="@id/lenoxpic" android:layout_alignParentRight="true" android:layout_alignParentBottom="true" />
</FrameLayout>
</LinearLayout>
</ScrollView>
<com.b16h22.statusbar.MultiPanelFlipper android:id="@id/markmellarpes_multi" android:layout_width="fill_parent" android:layout_height="wrap_content">
[COLOR="Red"]"NotificatioLayout" paste in this line[/COLOR]
<FrameLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">
<ScrollView android:scrollbars="none" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="wrap_content" android:overScrollMode="never">
<include layout="@layout/fb1" />
</ScrollView>
</FrameLayout>
<FrameLayout android:gravity="center" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="0.0dip">
<ScrollView android:scrollbars="none" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="wrap_content" android:overScrollMode="never">
<include layout="@layout/fb2" />
</ScrollView>
</FrameLayout>
</com.b16h22.statusbar.MultiPanelFlipper>
</LinearLayout>
- After that, push all files from attachment in the right directory
- Recompile SystemUI
- Sign SsytemUI.apk
- Decompile SystemUI.apk again
- Compare the code below with your public
Code:
smali/com/b16h22/haiyan
ProfileCover$1.smali
#86 0x7f020180 type="drawable" name="ic_qs_default_user"
ProfileCover.smali
#25 0x7f0e00e3 type="id" name="cover"
#66 0x7f020180 type="drawable" name="ic_qs_default_user"
ProfileName.smali
#23 0x7f0e00e2 type="id" name="profile_name"
ProfilePicture$1.smali
#86 0x7f02011b type="drawable" name="status_bar_expand_pressed"
ProfilePicture.smali
#25 0x7f0e00e5 type="id" name="profile"
#66 0x7f020180 type="drawable" name="ic_qs_default_user"
ProfileStatus.smali
#23 0x7f0e00e4 type="id" name="profile_status"
smali/com/b16h22/statusbar
MultiPanelButtons.smali
#54,61,68 0x7f020181 type="drawable" name="tw_btn_default_small"
MultiPanelFlipper.smali
#21 0x7f0e00e0 type="id" name="markmellarpes_multi"
smali/com/lenox/Lenox_Label
lenoxpicture.smali
#21 0x7f0e00e1 type="id" name="lenoxpic"
lenoxlabel.smali
#25 0x7f0e00e6 type="id" name="lenox_label"
Recompile SystemUI
Sign SystemUI.apk
SCREESHOT
{
"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"
}
done,
Happy theming
thanks om...
D2Y aka E said:
thanks om...
Click to expand...
Click to collapse
urwel
Getting this error when try to recompile for first time the Settings.apk
Awesome Guide Sir :fingers-crossed:
report
i get this error log when i tried to recompile settings.apk after i edited .. any help /
NOTE!! IMPORTANT!!
Use APKTOOL V2.0.0 beta 9(latest version) to compile apk, or you'll get error when Recompiling
Great guide as always.
keep share um. _/|\_
K_TECH said:
NOTE!! IMPORTANT!!
Use APKTOOL V2.0.0 beta 9(latest version) to compile apk, or you'll get error when Recompiling
Click to expand...
Click to collapse
Now is working fine!
Awesome guide/mod sir, thanks.
MagModBR said:
Now is working fine!
Awesome guide/mod sir, thanks.
Click to expand...
Click to collapse
Enjoy it ^_^
Someone help me..
Can you explain where I can put this script activity android:label="@string/change_pic" android:name="com.b16h22.Profile">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
</intent-filter>
</activity> at android manifest.xml
I mean at the end line or where...
Im so sorry for my bad english
I hope you under stand what I mean
Thanx
K_TECH said:
NOTE!! IMPORTANT!!
Use APKTOOL V2.0.0 beta 9(latest version) to compile apk, or you'll get error when Recompiling
Click to expand...
Click to collapse
it means must use APKTOOL sir ...
aww ... I really was not lucky
I prefer to use APKMULTITOOL because it's easier than taking APKTOOL
sorry for my bad english sir....
keren abiss :good:
K_TECH said:
NOTE!! IMPORTANT!!
Use APKTOOL V2.0.0 beta 9(latest version) to compile apk, or you'll get error when Recompiling
Click to expand...
Click to collapse
Where I can downloaded that apktool sir?
crizt said:
Someone help me..
Can you explain where I can put this script activity android:label="@string/change_pic" android:name="com.b16h22.Profile">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
</intent-filter>
</activity> at android manifest.xml
I mean at the end line or where...
Im so sorry for my bad english
I hope you under stand what I mean
Thanx
Click to expand...
Click to collapse
Yes at the end of your manifest
Sent from my SCH-I605 using xda app-developers app
I don't understand what to do with profilepic.apk?
ThePiss&Chur said:
it means must use APKTOOL sir ...
aww ... I really was not lucky
I prefer to use APKMULTITOOL because it's easier than taking APKTOOL
sorry for my bad english sir....
Click to expand...
Click to collapse
Download apktool 2.0.0 beta 9, take the files inside it (apktool.jar,apktool.bat,aapt.exe), then put those file into your tool

[Guide] How to add Music VisualizerView - Graphic Equalizer to Notification panel

How to add Music VisualizerView - Graphic Equalizer animation style to Notification panel
{
"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"
}
XDA PORTAL : http://www.xda-developers.com/mod-spotlight-graphic-equalizer-for-notification-panel/
Hello good day XDA
This mod is a ported mod from CM11 Tiles, but I guess this mod will work to all device /OS which has Landroid/media/AudioManager.smali and Landroid/media/audiofx/Visualizer.smali
Oke let's start it
REQUIREMENT:
- BRAIN
- Patient
- experience
- Know how to decompile/recompiling Apk
- notepad++
- APKTOOL 2 ++
STEP 1
Decompile SystemUI.apk
Download attached smali and merge to your decompiled SystemUI
STEP 2
go to SystemUI.apk/res/layout/ status_bar_expanded.xml, gemini_status_bar_expanded.xml, tw_status_bar_expanded.xml, status_bar_tracking.xml , depend on your UI
and add the red line
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.phone.NotificationPanelView android:id="@id/notification_panel" android:background="@drawable/notification_panel_bg" android:paddingTop="@dimen/notification_panel_padding_top" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/notification_panel_margin_left"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<View android:id="@id/handle" android:background="@drawable/status_bar_close" android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="@dimen/close_handle_height" />
<include android:layout_gravity="bottom" android:layout_width="fill_parent" android:layout_height="@dimen/carrier_label_height" android:layout_marginBottom="@dimen/close_handle_height" layout="@layout/carrier_label" />
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginBottom="@dimen/close_handle_underlap" android:animateLayoutChanges="false">
<include android:layout_width="fill_parent" android:layout_height="@dimen/notification_panel_header_height" layout="@layout/status_bar_expanded_header" />
<ViewStub android:id="@id/ribbon_settings_stub" android:layout="@layout/ribbon_settings" android:layout_width="fill_parent" android:layout_height="@dimen/notification_min_height" />
<TextView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Network.EmergencyOnly" android:gravity="center" android:id="@id/emergency_calls_only" android:padding="4.0dip" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" />
<FrameLayout android:layout_width="fill_parent" android:layout_height="wrap_content">
<ViewStub android:id="@id/flip_settings_stub" android:layout="@layout/flip_settings" android:layout_width="fill_parent" android:layout_height="wrap_content" />
<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.policy.NotificationRowLayout android:id="@id/latestItems" android:layout_width="fill_parent" android:layout_height="wrap_content" systemui:rowHeight="@dimen/notification_row_min_height" />
</ScrollView>
</FrameLayout>
</LinearLayout>
[COLOR="Red"]<com.adi.rom.interface.MusicEqualizerVisualizer android:layout_gravity="bottom" android:id="@id/visualizer_view_panel" android:layout_width="fill_parent" android:layout_height="48.0dip" android:layout_marginBottom="36.0dip">
<LinearLayout android:orientation="vertical" android:id="@id/custom_visualizer_view_panel" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.adi.rom.interface.VisualizerView android:id="@id/custom_visualizer_view" android:layout_width="fill_parent" android:layout_height="fill_parent" />
</LinearLayout>
</com.adi.rom.interface.MusicEqualizerVisualizer>[/COLOR]
</com.android.systemui.statusbar.phone.NotificationPanelView>
NEXT
SystemUI.apk/res/values/colors.xml
add the red line to end of it before </resources>
Code:
<color name="pie_selected_color">@android:color/holo_blue_light</color>
<color name="pie_long_pressed_color">#ff8ad5f0</color>
<color name="pie_outline_color">#dd0099cc</color>
[COLOR="Red"]<color name="custom_equalizer_fill_color">#96ffffff</color>[/COLOR]
</resources>
SystemUI.apk/res/values/dimens.xml
add the red line to end of it before </resources>
Code:
<dimen name="pie_navbar_height">85.0dip</dimen>
<dimen name="pie_sysinfo_radius">165.0dip</dimen>
<dimen name="pie_sysinfo_height">85.0sp</dimen>
[COLOR="Red"]<dimen name="custom_eqalizer_path_effect_1">6.0dip</dimen>
<dimen name="custom_eqalizer_path_effect_2">1.0dip</dimen>
<dimen name="custom_eqalizer_path_stroke_width">6.0dip</dimen>[/COLOR]
</resources>
SystemUI.apk/res/values/ids.xml
add the red line to end of it before </resources>
Code:
<item type="id" name="notification_inspect_item">false</item>
<item type="id" name="recent_remove_item">false</item>
<item type="id" name="recent_inspect_item">false</item>
[COLOR="Red"]<item type="id" name="custom_visualizer_view">false</item>
<item type="id" name="visualizer_view_panel">false</item>
<item type="id" name="custom_visualizer_view_panel">false</item>[/COLOR]
</resources>
SystemUI.apk/res/values/integers.xml
add the red line to end of it before </resources>
Code:
<integer name="blinds_pop_duration_ms">10</integer>
<integer name="notification_panel_layout_gravity">0x37</integer>
<integer name="settings_panel_layout_gravity">0x37</integer>
[COLOR="Red"]<integer name="custom_equalizer_divisions">4</integer>
<integer name="custom_equalizer_db_fuzz_factor">2</integer>
<integer name="custom_equalizer_db_fuzz">-10</integer>[/COLOR]
</resources>
Done and compile your SystemUI.apk
STEP 3
Decompile the newly recompiled again
next go to systemui/res/values/public.xml
leave it but keep it open
STEP 4
go to -SystemUI.apk/smali/com/adi/rom/interface/MusicEqualizerVisualizer.smali
search for 0x7f??????
Change the value in the smali with the value you got in your own public.xml
0x7f0900db
Code:
<public type="id" name="custom_visualizer_view" id="[COLOR="Red"]0x7f??????[/COLOR]" />
Click to expand...
Click to collapse
0x7f0e0063
Code:
<public type="dimen" name="custom_eqalizer_path_stroke_width" id="[COLOR="Red"]0x7f??????[/COLOR]" />
Click to expand...
Click to collapse
0x7f0b000e
Code:
<public type="color" name="custom_equalizer_fill_color" id="[COLOR="Red"]0x7f??????[/COLOR]" />
Click to expand...
Click to collapse
0x7f0e0061
Code:
<public type="dimen" name="custom_eqalizer_path_effect_1" id="[COLOR="Red"]0x7f??????[/COLOR]" />
Click to expand...
Click to collapse
0x7f0e0062
Code:
<public type="dimen" name="custom_eqalizer_path_effect_2" id="[COLOR="Red"]0x7f??????[/COLOR]" />
Click to expand...
Click to collapse
0x7f0d0012
Code:
<public type="integer" name="custom_equalizer_divisions" id="[COLOR="Red"]0x7f??????[/COLOR]" />
Click to expand...
Click to collapse
0x7f0d0014
Code:
<public type="integer" name="custom_equalizer_db_fuzz" id="[COLOR="Red"]0x7f??????[/COLOR]" />
Click to expand...
Click to collapse
0x7f0d0013
Code:
<public type="integer" name="custom_equalizer_db_fuzz_factor" id="[COLOR="Red"]0x7f??????[/COLOR]" />
Click to expand...
Click to collapse
0x7f0900dd
Code:
<public type="id" name="custom_visualizer_view_panel" id="[COLOR="Red"]0x7f??????[/COLOR]" />
Click to expand...
Click to collapse
STEP 5
AndroidManifest.xml
Add the red line
Code:
<uses-permission android:name="android.permission.READ_DREAM_STATE"/>
<uses-permission android:name="android.permission.WRITE_DREAM_STATE"/>
<uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS"/>
<uses-permission android:name="android.permission.READ_SYNC_SETTINGS"/>
<uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS"/>
[COLOR="Red"]<uses-permission android:name="android.permission.RECORD_AUDIO"/>
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS"/>[/COLOR]
<application android:allowBackup="false" android:allowClearUserData="false" android:hardwareAccelerated="true" android:icon="@android:drawable/platlogo" android:label="@string/app_label" android:persistent="true">
<service android:exported="true" android:name="SystemUIService"/>
STEP 6
- Compile
- Sign it
- Disable Signature check
You can try using any of the keys that come with whatever apk signing tool you use, but you will more then likely end up with a SystemUI.apk that wont show as being installed, you must sign it with platfrom keys from CyanogenMod's android_build github https://github.com/CyanogenMod/android_build/tree/jellybean/target/product/security
Note !
for CM / AOSP from source whic has
STATIC TILES, you need to uncheck/disable Equalizer tile, otherwise the Visualizer will not appear on Notification panel
Screenshot
New Style !
How to add Selectable 8 style Music Visualizer - to Notification panel
http://forum.xda-developers.com/android/themes/guide-how-to-add-selectable-8-style-t3070550
well done om adi.thank you
Awesome :good:
Another Owesome guide from the master :good:
Thnks om, i'll try soon
thanks
awesome guide
you're the best
work fine in lollipop 5.1
in lockscreen.
working perfectly sir.. Thanks
Sir, can you share this visualizer and weather tiles?)
Please don't quote all OPs
and Request is off , sorry , you are out of the topic
the_vanya1 said:
Sir, can you share this visualizer and weather tiles?)
Click to expand...
Click to collapse
Well done @Adi Aisiteru Reborn :thumbup::thumbup::thumbup:
And don't quote the whole of OP, edit your post please @the_vanya1
Sir @Adi Aisiteru Reborn, how to Add Switch on/off to Setting?
sir just a question.
in the source files why dont you use codes like these to assign the parts to ID's in packages?
this will save time in editing all the 0x7f*** etc codes and will work better
Code:
int layoutID = getResources().getIdentifier("customequalizerview","id", "com.android.systemui");
LinearLayout Layoutey = (LinearLayout)findViewById(layoutID);
in the java source code.
i find this easier as all java mods i nowadays code with those codes as thats easier to port for other people.
its doable for images ids layouts etc almost anything its useable.
Just my 2 cents
nice mod bro
A neat idea! Thanks! I'll have to give it a try..
---------------------------------
Sent from Tapatalk
------------------------------
Works on odexed rom?
EDIT: if doesn't work, can i just deodex systemui.apk and apply changes?
Thank you OP. Great MOD. Great tutorial.
HTC One M8 running Sense 7.0 with Android 5.0.1
Can this be made as an xposed module? i think that would be cool if you can!
SpaceCaker said:
sir just a question.
in the source files why dont you use codes like these to assign the parts to ID's in packages?
this will save time in editing all the 0x7f*** etc codes and will work better
Code:
int layoutID = getResources().getIdentifier("customequalizerview","id", "com.android.systemui");
LinearLayout Layoutey = (LinearLayout)findViewById(layoutID);
in the java source code.
i find this easier as all java mods i nowadays code with those codes as thats easier to port for other people.
its doable for images ids layouts etc almost anything its useable.
Just my 2 cents
nice mod bro
Click to expand...
Click to collapse
Interesting sir spacecaker,
you can write it, and I'll post it as optional guide , thanks
FSadino said:
Works on odexed rom?
EDIT: if doesn't work, can i just deodex systemui.apk and apply changes?
Click to expand...
Click to collapse
you should be able to run just the deodexed SystemUI.apk..
just remember to remove the SystemUI.odex..

[GUIDE][MOD][THEMING] How To Make Settings become Lollipop CM12 Themes Look A Like

Hello XDA, Today I Will share Guide for Any AOSP ROM Settings to become Lollipop CM12 Themes Look a Like!
Hope it will work too in your guys device, i create this guide on JB 4.2.2 Mediatek Mt6589 device.
I'm not responsible for any damage done to your device with this guide
Thanx
Click to expand...
Click to collapse
​
(Part I) Remove App Icon on ActionBar​
{
"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"
}
Prepare
- Know how to Decompile-Recompile
- Settings.apk
Guides
- Decompile Settings.apk
- go to folder \res\values
- open Styles.xml
- add on styles.xml above </resources> add this code
HTML:
<style name="Mole.Theme" parent="@android:style/Theme.Holo">
<item name="android:actionBarStyle">@style/Mole.Holo.Bar</item>
</style>
<style name="Mole.Holo.Bar" parent="@android:style/Widget.Holo.ActionBar">
<item name="android:icon">@drawable/trans_yanu</item>
</style>
<style name="Mole.Bar" parent="@android:style/Widget.ActionBar">
<item name="android:icon">@drawable/trans_yanu</item>
<item name="android:paddingTop">0.0dip</item>
<item name="android:paddingBottom">0.0dip</item>
<item name="android:paddingStart">0.0dip</item>
<item name="android:paddingEnd">0.0dip</item>
</style>
- still in values folder
- make one new files named drawables.xml
- write on drawables.xml this code
HTML:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<item type="drawable" name="trans_yanu">#00000000</item>
</resources>
- now open AndroidManifest.xml
- on AndroidManifest.xml search android:theme="@style/Theme.Holo"
- change with android:theme="@style/Mole.Theme"
- so will look like this
HTML:
<application android:hardwareAccelerated="true" ....... android:theme="[B]@style/Mole.Theme[/B]" ........ >
- Recompile and Sign
- Push to \system\app with right permission (rw,r,r)
- reboot
Remove App Icon ActionBar in all Apps (optional)​
Prepare
- know how to Decompile Recompile
- framework-res.apk
Guides
- decompile framework-res.apk
- go to folder \res\values\
- open styles.xml
- find
HTML:
<style name="Widget.Holo.ActionBar" parent="@style/Widget.ActionBar">
and
HTML:
<style name="Widget.ActionBar" parent="@style/Widget">
- add above </style>
HTML:
<item name="icon">@drawable/trans_yanu</item>
- so it will look like this
HTML:
</style>
<style name="Widget.Holo.ActionBar" parent="@style/Widget.ActionBar">
<item name="progressBarStyle">@style/Widget.Holo....
.......
.......
.......
<item name="icon">[B]@drawable/trans_yanu[/B]</item>
</style>
<style name="Widget.Holo.Light" par...
- watch every space and make sure the code sructure still on track
- next open drawables.xml still in values folder
- add above </resources>
HTML:
<item type="drawable" name="trans_yanu">#00000000</item>
- Save - Decompile - Push Reboot
- Done
(Part II) Add Float Effect Background Menu And Child Menu Settings
Add Float Effect Background Menu And Child Menu Settings
Prepare
- Know How to Decompile Recompile
- Finished Part I
- Disable Signature System
- Settings.apk
- framework-res.apk
Guides
- Decompile Settings.apk
- go to folder \res\values\
- open styles.xml
- add this above </resources>
HTML:
<style name="Mole.ListSeparator" parent="@*android:style/Widget.TextView.ListSeparator">
<item name="android:textStyle">bold</item>
<item name="android:textColor">@color/merah_yanu</item>
<item name="android:background">@drawable/duawarna_yanu</item>
<item name="android:paddingTop">25.0dip</item>
<item name="android:paddingBottom">@dimen/yanu_head_padd</item>
<item name="android:textAllCaps">true</item>
<item name="android:paddingStart">@dimen/yanu_head_padd</item>
</style>
- add this code on "Mole.Theme"
HTML:
<item name="android:listSeparatorTextViewStyle">@style/Mole.ListSeparator</item>
- so it will look like this
HTML:
<style name="Mole.Theme" parent="@*android:style/Theme.Holo">
<item name="android:actionBarStyle">@style/Mole.Holo.Bar</item>
<item name="android:listSeparatorTextViewStyle">@style/Mole.ListSeparator</item>
</style>
- still on folder values
- open dimens.xml
- add above </resources>
HTML:
<dimen name="yanu_head_padd">17.0dip</dimen>
- open colors.xml
- add above </resources>
HTML:
<color name="merah_yanu">#fff44336</color>
<color name="gray_yanu">#ff2a2a2a</color>
<color name="lightgray_yanu">#ff191919</color>
<color name="bgmenu_yanu">#502a2a2a</color>
- open folder \res\drawable
- make one xml file and named it duawarna_yanu.xml
- write inside duawarna_yanu.xml with these code
HTML:
<?xml version="1.0" encoding="utf-8"?>
<layer-list
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:height="9.0dip">
<shape android:shape="rectangle"
xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="#00000000" />
</shape>
</item>
<item android:top="9.0dip">
<shape android:shape="rectangle"
xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="@color/gray_yanu" />
</shape>
</item>
</layer-list>
- save
- Recompile - sign - push
- Reboot
Edit Background list​- still on Settings.apk
- go to folder \res\layout\
- open preference_header_item.xml
- compare these code, looks on android:background and android:layout_margin
- if you guys os JB 4.2.1 maybe can direct paste these code
HTML:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:gravity="center_vertical" android:background="[B]@color/lightgray_yanu[/B]" android:paddingRight="?android:scrollbarSize" android:layout_width="fill_parent" android:layout_height="wrap_content" android:minHeight="48.0dip"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:layout_gravity="center" android:id="@id/icon" android:layout_width="@dimen/header_icon_width" android:layout_height="wrap_content" android:layout_margin="[B]@dimen/yanu_head_padd[/B]" />
</LinearLayout>
<RelativeLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="6.0dip" android:layout_marginRight="6.0dip" android:layout_marginBottom="6.0dip" android:layout_weight="1.0">
<TextView android:textAppearance="?android:textAppearanceMedium" android:ellipsize="marquee" android:id="@*android:id/title" android:fadingEdge="horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" />
<TextView android:textAppearance="?android:textAppearanceSmall" android:ellipsize="end" android:id="@*android:id/summary" android:layout_width="wrap_content" android:layout_height="wrap_content" android:maxLines="2" android:layout_below="@*android:id/title" android:layout_alignLeft="@*android:id/title" />
</RelativeLayout>
</LinearLayout>
- save
- open preference_header_switch_item.xml
- compare againt, looks on android:background and android:layout_margin
HTML:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:gravity="center_vertical" android:background="[B]@color/lightgray_yanu[/B]" android:paddingRight="?android:scrollbarSize" android:layout_width="fill_parent" android:layout_height="wrap_content" android:minHeight="48.0dip"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:layout_gravity="center" android:id="@id/icon" android:layout_width="@dimen/header_icon_width" android:layout_height="wrap_content" android:layout_margin="[B]@dimen/yanu_head_padd[/B]" />
</LinearLayout>
<RelativeLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="2.0dip" android:layout_marginTop="6.0dip" android:layout_marginRight="6.0dip" android:layout_marginBottom="6.0dip" android:layout_weight="1.0">
<TextView android:textAppearance="?android:textAppearanceMedium" android:ellipsize="marquee" android:id="@*android:id/title" android:fadingEdge="horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" />
<TextView android:textAppearance="?android:textAppearanceSmall" android:ellipsize="end" android:id="@*android:id/summary" android:layout_width="wrap_content" android:layout_height="wrap_content" android:maxLines="2" android:layout_below="@*android:id/title" android:layout_alignLeft="@*android:id/title" />
</RelativeLayout>
<Switch android:layout_gravity="center" android:id="@id/switchWidget" android:padding="8.0dip" android:focusable="false" android:clickable="true" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</LinearLayout>
- save, recompile - sign - push
Makes float effect on Child menu Settings
​- still on Settings.apk
- go to folder \res\layout
- open and prepare to edit these files too
preference_icon.xml
preference_memoryusage.xml
preference_radiobutton.xml
preference_settings_checkbox_widget.xml
preference_sim_info.xml
preference_sim_info_checkbox.xml
Click to expand...
Click to collapse
- add this code on each Parent layout (lines #2)
HTML:
android:background="@color/bgmenu_yanu"
- save - recompile -push
- reboot
- next we will edit framework-res.apk too
- decompile framework-res.apk
- go to folder \res\layout
- open and prepare to edit these files too
preference_child.xml
preference_child_holo.xml
preference_header_item.xml
preference_holo.xml
preference_information.xml
preference_information_holo.xml
Click to expand...
Click to collapse
- againt add this code on those parent layout
HTML:
android:background="@color/bgmenu_yanu"
- go to folder \res\values
- open colors.xml
- add above </resources>
HTML:
<color name="bgmenu_yanu">#502a2a2a</color>
- save - recompile - push
- reboot
(Part III) Add dual layer background and edit Side padding
(Part III) Add dual layer background and edit Side padding​
​Prepare
- Know how to decompile recompile apk
- Disabled signature system
- Finished Part I dan Part II
- Settings.apk
- framework-res.apk
Guides
- Decompile Settings.apk
- make sure you have finished tutorial part II
- go to folder res\drawable\
- make 2 new xml files with name duawarna_yanu_cover.xml and duawarna_yanu_cover_anak.xml
- write in duawarna_yanu_cover.xml
HTML:
<?xml version="1.0" encoding="utf-8"?>
<layer-list
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:height="9.0dip">
<shape android:shape="rectangle"
xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="@color/teal_yanu" />
</shape>
</item>
<item android:top="133.0dip">
<shape android:shape="rectangle"
xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="@color/dark_yanu" />
</shape>
</item>
</layer-list>
- write in duawarna_yanu_cover_anak.xml
HTML:
<?xml version="1.0" encoding="utf-8"?>
<layer-list
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:height="9.0dip">
<shape android:shape="rectangle"
xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="@*android:color/teal_yanu" />
</shape>
</item>
<item android:top="73.0dip">
<shape android:shape="rectangle"
xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="@*android:color/dark_yanu" />
</shape>
</item>
</layer-list>
- save
- go to folder \res\values\
- open styles.xml and add this script bellow (name="Mole.Theme")
HTML:
<style name="Mole.Theme" parent="@*android:style/Theme.Holo">
....
....
<item name="android:windowBackground">@drawable/duawarna_yanu_cover</item>
</style>
<style name="Mole.Theme.Anak" parent="@*android:style/Theme.Holo">
<item name="android:windowBackground">@drawable/duawarna_yanu_cover_anak</item>
<item name="android:listSeparatorTextViewStyle">@style/Mole.ListSeparator</item>
</style>
- open colors.xml
- add these two color value
HTML:
<color name="dark_yanu">#ff111111</color>
<color name="teal_yanu">#ff00695c</color>
</resources>
- save
- open AndroidManifest.xml
- change these 3 android:theme look like this
HTML:
<application android:theme="[B]@style/Mole.Theme.Anak[/B]" android:label="@string/settings_label" android:icon="@mipmap/ic_launcher_settings" android:taskAffinity="" android:hardwareAccelerated="true" android:uiOptions="splitActionBarWhenNarrow" android:supportsRtl="true">
<activity android:theme="[B]@style/Mole.Theme[/B]" android:label="@string/settings_label_launcher" android:name="Settings" android:taskAffinity="com.android.settings" android:launchMode="singleTask" android:configChanges="mcc|mnc|keyboardHidden|screenSize">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<action android:name="android.settings.SETTINGS" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:theme="[B]@style/Mole.Theme.Anak[/B]" android:name=".SubSettings" android:taskAffinity="com.android.settings" android:configChanges="mcc|mnc|keyboardHidden|orientation|screenSize" android:parentActivityName="Settings" />
- save
- recompile - sign
- Settings done
- decompile framework-res.apk
- go to folder \res\values\
- open dimens.xml
- find and change these 2 value with these
HTML:
<dimen name="preference_fragment_padding_side">9.0dip</dimen>
<dimen name="preference_screen_header_padding_side">9.0dip</dimen>
if you dont want any side padding just make 0dp atau 0.0dip
- save - recompile - sign
- push Settings.apk and framework-res.apk to each system folder
- Reboot and done
Thanx
- Kohlewrrk
- giannisgx89
- Gustavo F. Santos
for inspiration
- stackoverflow
- maaadgroup
- CatatanDroid Blog Tips Apps Game Android
- Mediatek Android Art and Dev Reborn Facebook Group
Pertamax om
Any feedback guys?
@zhalx
Thanks for this Awesome
arun.negi004 said:
@zhalx
Thanks for this Awesome
Click to expand...
Click to collapse
you're welcome brother.
did it work on your device?
nice share om yan
zhalx said:
you're welcome brother.
did it work on your device?
Click to expand...
Click to collapse
Following your Guide right Now..
kingdj said:
nice share om yan
Click to expand...
Click to collapse
Thanx for visited om Agil. _/|\_
arun.negi004 said:
Following your Guide right Now..
Click to expand...
Click to collapse
Good Luck then.
Great tutorial om :highfive:
aldiandrew said:
Great tutorial om :highfive:
Click to expand...
Click to collapse
Thanks om :good:
Nice guide sir....will this work on kitkat ?
Saawi_singh said:
Nice guide sir....will this work on kitkat ?
Click to expand...
Click to collapse
yes, it works on kitkat too
ok sir...i was trying this bt it gives error...i'm trying this guide on lollifox...it is already lollpop themed so it have not any icon on action bar so followed 2nd part bt i changed the Mole.Theme code to mine androidmanifest.xml code..is that ok or i doing wrong?
Saawi_singh said:
ok sir...i was trying this bt it gives error...i'm trying this guide on lollifox...it is already lollpop themed so it have not any icon on action bar so followed 2nd part bt i changed the Mole.Theme code to mine androidmanifest.xml code..is that ok or i doing wrong?
Click to expand...
Click to collapse
it's oke sir, you can change any name of it as long as each of that have proper values.
Thanks.the mod works on my device
My setting has tabs this will work on mine too?
My device's default setting text was black now it is unreadable how to fix?
I dont want to change text color but that new black thing turned into white how to fix?

Categories

Resources