[GUIDE] Tips for themers :) - Android Themes

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

Related

[Guide][HowTo]close thread

Due to poor decisions made by the moderator staff here at XDA I will be leaving XDA. Recently my Developer application was denied due to a argument my team had with a moderator (TheDeadCpu) My whole team was banned and threads were deleted and nothing happened to this moderator. Now I am getting denied due to bad behavior. If you would like to continue using my kernels follow me on twitter @klquicksall I will also be deleting my kernel source from XDA.
I decided to start this thread because many people have asked me how to create transparency. Here is a Simple How to guide I put together through trial and error
All Fields in Bold are the needed changes. I have attached many examples in zip format that can be used for various roms at the bottom of Post 3.
Klquicksall’s Simple guide to make the Pull Down Notifications Menu and App drawer transparent.
*Look to the bottom of the guide for a few extra mods.*
Here are some Mods I made. With screen shots.
App drawer for sense 2.1
1 First we need to decompile the Rosie.apk using apk tool.
2 Resources needed to decompile; htc.com.resources.apk
3 Now you will need to locate 3 folders within the Res folder. 1 values, values-hdpi, and Layout
4. Values:
edit color.xml - replacing ff with 00 is just an option, you can certainly also use for example 88, or 77 depends on your taste.
<color name="all_item_background"> #00000000
<color name="add_to_home_background">#00000000
To delete the bubble text from the icon names (recommended)
<color name="bubble_dark_background">#00191919
<color name="bubble_text_shadowColor">#00000000
5 values-hdpi:
<color name="add_to_home_background">#00000000
00 is used in rcmix instead of 77 or 88
6 now go back to the main list of folders and select samli. Navigate to launcher.samli in the launcher folder. It’s about half way down the page. Look for this value in launcher.smali
const/high16 v23 (v24 in some roms), -0x100
and change to: const/high16 v23, -0x6700
7. Recompile apk.
(for apk manager)When asked the first time is this sys app. Select Y when asked the second time select Y again. Now it will run and stop and ask to view the keep folder. Make sure to delete resources.arsc and dex files in keep folder. If you don’t you will not get the desired affect from your mod. After deleting the files just hit enter to continue. Your app will be placed in the place app here for modding folder. It will be named unsignedrosie.apk Now open the place app here for modding folder and delete the original rosie.apk. Rename unsignedrosie.apk to rosie.apk and place it into a zip folder and flash.
App drawer for Sense 3.0
Follow steps 1 through 3 from the list above
4. Values:
Edit color.xml - replacing ff with cf is just an option, you can certainly also use for example 88, or 77 depends on your taste.
<color name="all_item_background">#cf000000
<color name="add_to_home_background">#cf000000
5 values-hdpi:
<color name="add_to_home_background">#cf000000
cf is used in rcmix instead of 77 or 88
6 Layout folder
Edit All_apps_view.xml
<?xml version="1.0" encoding="utf-8"?>
<com.htc.launcher.AllAppsView android:layout_width="fill_parent" android:layout_height="fill_parent" android:inAnimation="@anim/fade_in" androidutAnimation="@anim/fade_out"
xmlns:android="http://schemas.android.com/apk/res/android">
<com.htc.launcher.AllAppsListView android:layout_gravity="top|left|center" android:id="@id/content_list" android:background=@color/all_item_background" androidaddingLeft="@dimen/tabbar_padding" androidaddingRight="@dimen/tabbar_padding" android:nextFocusLeft="@id/content_list" android:nextFocusRight="@id/content_list" android:nextFocusUp="@id/content_list" android:nextFocusDown="@id/content_list" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginBottom="@dimen/application_boxed_padding_bottom" />
<com.htc.launcher.AllAppsGridView android:scrollbarStyle="outsideOverlay" android:layout_gravity="top|left|center" android:id="@id/content_grid" android:background="@color/all_item_background" androidaddingLeft="@dimen/application_grid_left_padding" androidaddingTop="@dimen/application_boxed_padding_top" androidaddingRight="@dimen/application_grid_right_padding" android:nextFocusLeft="@id/content_grid" android:nextFocusRight="@id/content_grid" android:nextFocusUp="@id/content_grid" android:nextFocusDown="@id/content_grid" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginBottom="@dimen/application_boxed_padding_bottom" android:listSelector="@drawable/grid_selector" android:drawSelectorOnTop="false" android:verticalSpacing="@dimen/launcher_aagv_vertical_spacing" android:numColumns="@integer/allprogram_grid_columns" />
<com.htc.launcher.AddWidgetLayout android:id="@id/content_add_to_home" android:background="@color/add_to_home_background" android:layout_width="fill_parent" android:layout_height="fill_parent" />
<include android:id="@android:id/tabhost" android:layout_width="fill_parent" android:layout_height="fill_parent" layout="@layout/all_apps_tab" />
</com.htc.launcher.AllAppsView>
7 Recompile Apk
Notification pull down menu transparency for Sense 2.1 Gingerbread based Roms
First we need to decompile SystemUI.apk
Resources needed to decompile:
1 com.htc.resources.apk
2 framework-res.apk
1 Once the systemui.apk is decompiled you need to enable transparency support in StatusBarService.smali. and StatuBarPolicy.smali.
Smali Edits
statusbarservice.smali Replace const/4 v5, 0x2 with const/4 v5, -0x3 You will need to make this edit in two places. Make sure you see -0x1 above the 0x2 when editing.
statusbarpolicy.smali Replace const/4 v5, 0x2 with const/4 v5, -0x3. You will need to make this edit in one place.
Now we need to make edits in
Values and layout folders
1 Values
Color.xml
<color name="white">#ffffffff</color>
<color name="black">ff9c9c9c</color>
<color name="half_white">#7fffffff</color>
<color name="half_black">#7f000000</color>
<color name="primary_text_color">#ffffffff</color>
<color name="secondary_text_color">#ff9c9c9c</color>
Drawables
<item type="drawable" name="APKTOOL_DUMMY_00eb">false</item>
<item type="drawable" name="shade_bgcolor">#ff282828</item>
<item type="drawable" name="notification_header_text_color">#ff9c9c9c</item>
<item type="drawable" name="notification_number_text_color">#ff9c9c9c</item>
<item type="drawable" name="list_item_background">#00000000</item>
2 Layout folder
Statusbartracking.xml
<?xml version="1.0" encoding="UTF-8"?>
<com.android.systemui.statusbar.TrackingView androidrientation="vertical" androidaddingLeft="0.0px" androidaddingRight="0.0px" androidaddingBottom="0.0px" android:focusable="true" android:visibility="gone" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android">
<View android:background="@drawable/status_bar_background" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0" />
<LinearLayout androidrientation="vertical" android:id="@id/swtich_buttons" android:layout_width="fill_parent" android:layout_height="wrap_content">
<View android:background="@drawable/divider_horizontal_light_opaque" android:layout_width="fill_parent" android:layout_height="1.0px" />
<View android:background="@drawable/status_bar_background" android:layout_width="fill_parent" android:layout_height="4.0sp" />
<LinearLayout androidrientation="horizontal" android:background=#00000000" android:layout_width="fill_parent" android:layout_height="wrap_content" android:baselineAligned="false">
<TextView android:textSize="15.0sp" android:textStyle="bold" android:textColor="#ffffffff" android:ellipsize="end" android:gravity="center" android:id="@id/notifications" android:background="@drawable/status_bar_tab_on" android:clickable="true" android:layout_width="0.0px" android:layout_height="48.0px" android:singleLine="true" android:layout_weight="1.0" />
<TextView android:textSize="15.0sp" android:textStyle="bold" android:textColor="#ffffffff" android:ellipsize="end" android:gravity="center" android:id="@id/quick_settings" android:background="@drawable/status_bar_tab_off" android:clickable="true" android:layout_width="0.0px" android:layout_height="48.0px" android:singleLine="true" android:layout_weight="1.0" />
</LinearLayout>
</LinearLayout>
<com.android.systemui.statusbar.CloseDragHandle androidrientation="vertical" android:id="@id/close" android:layout_width="fill_parent" android:layout_height="wrap_content">
<ImageView android:layout_gravity="bottom" android:layout_width="fill_parent" android:layout_height="wrap_content" android:scaleType="fitXY" />
</com.android.systemui.statusbar.CloseDragHandle>
</com.android.systemui.statusbar.TrackingView>
Statusbarexpanded.xml
<?xml version="1.0" encoding="UTF-8"?>
<com.android.systemui.statusbar.ExpandedView androidrientation="horizontal" android:focusable="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout androidrientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">
<LinearLayout androidrientation="horizontal" android:background="@drawable/status_bar_header_background" androidaddingTop="3.0dip" androidaddingRight="3.0dip" androidaddingBottom="5.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content">
<com.android.systemui.statusbar.CarrierLabel android:layout_gravity="center_vertical" androidrientation="vertical" android:id="@id/carrierLabel" androidaddingBottom="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">
<com.htc.widget.HtcBlinkingTextView android:textAppearance="?android:textAppearanceLarge" android:textSize="28.0px" android:textColor="#ffffffff" android:layout_gravity="center_vertical" android:id="@id/plmnLabel" androidaddingLeft="4.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<TextView android:textAppearance="?android:textAppearanceLarge" android:textSize="28.0px" android:textColor="#ffffffff" android:layout_gravity="center_vertical" android:id="@id/spnLabel" androidaddingLeft="4.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</com.android.systemui.statusbar.CarrierLabel>
<TextView android:textSize="14.0sp" android:textColor="#ffffffff" android:layout_gravity="center_vertical" android:id="@id/clear_all_button" android:background="@drawable/btn_default_small" androidaddingLeft="15.0dip" androidaddingRight="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="\?android:buttonStyle" />
</LinearLayout>
<FrameLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0">
<ScrollView android:id="@id/scroll" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="fill_parent" androidverScrollMode="ifContentScrolls">
<com.android.systemui.statusbar.NotificationLinearLayout androidrientation="vertical" android:id="@id/notificationLinearLayout" android:layout_width="fill_parent" android:layout_height="wrap_content">
<TextView android:textAppearance="@style/TextAppearance.StatusBar.Title" android:id="@id/noNotificationsTitle" android:background="@drawable/title_bar_portrait" androidaddingLeft="14.0px" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/status_bar_no_notifications_title" />
<TextView android:textAppearance="@style/TextAppearance.StatusBar.Title" android:id="@id/ongoingTitle" android:background="@drawable/title_bar_portrait" androidaddingLeft="14.0px" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/status_bar_ongoing_events_title" />
<LinearLayout androidrientation="vertical" android:id="@id/ongoingItems" android:layout_width="fill_parent" android:layout_height="wrap_content"android:drawable="@drawable/status_bar_background" />
<TextView android:textAppearance="@style/TextAppearance.StatusBar.Title" android:id="@id/latestTitle" android:background="@drawable/title_bar_portrait" androidaddingLeft="14.0px" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/status_bar_latest_events_title" />
<LinearLayout androidrientation="vertical" android:id="@id/latestItems" android:layout_width="fill_parent" android:layout_height="wrap_content" android:drawable="@drawable/status_bar_background" />
</com.android.systemui.statusbar.NotificationLinearLayout>
</ScrollView>
<ImageView android:layout_width="fill_parent" android:layout_height="fill_parent" android:src="@drawable/title_bar_shadow" android:scaleType="fitXY" />
</FrameLayout>
</LinearLayout>
<ImageView android:id="@id/tab_divider" android:layout_width="2.0px" android:layout_height="fill_parent" android:src="@drawable/notification_separator" android:scaleType="fitXY" />
</com.android.systemui.statusbar.ExpandedView>
Quicksettings.xml
<?xml version="1.0" encoding="UTF-8"?>
<com.android.systemui.statusbar.preference.QuickSettings androidrientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<TextView android:textAppearance="?android:textAppearanceLarge" android:textSize="28.0px" android:textColor="#ffffffff" android:gravity="center_vertical" android:id="@id/title_bar" android:background="@drawable/status_bar_header_background" androidaddingLeft="9.0sp" android:layout_width="fill_parent" android:layout_height="wrap_content" android:scaleType="fitXY" android:text="@string/status_bar_quick_settings" />
<ScrollView android:id="@id/scroll" android:background="@drawable/list_item_background" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="fill_parent">
<LinearLayout androidrientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">
<include android:id="@id/dummy_mode1" layout="\@layout/status_bar_preference" />
<include android:id="@id/brightness" layout="\@layout/status_bar_preference" />
<include android:id="@id/wifi" layout="\@layout/status_bar_preference" />
<include android:id="@id/bluetooth" layout="\@layout/status_bar_preference" />
<include android:id="@id/hotspot" layout="\@layout/status_bar_preference" />
<include android:id="@id/dummy_mode2" layout="\@layout/status_bar_preference" />
<include android:id="@id/gps" layout="\@layout/status_bar_preference" />
<include android:id="@id/network" layout="\@layout/status_bar_preference" />
<include android:id="@id/rotation" layout="\@layout/status_bar_preference" />
<include android:id="@id/vibration_mode" layout="\@layout/status_bar_preference" />
<include android:id="@id/silent_mode" layout="\@layout/status_bar_preference" />
<include android:id="@id/volume" layout="\@layout/status_bar_preference" />
<include android:id="@id/task_manager" layout="\@layout/status_bar_preference" />
<include android:id="@id/settings" layout="\@layout/status_bar_preference" />
</LinearLayout>
</ScrollView>
</com.android.systemui.statusbar.preference.QuickSettings>
Now you will need to change out Pngs in
Drawables, drawables hdpi
Drawables status bar tab on / off
Drawables hdpi status bar tab on / off, and Statusbarbackground.
Edit these pngs to your desired transparency effect.
3 Recompile apk
Notification pull down menu transparency for Sense 3.0 Gingerbread based Roms
First we need to decompile SystemUI.apk
Resources needed to decompile:
1 com.htc.resources.apk
2 framework-res.apk
1 Once the systemui.apk is decompiled you need to enable transparency support in StatusBarService.smali. and StatuBarPolicy.smali.
Smali Edits
statusbarservice.smali Replace const/4 v5, 0x2 with const/4 v5, -0x3 You will need to make this edit in one place. Make sure you see -0x1 above the 0x2 when editing. Line 1797 may be a little different in some roms.
statusbarpolicy.smali Replace const/4 v5, 0x2 with const/4 v5, -0x3. You will need to make this edit in one place. Line 2246 may be different in some roms.
Now we need to make edits in
Values and layout folders
Values Folder
Color
<color name="white">#ffffffff</color>
<color name="black">#ff999999</color>
<color name="half_white">#7fffffff</color>
<color name="half_black">#7f000000</color>
<color name="primary_text_color">#ffffffff</color>
<color name="secondary_text_color">#ffcccccc</color>
You can use different values for the colors, the ones listed above are just values I use.
Drawables
<?xml version="1.0" encoding="UTF-8"?>
<resources>
<item type="drawable" name="APKTOOL_DUMMY_0046">false</item>
<item type="drawable" name="APKTOOL_DUMMY_0047">false</item>
<item type="drawable" name="APKTOOL_DUMMY_0048">false</item>
<item type="drawable" name="APKTOOL_DUMMY_0049">false</item>
<item type="drawable" name="APKTOOL_DUMMY_004a">false</item>
<item type="drawable" name="APKTOOL_DUMMY_004b">false</item>
<item type="drawable" name="APKTOOL_DUMMY_004c">false</item>
<item type="drawable" name="APKTOOL_DUMMY_004d">false</item>
<item type="drawable" name="APKTOOL_DUMMY_004e">false</item>
<item type="drawable" name="APKTOOL_DUMMY_004f">false</item>
<item type="drawable" name="APKTOOL_DUMMY_0050">false</item>
<item type="drawable" name="APKTOOL_DUMMY_0051">false</item>
<item type="drawable" name="APKTOOL_DUMMY_0052">false</item>
<item type="drawable" name="APKTOOL_DUMMY_0053">false</item>
<item type="drawable" name="APKTOOL_DUMMY_0054">false</item>
<item type="drawable" name="APKTOOL_DUMMY_0055">false</item>
<item type="drawable" name="APKTOOL_DUMMY_0056">false</item>
<item type="drawable" name="APKTOOL_DUMMY_0057">false</item>
<item type="drawable" name="APKTOOL_DUMMY_0058">false</item>
<item type="drawable" name="APKTOOL_DUMMY_0059">false</item>
<item type="drawable" name="APKTOOL_DUMMY_005a">false</item>
<item type="drawable" name="APKTOOL_DUMMY_005b">false</item>
<item type="drawable" name="APKTOOL_DUMMY_005c">false</item>
<item type="drawable" name="APKTOOL_DUMMY_005d">false</item>
<item type="drawable" name="APKTOOL_DUMMY_005e">false</item>
<item type="drawable" name="APKTOOL_DUMMY_005f">false</item>
<item type="drawable" name="APKTOOL_DUMMY_0060">false</item>
<item type="drawable" name="APKTOOL_DUMMY_0061">false</item>
<item type="drawable" name="APKTOOL_DUMMY_0062">false</item>
<item type="drawable" name="APKTOOL_DUMMY_0063">false</item>
<item type="drawable" name="APKTOOL_DUMMY_0064">false</item>
<item type="drawable" name="APKTOOL_DUMMY_0072">false</item>
<item type="drawable" name="APKTOOL_DUMMY_0073">false</item>
<item type="drawable" name="APKTOOL_DUMMY_0074">false</item>
<item type="drawable" name="APKTOOL_DUMMY_0075">false</item>
<item type="drawable" name="APKTOOL_DUMMY_0076">false</item>
<item type="drawable" name="APKTOOL_DUMMY_0077">false</item>
<item type="drawable" name="APKTOOL_DUMMY_0078">false</item>
<item type="drawable" name="APKTOOL_DUMMY_0079">false</item>
<item type="drawable" name="APKTOOL_DUMMY_007a">false</item>
<item type="drawable" name="APKTOOL_DUMMY_007b">false</item>
<item type="drawable" name="APKTOOL_DUMMY_007c">false</item>
<item type="drawable" name="APKTOOL_DUMMY_007d">false</item>
<item type="drawable" name="APKTOOL_DUMMY_007e">false</item>
<item type="drawable" name="APKTOOL_DUMMY_007f">false</item>
<item type="drawable" name="APKTOOL_DUMMY_0080">false</item>
<item type="drawable" name="APKTOOL_DUMMY_0081">false</item>
<item type="drawable" name="APKTOOL_DUMMY_0082">false</item>
<item type="drawable" name="APKTOOL_DUMMY_0083">false</item>
<item type="drawable" name="APKTOOL_DUMMY_0084">false</item>
<item type="drawable" name="APKTOOL_DUMMY_0085">false</item>
<item type="drawable" name="APKTOOL_DUMMY_0086">false</item>
<item type="drawable" name="APKTOOL_DUMMY_0087">false</item>
<item type="drawable" name="APKTOOL_DUMMY_0088">false</item>
<item type="drawable" name="APKTOOL_DUMMY_0089">false</item>
<item type="drawable" name="APKTOOL_DUMMY_008a">false</item>
<item type="drawable" name="APKTOOL_DUMMY_008b">false</item>
<item type="drawable" name="APKTOOL_DUMMY_008c">false</item>
<item type="drawable" name="APKTOOL_DUMMY_008d">false</item>
<item type="drawable" name="APKTOOL_DUMMY_008e">false</item>
<item type="drawable" name="APKTOOL_DUMMY_008f">false</item>
<item type="drawable" name="APKTOOL_DUMMY_013e">false</item>
<item type="drawable" name="shade_bgcolor">#99000000</item>
<item type="drawable" name="notification_header_text_color">#ffffffff</item>
<item type="drawable" name="notification_number_text_color">#ffffffff</item>
<item type="drawable" name="list_item_background">#00000000</item>
<item type="drawable" name="list_item_background_gray">#fff2f2f2</item>
</resources>
Note on a stock SystemUI the values in Yellow will be on the top. You will need to add them to the bottom just like this guide has it.
Layout Folder
Status bar tracking.xml
<?xml version="1.0" encoding="UTF-8"?>
<com.android.systemui.statusbar.TrackingView androidrientation="vertical" androidaddingLeft="0.0px" androidaddingRight="0.0px" androidaddingBottom="0.0px" android:focusable="true" android:visibility="gone" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android">
<View android:id="@id/background" android:background="@drawable/status_bar_background" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0" />
<LinearLayout androidrientation="vertical" android:id="@id/swtich_buttons" android:layout_width="fill_parent" android:layout_height="wrap_content">
<View android:background="@drawable/divider_horizontal_dark_opaque" android:layout_width="fill_parent" android:layout_height="1.0px" />
<View android:id="@id/tab_header" android:background="@drawable/status_bar_background" android:layout_width="fill_parent" android:layout_height="4.0sp" />
<LinearLayout androidrientation="horizontal" android:background="#00000000" android:layout_width="fill_parent" android:layout_height="wrap_content" android:baselineAligned="false">
<TextView android:textSize="@com.htc:dimen/list_primary_m" android:textStyle="bold" android:textColor="#ffffffff" android:ellipsize="marquee" android:gravity="center" android:id="@id/notifications" android:background="@drawable/status_bar_tab_on" android:clickable="true" android:layout_width="0.0px" android:layout_height="@dimen/quick_settings_tab_height" android:singleLine="true" android:layout_weight="1.0" />
<TextView android:textSize="@com.htc:dimen/list_primary_m" android:textStyle="bold" android:textColor="#ffffffff" android:ellipsize="marquee" android:gravity="center" android:id="@id/quick_settings" android:background="@drawable/status_bar_tab_off" android:clickable="true" android:layout_width="0.0px" android:layout_height="@dimen/quick_settings_tab_height" android:singleLine="true" android:layout_weight="1.0" />
</LinearLayout>
</LinearLayout>
<com.android.systemui.statusbar.CloseDragHandle androidrientation="vertical" android:id="@id/close" android:layout_width="fill_parent" android:layout_height="wrap_content">
<ImageView android:layout_gravity="bottom" android:layout_width="fill_parent" android:layout_height="wrap_content" android:scaleType="fitXY" />
</com.android.systemui.statusbar.CloseDragHandle>
</com.android.systemui.statusbar.TrackingView>
Status bar expanded.xml
<?xml version="1.0" encoding="UTF-8"?>
<com.android.systemui.statusbar.ExpandedView androidrientation="horizontal" android:focusable="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout androidrientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">
<LinearLayout android:gravity="center_vertical" androidrientation="horizontal" android:background="@drawable/status_bar_header_background" androidaddingRight="@dimen/clear_button_padding_right" android:layout_width="fill_parent" android:layout_height="wrap_content">
<com.android.systemui.statusbar.CarrierLabel android:gravity="center_vertical" android:layout_gravity="center_vertical" androidrientation="vertical" android:id="@id/carrierLabel" androidaddingLeft="5.0dip" androidaddingTop="1.0dip" androidaddingBottom="1.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0">
<com.htc.widget.HtcBlinkingTextView android:textAppearance="?android:textAppearanceLarge" android:textSize="@dimen/status_bar_title_font_size" android:textColor="#ffffffff" android:layout_gravity="center_vertical" android:id="@id/plmnLabel" androidaddingLeft="4.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<TextView android:textAppearance="?android:textAppearanceLarge" android:textSize="@dimen/status_bar_title_font_size" android:textColor="#ffffffff" android:layout_gravity="center_vertical" android:id="@id/spnLabel" androidaddingLeft="4.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</com.android.systemui.statusbar.CarrierLabel>
<TextView android:textSize="@dimen/clear_button_font_size" android:textColor="#ffffffff" android:layout_gravity="center_vertical" android:id="@id/clear_all_button" android:background="@drawable/btn_default_small" androidaddingLeft="15.0dip" androidaddingRight="15.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/status_bar_clear_all_button" style="?android:buttonStyle" />
</LinearLayout>
<FrameLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0">
<ScrollView android:id="@id/scroll" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="fill_parent" androidverScrollMode="ifContentScrolls">
<com.android.systemui.statusbar.NotificationLinearLayout androidrientation="vertical" android:id="@id/notificationLinearLayout" android:layout_width="fill_parent" android:layout_height="wrap_content">
<TextView android:textAppearance="@style/TextAppearance.StatusBar.Title" android:id="@id/noNotificationsTitle" android:background="@drawable/title_bar_portrait" androidaddingLeft="14.0px" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/status_bar_no_notifications_title" />
<TextView android:textAppearance="@style/TextAppearance.StatusBar.Title" android:id="@id/ongoingTitle" android:background="@drawable/title_bar_portrait" androidaddingLeft="14.0px" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/status_bar_ongoing_events_title" />
<LinearLayout androidrientation="vertical" android:id="@id/ongoingItems" android:layout_width="fill_parent" android:layout_height="wrap_content" android:drawable="@drawable/status_bar_background" />
<TextView android:textAppearance="@style/TextAppearance.StatusBar.Title" android:id="@id/latestTitle" android:background="@drawable/title_bar_portrait" androidaddingLeft="14.0px" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/status_bar_latest_events_title" />
<LinearLayout androidrientation="vertical" android:id="@id/latestItems" android:layout_width="fill_parent" android:layout_height="wrap_content" android:drawable="@drawable/status_bar_background" />
</com.android.systemui.statusbar.NotificationLinearLayout>
</ScrollView>
<ImageView android:layout_width="fill_parent" android:layout_height="fill_parent" android:src="@drawable/title_bar_shadow" android:scaleType="fitXY" />
</FrameLayout>
</LinearLayout>
<ImageView android:id="@id/tab_divider" android:layout_width="2.0px" android:layout_height="fill_parent" android:src="@drawable/notification_separator" android:scaleType="fitXY" />
</com.android.systemui.statusbar.ExpandedView>
Note the text is yellow will have to be added manually. They are not part of the stock SystemUI
Quicksettings.xml
<?xml version="1.0" encoding="UTF-8"?>
<com.android.systemui.statusbar.preference.QuickSettings androidrientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<TextView android:textAppearance="?android:textAppearanceLarge" android:textSize="@dimen/status_bar_title_font_size" android:textColor="#ffffffff" android:gravity="center_vertical" android:id="@id/title_bar" android:background="@drawable/status_bar_header_background" androidaddingLeft="9.0sp" android:layout_width="fill_parent" android:layout_height="wrap_content" android:scaleType="fitXY" android:text="@string/status_bar_quick_settings" />
<ScrollView android:id="@id/scroll" android:background="@drawable/list_item_background" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="fill_parent">
<LinearLayout androidrientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">
<include android:id="@id/volume" layout="@layout/status_bar_preference" />
<include android:id="@id/brightness" layout="@layout/status_bar_preference" />
<include android:id="@id/rotation" layout="@layout/status_bar_preference" />
<include android:id="@id/wifi" layout="@layout/status_bar_preference" />
<include android:id="@id/hotspot" layout="@layout/status_bar_preference" />
<include android:id="@id/network" layout="@layout/status_bar_preference" />
<include android:id="@id/wimax" layout="@layout/status_bar_preference" />
<include android:id="@id/bluetooth" layout="@layout/status_bar_preference" />
<include android:id="@id/gps" layout="@layout/status_bar_preference" />
<include android:id="@id/settings" layout="@layout/status_bar_preference" />
<include android:id="@id/task_manager" layout="@layout/status_bar_preference" />
</LinearLayout>
</ScrollView>
</com.android.systemui.statusbar.preference.QuickSettings>
Now use the Apks above for Status bar tab on / off and status bar background.
Recompile apk and enjoy.
To Change your Lock Screen in Gingerbread Sense 2.1
1. Create a 480x788 pixel png (no jpg) and name it lockscreen_topedge.png - if desired you can add a little transparency if you want this effect
2. Extract the HtcLockScreen.apk from the lockscreen.zip
3. Open (NOT UNPACK) HtcLockScreen.apk with winrar and drag your lockscreen_topedge.png in the res/drawable-hdpi folder and just close the apk. Make sure your compression settings in winrar are store to avoid any issues.
4. In a perfect world you zipalign your apk for less Ram consumption, but since this is only 1, you will not notice a difference anyway.
5. Now drag the HtcLockScreen.apk in the lockscreen2.2.1 or lockscreen2.2.zip (depends what you have downloaded for your type of ROM) in the system/app folder and close the zip. Again - no need to pack or unpack anything, this would only break the signage.
6. Install like a ROM with ROM Manager or directly from recovery.
To create the 5 app drawer for Sense 2.1
Decompile rosie.apk with htc.com.resources.apk
Go to values/ values-hdpi /integers
<integer name="cell_layout_line_width">4</integer>
Change to 5
Values-hdpi folder / integer
<?xml version="1.0" encoding="UTF-8"?>
<resources>
<integer name="scroll_x1">0</integer>
<integer name="scroll_y1">37</integer>
<integer name="scroll_x2">240</integer>
<integer name="scroll_y2">10</integer>
<integer name="scroll_x3">480</integer>
<integer name="scroll_y3">37</integer>
<integer name="cell_layout_corner_radius">5</integer>
<integer name="cell_layout_line_width">5</integer>
<integer name="blade_control_touch_area">50</integer>
</resources>
Values folder / integer
<?xml version="1.0" encoding="UTF-8"?>
<resources>
<integer name="add_view_scroll_up_duration">200</integer>
<integer name="add_view_scroll_down_duration">200</integer>
<integer name="add_view_fade_in_duration">300</integer>
<integer name="add_view_fade_out_down_duration">200</integer>
<integer name="blade_scroll_fade">300</integer>
<integer name="blade_bar_slide">800</integer>
<integer name="button_state_fade_duration">250</integer>
<integer name="buttons_slide_down_duration">200</integer>
<integer name="button_bar_scroll_up_area">5</integer>
<integer name="folder_grid_columns">5</integer>
<integer name="workspace_screen_cl_short_axis_cells">4</integer>
<integer name="workspace_screen_cl_long_axis_cells">4</integer>
<integer name="allprogram_grid_columns">5</integer>
<integer name="thumb_nail_screen_1_x">68</integer>
<integer name="thumb_nail_screen_1_y">13</integer>
<integer name="thumb_nail_screen_2_x">166</integer>
<integer name="thumb_nail_screen_2_y">13</integer>
<integer name="thumb_nail_screen_3_x">20</integer>
<integer name="thumb_nail_screen_3_y">141</integer>
<integer name="thumb_nail_screen_4_x">117</integer>
<integer name="thumb_nail_screen_4_y">141</integer>
<integer name="thumb_nail_screen_5_x">215</integer>
<integer name="thumb_nail_screen_5_y">141</integer>
<integer name="thumb_nail_screen_6_x">68</integer>
<integer name="thumb_nail_screen_6_y">269</integer>
<integer name="thumb_nail_screen_7_x">166</integer>
<integer name="thumb_nail_screen_7_y">269</integer>
<integer name="thumb_nail_screen_width">80</integer>
<integer name="thumb_nail_screen_height">114</integer>
<integer name="drag_scale">24</integer>
</resources>
Sense 3
5 app drawer
Values integers
<?xml version="1.0" encoding="utf-8"?>
<resources>
<integer name="default_screen_count">7</integer>
<integer name="default_screen">3</integer>
<integer name="middle_btn_top">532</integer>
<integer name="middle_left_btn_left">130</integer>
<integer name="middle_left_btn_right">371</integer>
<integer name="middle_center_btn_right">619</integer>
<integer name="middle_right_btn_right">860</integer>
<integer name="add_view_scroll_up_duration">200</integer>
<integer name="add_view_scroll_down_duration">200</integer>
<integer name="add_view_fade_in_duration">300</integer>
<integer name="add_view_fade_out_down_duration">200</integer>
<integer name="blade_scroll_fade">300</integer>
<integer name="blade_bar_slide">960</integer>
<integer name="allprogram_grid_rows">5</integer>
<integer name="button_state_fade_duration">250</integer>
<integer name="buttons_slide_down_duration">200</integer>
<integer name="button_bar_scroll_up_area">5</integer>
<integer name="folder_grid_columns">5</integer>
<integer name="workspace_screen_cl_short_axis_cells">4</integer>
<integer name="workspace_screen_cl_long_axis_cells">4</integer>
<integer name="allprogram_grid_columns">5</integer>
<integer name="allprogram_land_grid_columns">6</integer>
<integer name="thumb_nail_screen_1_x">68</integer>
<integer name="thumb_nail_screen_1_y">13</integer>
<integer name="thumb_nail_screen_2_x">166</integer>
<integer name="thumb_nail_screen_2_y">13</integer>
<integer name="thumb_nail_screen_3_x">20</integer>
<integer name="thumb_nail_screen_3_y">141</integer>
<integer name="thumb_nail_screen_4_x">117</integer>
<integer name="thumb_nail_screen_4_y">141</integer>
<integer name="thumb_nail_screen_5_x">215</integer>
<integer name="thumb_nail_screen_5_y">141</integer>
<integer name="thumb_nail_screen_6_x">68</integer>
<integer name="thumb_nail_screen_6_y">269</integer>
<integer name="thumb_nail_screen_7_x">166</integer>
<integer name="thumb_nail_screen_7_y">269</integer>
<integer name="thumb_nail_screen_width">80</integer>
<integer name="thumb_nail_screen_height">114</integer>
<integer name="thumb_nail_screen_1_x_5page">173</integer>
<integer name="thumb_nail_screen_1_y_5page">23</integer>
<integer name="thumb_nail_screen_2_x_5page">20</integer>
<integer name="thumb_nail_screen_2_y_5page">282</integer>
<integer name="thumb_nail_screen_3_x_5page">173</integer>
<integer name="thumb_nail_screen_3_y_5page">282</integer>
<integer name="thumb_nail_screen_4_x_5page">325</integer>
<integer name="thumb_nail_screen_4_y_5page">282</integer>
<integer name="thumb_nail_screen_5_x_5page">173</integer>
<integer name="thumb_nail_screen_5_y_5page">542</integer>
<integer name="thumb_nail_screen_width_5page">135</integer>
<integer name="thumb_nail_screen_height_5page">192</integer>
<integer name="drag_scale">24</integer>
</resources>
Values hdpi
<?xml version="1.0" encoding="utf-8"?>
<resources>
<integer name="allprogram_grid_rows">4</integer>
<integer name="scroll_x1">0</integer>
<integer name="scroll_y1">37</integer>
<integer name="scroll_x2">240</integer>
<integer name="scroll_y2">10</integer>
<integer name="scroll_x3">480</integer>
<integer name="scroll_y3">37</integer>
<integer name="cell_layout_corner_radius">5</integer>
<integer name="cell_layout_line_width">5</integer>
<integer name="blade_control_touch_area">50</integer>
Credits
Capychimp
he_stheone64
liamsters
maxdroid
If I forgot you please let me know.
Enjoy
Here are some tools to get you going
Apkmanager 4.9
Apktool
CapyChimp Apktool user guide
Attached are examples of what you should achieve if you follow the guide. I made all of the mods below with the guide above.
These zip files path is system/app If you are using a rom with a different path you will need to add the correct path to the zip and then flash.
1 Transparent pull down menu for sense 3
2 5 app drawer transparent for sense 3
3 4 app drawer transparent for hybrid roms based on 2.1 with 3.0 lockscreens
5 5 app drawer transparent for hybrid roms based on 2.1 with 3.0 lockscreens
6 4 app drawer transparent for 2.1 stock based roms
7 Transparent Pull down menu for 2.1 based roms.
Feel free to ask questions.
Is it possible to create a 5 column app drawer for the 3.0 Rosie?
Sent from my Desire HD using XDA Premium App
acidspider said:
Is it possible to create a 5 column app drawer for the 3.0 Rosie?
Sent from my Desire HD using XDA Premium App
Click to expand...
Click to collapse
Very easy. Look at my second post.
klquicksall said:
Very easy. Look at my second post.
Click to expand...
Click to collapse
nice thread very usefull for new guys
klquicksall said:
Very easy. Look at my second post.
Click to expand...
Click to collapse
I haven't got a client when it comes to stuff like that. Any chance of a flashable zip?
Sent from my Desire HD using XDA Premium App
acidspider said:
I haven't got a client when it comes to stuff like that. Any chance of a flashable zip?
Sent from my Desire HD using XDA Premium App
Click to expand...
Click to collapse
I have attached many examples of what should be achieved with the guide. Go to post 3 and download one of them. They also work on almost every rom for the DHD and Inspire 4g.
Ok ill give it a whirl. Cheers
Sent from my Desire HD using XDA Premium App
Thanks! Works perfectly.
Dont suppose you know how to get rid of the 'apps' bar at the top and the all/favourites/downloaded bar at the bottom? I'd like to fit even more apps on screen.
JLneonhug said:
Thanks! Works perfectly.
Dont suppose you know how to get rid of the 'apps' bar at the top and the all/favourites/downloaded bar at the bottom? I'd like to fit even more apps on screen.
Click to expand...
Click to collapse
That's part of the frame work. I don't think the app drawer would work without it.
Sent from my HTC Desire HD using XDA Premium App
Thanks, nice guide. I have a small problem though. I am trying to change tha app drawer background to transparent, I am using Sense 2.1
In the guide you are writing to change const/high16 v23 (v24 in some roms), -0x100 to: const/high16 v23, -0x6700 in launcher.smali.
The only problem is that I can't find const/high16 v23 (nor v24). I am using Rosie.apk that was already modded by Maxdroid to have 5 rows of icons on home screen.
Any idea?
Thanks
szilistvan said:
Thanks, nice guide. I have a small problem though. I am trying to change tha app drawer background to transparent, I am using Sense 2.1
In the guide you are writing to change const/high16 v23 (v24 in some roms), -0x100 to: const/high16 v23, -0x6700 in launcher.smali.
The only problem is that I can't find const/high16 v23 (nor v24). I am using Rosie.apk that was already modded by Maxdroid to have 5 rows of icons on home screen.
Any idea?
Thanks
Click to expand...
Click to collapse
If you dont mind which rom are you using this for? Also when you decompile Rosie.apk did you use both framework-res.apk and htc.com.resources.apk?
Yes, I used both. The ROM I have is Leedroid HD 2.2.3. (based on Froyo)
szilistvan said:
Yes, I used both. The ROM I have is Leedroid HD 2.2.3. (based on Froyo)
Click to expand...
Click to collapse
Well I haven't used a froyo ROM in a while but it should be the same. Look for -ox100 with note pad ++
Sent from my HTC Desire HD using XDA Premium App
I have tried that, searched the file with every possible combination, but no luck, I have no entry in that file with -0x100 or const/high16 v23(or v24).
szilistvan said:
I have tried that, searched the file with every possible combination, but no luck, I have no entry in that file with -0x100 or const/high16 v23(or v24).
Click to expand...
Click to collapse
Try to just search -0x100. Also if you search for the 1.84 based rcmix it has a transparent app drawer that comes with the ROM.
Sent from my HTC Desire HD using XDA Premium App
Thanks very much for this thread. I've now learnt a lot about carrying out transparency mods!
I was wondering if it is possible to edit Seo's Sense 3.0 Mms.apk with the "Bubble Interface" so that there is transparency on the conversation window? I've had a look around and attempted some changes but to no avail...
Thanks again!
pravus_nephilim said:
Thanks very much for this thread. I've now learnt a lot about carrying out transparency mods!
I was wondering if it is possible to edit Seo's Sense 3.0 Mms.apk with the "Bubble Interface" so that there is transparency on the conversation window? I've had a look around and attempted some changes but to no avail...
Thanks again!
Click to expand...
Click to collapse
well I think it would be possible but, I haven't tried it. Decompille the apk with look for all item background ect... in the values folder or layout folder. see if that works. There might also be a smali edit in there some where. Let me know how it goes.
szilistvan said:
I have tried that, searched the file with every possible combination, but no luck, I have no entry in that file with -0x100 or const/high16 v23(or v24).
Click to expand...
Click to collapse
let me know how it goes. If you cant get it ill try to fix one up for you.

[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 Brightness slider + Speed Meter in Galaxy Y Duos Only

Hii,
Now I Tells You How To add Brightness slider + Speed Meter.
This Guide Only For Galaxay Y Duos [GT-S6102]
First Decompile SystemUI.apk
Read My Post On XDA About Recompiling,Decompiling Apk
After recompiling
Add These Files here Which i Given Below
PHP:
SystemUI/smali/com/lidroid/systemui/quickpanel/BrightnessSlider$BrightnessSettingsObserver
SystemUI/smali/com/lidroid/systemui/quickpanel/BrightnessSlider.smali
SystemUI/smali/com/android/systemui/statusbar/SlideBrightness$1.smali
SystemUI/smali/com/android/systemui/statusbar/SlideBrightness$2.smali
SystemUI/smali/com/android/systemui/statusbar/SlideBrightness.smali
SystemUI/smali/com/android/systemui/statusbar/DataTrafik$1.smali
SystemUI/smali/com/android/systemui/statusbar/DataTrafik$2.smali
SystemUI/smali/com/android/systemui/statusbar/DataTrafik.smali
Smali Portion Done...!!!
Move Next __>>>
PHP:
Add brightness_seekbar.xml Here
SystemUI/res/drawable/brightness_seekbar.xml
PHP:
Add These Pngs Here
SystemUI/res/drawable-ldpi/brightness_bg
SystemUI/res/drawable-ldpi/quickpanel_brightness_icon
PHP:
Add qp_brightness.xml + quickpanel_brightness_settings.xml here
SystemUI/res/layout/qp_brightness.xml
SystemUI/res/layout/quickpanel_brightness_settings.xml
You Done...!!! Now Edit xml files
PHP:
Open This xml status_bar_expanded.xml
SystemUI/res/layout/status_bar_expanded.xml
*---------------------------------------------------------------------------------------------*
"Add This Code" Below Scroll View
*---------------------------------------------------------------------------------------------*
PHP:
<LinearLayout android:orientation="horizontal" android:background="#00000000" android:layout_width="fill_parent" android:layout_height="wrap_content" android:baselineAligned="false">
<include layout="@layout/qp_brightness" />
</LinearLayout>
*---------------------------------------------------------------------------------------------*
After Adding it Looks Like:-
PHP:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.ExpandedView android:orientation="vertical" android:focusable="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android">
<FrameLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0">
<ScrollView android:id="@id/scroll" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="wrap_content" android:overScrollMode="ifContentScrolls">
<com.android.systemui.statusbar.NotificationLinearLayout android:orientation="vertical" android:id="@id/notificationLinearLayout" android:layout_width="fill_parent" android:layout_height="wrap_content">
<LinearLayout android:orientation="horizontal" android:background="#00000000" android:layout_width="fill_parent" android:layout_height="wrap_content" android:baselineAligned="false">
<com.android.systemui.statusbar.StatusBarJellyHeaderView android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:layout_gravity="center_vertical" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/ic_notify_quicksettings" android:onClick="settingsButton" />
<com.android.systemui.statusbar.RecentAppButton android:textSize="10.0dip" android:id="@id/recent_app_button" android:background="@drawable/btn_recent_app" android:layout_width="wrap_content" android:layout_height="wrap_content" android:scaleType="center" android:layout_toLeftOf="@id/clear_all_button" />
<Button android:textSize="15.0sp" android:id="@id/clear_all_button" android:layout_width="48.0dip" android:layout_height="48.0dip" android:layout_marginRight="6.0dip" android:text="@string/status_bar_clear_all_button" android:layout_alignParentRight="true" style="@style/Clear.Buttons" />
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:background="#00000000" android:layout_width="fill_parent" android:layout_height="wrap_content" android:baselineAligned="false">
<include layout="@layout/qp_brightness" />
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:background="#00000000" android:layout_width="fill_parent" android:layout_height="wrap_content" android:baselineAligned="false" />
<TextView android:textSize="17.0sp" android:textStyle="normal" android:textColor="#ffffffff" android:id="@id/noNotificationsTitle" android:background="#ff293945" android:paddingLeft="5.0dip" android:layout_width="fill_parent" android:layout_height="26.0dip" android:text="@string/status_bar_no_notifications_title" />
<TextView android:textSize="17.0sp" android:textStyle="normal" android:textColor="#ffffffff" android:id="@id/ongoingTitle" android:background="#ff293945" android:paddingLeft="5.0dip" android:layout_width="fill_parent" android:layout_height="26.0dip" android:text="@string/status_bar_ongoing_events_title" />
<LinearLayout android:orientation="vertical" android:id="@id/ongoingItems" android:layout_width="fill_parent" android:layout_height="wrap_content" />
<TextView android:textSize="17.0sp" android:textStyle="normal" android:textColor="#ffffffff" android:id="@id/latestTitle" android:background="#ff293945" android:paddingLeft="5.0dip" android:layout_width="fill_parent" android:layout_height="26.0dip" android:text="@string/status_bar_latest_events_title" />
<LinearLayout android:orientation="vertical" android:id="@id/latestItems" android:layout_width="fill_parent" android:layout_height="wrap_content" />
</com.android.systemui.statusbar.NotificationLinearLayout>
</ScrollView>
<ImageView android:layout_width="fill_parent" android:layout_height="fill_parent" android:src="@drawable/title_bar_shadow" android:scaleType="fitXY" />
</FrameLayout>
</com.android.systemui.statusbar.ExpandedView>
*---------------------------------------------------------------------------------------------*
PHP:
In Same Folder "layout" folder open This xml file
SystemUI/res/layout/status_bar_expanded_dual_sim.xml
*---------------------------------------------------------------------------------------------*
Add This Code:-
PHP:
<LinearLayout android:orientation="horizontal" android:background="#00000000" android:layout_width="fill_parent" android:layout_height="wrap_content" android:baselineAligned="false">
<include layout="@layout/qp_brightness" />
</LinearLayout>
*---------------------------------------------------------------------------------------------*
Below this line:-
PHP:
</com.android.systemui.statusbar.quickpanel.QuickSim2ButtonLayout>
</LinearLayout>
*---------------------------------------------------------------------------------------------*
After Adding it look
PHP:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.ExpandedView android:orientation="vertical" android:focusable="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android">
<FrameLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0">
<ScrollView android:id="@id/scroll" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="wrap_content" android:overScrollMode="ifContentScrolls">
<com.android.systemui.statusbar.NotificationLinearLayout android:orientation="vertical" android:id="@id/notificationLinearLayout" android:layout_width="fill_parent" android:layout_height="wrap_content">
<LinearLayout android:orientation="horizontal" android:background="#00000000" android:layout_width="fill_parent" android:layout_height="wrap_content" android:baselineAligned="false">
<com.android.systemui.statusbar.StatusBarJellyHeaderView android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:layout_gravity="center_vertical" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/ic_notify_quicksettings" android:onClick="settingsButton" />
<com.android.systemui.statusbar.RecentAppButton android:textSize="10.0dip" android:id="@id/recent_app_button" android:background="@drawable/btn_recent_app" android:layout_width="wrap_content" android:layout_height="wrap_content" android:scaleType="center" android:layout_toLeftOf="@id/clear_all_button" />
<Button android:textSize="15.0sp" android:id="@id/clear_all_button" android:layout_width="48.0dip" android:layout_height="48.0dip" android:layout_marginRight="6.0dip" android:text="@string/status_bar_clear_all_button" android:layout_alignParentRight="true" style="@style/Clear.Buttons" />
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:id="@id/quickpanel_dualsim_layout" android:background="#00000000" android:layout_width="fill_parent" android:layout_height="46.0px">
<com.android.systemui.statusbar.quickpanel.QuickSim1ButtonLayout android:gravity="center_horizontal" android:layout_gravity="center_vertical" android:orientation="vertical" android:id="@id/QuickSim1ButtonLayout" android:background="@drawable/quickpanel_simbutton_selector_bg" android:focusable="true" android:clickable="true" android:layout_width="84.0px" android:layout_height="25.0px" android:layout_marginLeft="28.0px" android:layout_marginRight="7.5px" android:layout_weight="1.0">
<ImageView android:id="@id/QuickSim1ButtonImage" android:paddingTop="3.0px" android:layout_width="wrap_content" android:layout_height="0.0dip" android:src="@drawable/quick_btn_g_1" />
<TextView android:textSize="7.0px" android:textColor="#ff33b5e5" android:gravity="center" android:id="@id/QuickSim1ButtonText" android:paddingBottom="2.0px" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/quickpanel_sim1_text" />
</com.android.systemui.statusbar.quickpanel.QuickSim1ButtonLayout>
<com.android.systemui.statusbar.quickpanel.QuickSim2ButtonLayout android:gravity="center_horizontal" android:layout_gravity="center_vertical" android:orientation="vertical" android:id="@id/QuickSim2ButtonLayout" android:background="@drawable/quickpanel_simbutton_selector_bg" android:focusable="true" android:clickable="true" android:layout_width="84.0px" android:layout_height="25.0px" android:layout_marginLeft="7.5px" android:layout_marginRight="28.0px" android:layout_weight="1.0">
<ImageView android:id="@id/QuickSim2ButtonImage" android:paddingTop="3.0px" android:layout_width="wrap_content" android:layout_height="0.0dip" android:src="@drawable/quick_btn_g_2" />
<TextView android:textSize="7.0px" android:textColor="#ff33b5e5" android:gravity="center" android:id="@id/QuickSim2ButtonText" android:paddingBottom="2.0px" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/quickpanel_sim2_text" />
</com.android.systemui.statusbar.quickpanel.QuickSim2ButtonLayout>
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:background="#00000000" android:layout_width="fill_parent" android:layout_height="wrap_content" android:baselineAligned="false">
<include layout="@layout/qp_brightness" />
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:background="#00000000" android:layout_width="fill_parent" android:layout_height="wrap_content" android:baselineAligned="false">
<LinearLayout android:layout_gravity="center_vertical" android:orientation="vertical" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_weight="1.0">
<LinearLayout android:orientation="horizontal" android:id="@id/carrierLabel1" android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:id="@id/carrierLabel1Image" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="3.0dip" android:src="@drawable/stat_sim_gsm_1" />
<com.android.systemui.statusbar.CarrierLabel android:textSize="14.659973dip" android:textColor="#ffffffff" 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" />
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:id="@id/carrierLabel2" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="1.0dip">
<ImageView android:id="@id/carrierLabel2Image" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="3.0dip" android:src="@drawable/stat_sim_gsm_2" />
<com.android.systemui.statusbar.CarrierLabel2 android:textSize="14.659973dip" android:textColor="#ffffffff" 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" />
</LinearLayout>
</LinearLayout>
</LinearLayout>
<TextView android:textSize="17.0sp" android:textStyle="normal" android:textColor="#ffffffff" android:id="@id/noNotificationsTitle" android:background="#ff293945" android:paddingLeft="5.0dip" android:layout_width="fill_parent" android:layout_height="26.0dip" android:text="@string/status_bar_no_notifications_title" />
<TextView android:textSize="17.0sp" android:textStyle="normal" android:textColor="#ffffffff" android:id="@id/ongoingTitle" android:background="#ff293945" android:paddingLeft="5.0dip" android:layout_width="fill_parent" android:layout_height="26.0dip" android:text="@string/status_bar_ongoing_events_title" />
<LinearLayout android:orientation="vertical" android:id="@id/ongoingItems" android:layout_width="fill_parent" android:layout_height="wrap_content" />
<TextView android:textSize="17.0sp" android:textStyle="normal" android:textColor="#ffffffff" android:id="@id/latestTitle" android:background="#ff293945" android:paddingLeft="5.0dip" android:layout_width="fill_parent" android:layout_height="26.0dip" android:text="@string/status_bar_latest_events_title" />
<LinearLayout android:orientation="vertical" android:id="@id/latestItems" android:layout_width="fill_parent" android:layout_height="wrap_content" />
</com.android.systemui.statusbar.NotificationLinearLayout>
</ScrollView>
<ImageView android:layout_width="fill_parent" android:layout_height="fill_parent" android:src="@drawable/title_bar_shadow" android:scaleType="fitXY" />
</FrameLayout>
</com.android.systemui.statusbar.ExpandedView>
*---------------------------------------------------------------------------------------------*
PHP:
Now Open this xml files its in layout folder:-
SystemUI/res/layout/qp_brightness.xml
open it...!!!
*---------------------------------------------------------------------------------------------*
Add This Line:-
PHP:
<com.android.systemui.statusbar.DataTrafik android:textSize="14.0sp" android:textStyle="bold" android:textColor="#ffffffff" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="5.0dip" android:singleLine="true" android:shadowColor="#00000000" android:shadowDx="0.0" android:shadowDy="1.0" android:shadowRadius="1.0" />
*---------------------------------------------------------------------------------------------*
Above this line:-
PHP:
<ImageView android:gravity="center_vertical" android:id="@*android:id/icon" android:layout_width="40.0dip" android:layout_height="40.0dip" android:layout_marginLeft="4.0dip" android:src="@drawable/quickpanel_brightness_icon" />
*---------------------------------------------------------------------------------------------*
After Adding it Looks Like:-
PHP:
<?xml version="1.0" encoding="utf-8"?>
<com.lidroid.systemui.quickpanel.BrightnessSlider android:gravity="center" android:layout_width="fill_parent" android:layout_height="wrap_content"
xmlns:android="http://schemas.android.com/apk/res/android">
<com.android.systemui.statusbar.DataTrafik android:textSize="14.0sp" android:textStyle="bold" android:textColor="#ffffffff" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="5.0dip" android:singleLine="true" android:shadowColor="#00000000" android:shadowDx="0.0" android:shadowDy="1.0" android:shadowRadius="1.0" />
<ImageView android:gravity="center_vertical" android:id="@*android:id/icon" android:layout_width="40.0dip" android:layout_height="40.0dip" android:layout_marginLeft="4.0dip" android:src="@drawable/quickpanel_brightness_icon" />
<SeekBar android:tag="slider" android:paddingLeft="10.0dip" android:paddingRight="10.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="10.0dip" android:layout_marginRight="15.0dip" android:layout_weight="1.0" />
</com.lidroid.systemui.quickpanel.BrightnessSlider>
*---------------------------------------------------------------------------------------------*
PHP:
Add This Code in ids.xml
SystemUI/res/values/ids.xml
*--------------------------------------------------------------------------------------------
PHP:
Add This Code Above </resources> This
<item type="id" name="automatic">false</item>
<item type="id" name="title">false</item>
<item type="id" name="brightness">false</item>
*--------------------------------------------------------------------------------------------
After Adding it looks:-
PHP:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<item type="id" name="dischargetext">false</item>
<item type="id" name="scroll">false</item>
<item type="id" name="padding">false</item>
<item type="id" name="subtitle">false</item>
<item type="id" name="level_percent">false</item>
<item type="id" name="image">false</item>
<item type="id" name="quickpanel_quick_settings">false</item>
<item type="id" name="quickpanel_wifi_btn_icon">false</item>
<item type="id" name="quickpanel_wifi_btn_text">false</item>
<item type="id" name="quickpanel_bt_btn_icon">false</item>
<item type="id" name="quickpanel_bt_btn_text">false</item>
<item type="id" name="quickpanel_gps_btn_icon">false</item>
<item type="id" name="quickpanel_gps_btn_text">false</item>
<item type="id" name="quickpanel_sound_btn_icon">false</item>
<item type="id" name="quickpanel_sound_btn_text">false</item>
<item type="id" name="quickpanel_rotation_btn_icon">false</item>
<item type="id" name="quickpanel_rotation_btn_text">false</item>
<item type="id" name="quickpanel_data_btn_icon">false</item>
<item type="id" name="quickpanel_data_btn_text">false</item>
<item type="id" name="icons">false</item>
<item type="id" name="notificationIcons">false</item>
<item type="id" name="statusIcons">false</item>
<item type="id" name="ticker">false</item>
<item type="id" name="tickerIcon">false</item>
<item type="id" name="tickerText">false</item>
<item type="id" name="date">false</item>
<item type="id" name="status_bar_call_ongoing_text">false</item>
<item type="id" name="status_bar_call_ongoing_duration">false</item>
<item type="id" name="notificationLinearLayout">false</item>
<item type="id" name="clear_all_button">false</item>
<item type="id" name="noNotificationsTitle">false</item>
<item type="id" name="ongoingTitle">false</item>
<item type="id" name="ongoingItems">false</item>
<item type="id" name="latestTitle">false</item>
<item type="id" name="latestItems">false</item>
<item type="id" name="quickpanel_dualsim_layout">false</item>
<item type="id" name="QuickSim1ButtonLayout">false</item>
<item type="id" name="QuickSim1ButtonImage">false</item>
<item type="id" name="QuickSim1ButtonText">false</item>
<item type="id" name="QuickSim2ButtonLayout">false</item>
<item type="id" name="QuickSim2ButtonImage">false</item>
<item type="id" name="QuickSim2ButtonText">false</item>
<item type="id" name="carrierLabel1">false</item>
<item type="id" name="carrierLabel1Image">false</item>
<item type="id" name="carrierLabel2">false</item>
<item type="id" name="carrierLabel2Image">false</item>
<item type="id" name="number">false</item>
<item type="id" name="content">false</item>
<item type="id" name="close">false</item>
<item type="id" name="recent_app_button">false</item>
<item type="id" name="automatic">false</item>
<item type="id" name="title">false</item>
<item type="id" name="brightness">false</item>
</resources>
*--------------------------------------------------------------------------------------------
PHP:
Add This Code in string.xml
SystemUI/res/values/string.xml
*--------------------------------------------------------------------------------------------
PHP:
Add This Code Above </resources> This
<string name="brightness_settings_automatic" />
<string name="brightness_settings_title" />
*--------------------------------------------------------------------------------------------
After Adding it looks:-
PHP:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_label">Status Bar</string>
<string name="status_bar_clear_all_button">Clear</string>
<string name="status_bar_no_notifications_title">No notifications</string>
<string name="status_bar_ongoing_events_title">Ongoing</string>
<string name="status_bar_latest_events_title">Notifications</string>
<string name="battery_low_title">Please connect charger</string>
<string name="battery_low_subtitle">The battery is getting low:</string>
<string name="battery_low_percent_format">%d%% or less remaining</string>
<string name="battery_low_why">Battery use</string>
<string name="usb_accessory_permission_prompt">Allow the application %1$s to access the USB accessory?</string>
<string name="usb_device_confirm_prompt">Open %1$s when this USB device is connected?</string>
<string name="usb_accessory_confirm_prompt">Open %1$s when this USB accessory is connected?</string>
<string name="usb_accessory_uri_prompt">No installed applications work with this USB accessory. Learn more about this accessory at %1$s</string>
<string name="title_usb_accessory">USB accessory</string>
<string name="label_view">View</string>
<string name="always_use_accessory">Use by default for this USB accessory</string>
<string name="quickpanel_wifi_text">Wi-Fi</string>
<string name="quickpanel_bluetooth_text">B/T</string>
<string name="quickpanel_gps_text">GPS</string>
<string name="quickpanel_sound_text">Sound</string>
<string name="quickpanel_sound_vibration_text">"Sound
Vibration"</string>
<string name="quickpanel_silent_text">Silent</string>
<string name="quickpanel_vibration_text">Vibration</string>
<string name="quickpanel_rotation_text">"Auto
rotation"</string>
<string name="quickpanel_error_text">Error</string>
<string name="quickpanel_dc_text">Data</string>
<string name="quickpanel_dc_on">"Turning
On"</string>
<string name="quickpanel_dc_off">"Turning
Off"</string>
<string name="capital_on">ON</string>
<string name="capital_off">OFF</string>
<string name="lowbattery">Battery low. Recharge phone soon to keep using</string>
<string name="critical_lowbattery">Battery critically low. Plug phone in now to keep using</string>
<string name="dischargetitle">Info</string>
<string name="dischargebattery">Charging paused. Battery temperature too high or too low</string>
<string name="fullchargetitle">Info</string>
<string name="fullchargebattery">"Battery fully charged.
Unplug charger"</string>
<string name="wifi_in_airplane_mode">In Flight mode</string>
<string name="quickpanel_sim1_text">SIM 1</string>
<string name="quickpanel_sim2_text">SIM 2</string>
<string name="brightness_settings_automatic" />
<string name="brightness_settings_title" />
</resources>
Files Link:- https://www.dropbox.com/s/n37cfrs1i9drmav/smali+Brightness [email protected]?dl=0
Credits - To Me Kartik [email protected]
you can just follow my guide which is much better layed out than this plus I asked permission from evanlocked to re-write the guide
http://forum.xda-developers.com/showthread.php?t=2723492
and you can turn off the emoji by unticking the box when you post in additional options
marcussmith2626 said:
you can just follow my guide which is much better layed out than this plus I asked permission from evanlocked to re-write the guide
http://forum.xda-developers.com/showthread.php?t=2723492
and you can turn off the emoji by unticking the box when you post in additional options
Click to expand...
Click to collapse
okkk...!!! & thankx for helping
shouldnt this be in theming thread
404 - no theming thread for duos found and one is full of themes and mod for y onls apps are common things
xeon.zolt said:
shouldnt this be in theming thread
404 - no theming thread for duos found and one is full of themes and mod for y onls apps are common things
Click to expand...
Click to collapse
u know me bro. blog bla bla bla. then theirs no theming section for Duos. or if we want to post than where we post.

[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