[MOD] Screen off status bar Mod - Verizon LG G2

This mod lets you shut off screen by pressing the time on the top right status bar.
Must know how to use Apktool. For dev's mostly.
Decompile LGSystemUI.apk with apktool.
Search for: status_bar.xml
then search for:
</com.lge.systemui.widget.StatusBarLinearLayout>
add this after this line:
PHP:
<com.android.systemui.statusbar.policy.KeyButtonView android:layout_gravity="right" android:id="@id/back" android:paddingRight="65.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="#00000000" android:layout_toRightOf="@id/recent_apps" android:contentDescription="@string/accessibility_back" systemui:keyCode="26" systemui:keyRepeat="false" systemui:glowBackground="@drawable/ic_sysbar_highlight" androidundefinedrientation="vertical" />
Then build your LGSystemUI.apk and your done.

Related

[21.Nov.12] Mods&Guides

{
"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"
}
PARANOIDANDROID v1.5b ICS & PACman v1.1 JB​Changelog and previous versions
Make a backup.
Mods & Custom Layouts
For Various ROMs - Mods by wwchang
ROM - kovjanos's PA-HD2 v2.54-2.8
Mods
Odex & Deodex & Stock
ROM - Xylograph's PACman HD2 v1.1 [PA/AOKP/CM10][NativeSD][WIP]
Mods
Odex & Deodex & Stock
Aroma - Dual(NativeSD/NAND) - Installer
(credits: amarullz, securecrt, Xylograph, wwchang)
__________________________________ __________________________________ __________________________________
ROM - Xylograph's PARANOIDANDROID HD2 v1.5b [TABLET/HYBRID][CM9][A2SD][tytung_HWA_r3.2]
Mods
tablet layouts
♝Notification Panel invisible power button
♟Notification compact toggles & media controls
♟Notification media controls
♞StatusBar invisible menu button (Long Press Search, PARANOIDANDROID feature)
♞StatusBar invisible power button
♞StatusBar old separate menu button (Long Press Search, PARANOIDANDROID feature)
phone layouts
NavBar invisible left-power right-search buttons
Stock
These mods do not activate the softkeys.
Patcher Zips. Flash in recovery.
♞♟♝ - Each color/icon will overwrite itself.
__________________________________ __________________________________ __________________________________
Click to expand...
Click to collapse
General Mods For CM9/PARANOIDANDROID/AOKP/AOSP/etc. [hdpi]
ics - blue framework files (thanks to Roman-Kumori & thanks to etoy & thanks to fergie716)
stock gb-orange framework files
Patcher Zip. Flash in recovery.
__________________________________ __________________________________ __________________________________
Click to expand...
Click to collapse
Guides
CM9/10, PARANOIDANDROID
Add&Edit Navigation Bar Corner Buttons
AOKP
Disable or change navigation bar width &/or height (in romcontrol)
Add&Edit Navigation Bar Corner Buttons
MIUI
Add a power button to the navigation bar
PARANOID Jellybean
Notification panel Power button 720px (tablet layout)
4.0+
Add invisible buttons to status bar
__________________________________ __________________________________ __________________________________
Click to expand...
Click to collapse
Credits: tytung, Xylograph, securecrt, Brut.all, raziel23x, CrushD, knyghtryda, evilisto, Rdlgrmpf, rob43, ThdDude, wwchang, Roman-Kumori, fergie716, lnndinky, hxdrummerxc, syc7090, kyouko, paulobrien, myself11, dohclude, etoy, zevele, wis1152, fulltank, wheeliemonster, radee85, geenyous, me & everybody else involved, thanks.
[COLOR="Royal_Blue"]List Of Changes for Xylograph's Unofficial AOKP for HD2 [Build 32][/COLOR]
framework-res.apk​
framework-res.apk\res\layout\keyguard_screen_tab_unlock.xml
Code:
<com.android.internal.widget.multiwaveview.MultiWaveView android:orientation="horizontal" android:id="@id/unlock_widget" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_alignParentBottom="true" android:targetDescriptions="@array/lockscreen_target_descriptions_with_camera" android:directionDescriptions="@array/lockscreen_direction_descriptions" android:targetDrawables="@array/lockscreen_targets_with_camera" android:handleDrawable="@drawable/ic_lockscreen_handle" android:rightChevronDrawable="@drawable/ic_lockscreen_chevron_right" android:waveDrawable="@drawable/ic_lockscreen_outerring" android:outerRadius="@dimen/multiwaveview_target_placement_radius" android:hitRadius="@dimen/multiwaveview_hit_radius" android:vibrationDuration="20" android:snapMargin="@dimen/multiwaveview_snap_margin" android:feedbackCount="3" android:verticalOffset="[COLOR="Red"]15.0dip[/COLOR]" android:horizontalOffset="0.0dip" />
Click to expand...
Click to collapse
framework-res.apk\res\values\bools.xml
Code:
<bool name="config_showNavigationBar">[COLOR="Red"]true[/COLOR]</bool>
Click to expand...
Click to collapse
framework-res.apk\res\values\dimens.xml
Code:
<dimen name="thumbnail_height">[COLOR="Red"]232.0dip[/COLOR]</dimen>
<dimen name="thumbnail_width">[COLOR="Red"]240.0dip[/COLOR]</dimen>
<dimen name="status_bar_height">[COLOR="Red"]15.0dip[/COLOR]</dimen>
<dimen name="system_bar_height">[COLOR="Red"]38.0dip[/COLOR]</dimen>
<dimen name="navigation_bar_height">[COLOR="Red"]32.0dip[/COLOR]</dimen>
<dimen name="navigation_bar_width">[COLOR="Red"]0.0dip[/COLOR]</dimen>
<dimen name="status_bar_icon_size">[COLOR="Red"]14.0dip[/COLOR]</dimen>
<dimen name="status_bar_edge_ignore">[COLOR="Red"]0.0dip[/COLOR]</dimen>
<dimen name="action_bar_default_height">[COLOR="Red"]38.0dip[/COLOR]</dimen>
Click to expand...
Click to collapse
ROMControl.apk​
ROMControl.apk\res\values\arrays.xml
Code:
<string-array name="statusbar_fontsize_entries">
<item>11 dp (default)</item>
<item>12 dp</item>
</string-array>
<string-array name="statusbar_fontsize_values">
<item>11</item>
<item>12</item>
</string-array>
<string-array name="navigation_bar_width_entries">
<item>42 dp (default)</item>
<item>36 dp</item>
<item>32 dp</item>
<item>24 dp</item>
<item>0 dp (disabled)</item>
</string-array>
<string-array name="navigation_bar_width">
<item>48</item>
<item>42</item>
<item>36</item>
<item>30</item>
<item>24</item>
</string-array>
<string-array name="navigation_bar_height_entries">
<item>42 dp</item>
<item>36 dp</item>
<item>32 dp (default)</item>
<item>24 dp</item>
<item>0 dp (disabled)</item>
</string-array>
<string-array name="navigation_bar_height">
<item>48</item>
<item>42</item>
<item>36</item>
<item>30</item>
<item>24</item>
</string-array>
Click to expand...
Click to collapse
ROMControl.apk\res\values\dimens.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<dimen name="normal_height">64.0dip</dimen>
<dimen name="expanded_height">128.0dip</dimen>
<dimen name="navigation_bar_48">42.0dip</dimen>
<dimen name="navigation_bar_42">36.0dip</dimen>
<dimen name="navigation_bar_36">32.0dip</dimen>
<dimen name="navigation_bar_30">24.0dip</dimen>
<dimen name="navigation_bar_24">0.0dip</dimen>
</resources>
Click to expand...
Click to collapse
SystemUI.apk​
SystemUI.apk\res\drawable\notification_row_bg.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<selector android:exitFadeDuration="@android:integer/config_mediumAnimTime"
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="true" android:drawable="@drawable/notification_item_background_color_pressed" />
<item android:state_pressed="false" android:drawable="@drawable/[COLOR="Red"]nyandroid11[/COLOR]" />
</selector>
Click to expand...
Click to collapse
SystemUI.apk\res\layout\battery_cluster_view.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.policy.BatteryController android:orientation="horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content"
xmlns:android="http://schemas.android.com/apk/res/android">
<FrameLayout android:id="@id/battery_combo" android:paddingLeft="[COLOR="Red"]0.0dip[/COLOR]" android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:layout_gravity="right" android:id="@id/battery" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<TextView android:id="@id/battery_text" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/battery_test" android:shadowColor="#ff000000" android:shadowDx="0.0" android:shadowDy="0.0" android:shadowRadius="2.5" style="@style/Battery_Offset" />
<TextView android:id="@id/battery_text_center" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/battery_test" android:shadowColor="#ff000000" android:shadowDx="0.0" android:shadowDy="0.0" android:shadowRadius="2.5" style="@style/Battery_Center" />
<TextView android:textAppearance="@style/TextAppearance.StatusBar.BatteryTextOnly" android:id="@id/battery_text_only" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/battery_test" android:singleLine="true" />
</FrameLayout>
</com.android.systemui.statusbar.policy.BatteryController>
Click to expand...
Click to collapse
SystemUI.apk\res\layout\navigation_bar_naked.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.phone.NavigationBarView android:background="#ff000000" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<FrameLayout android:id="@id/rot0" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="fill_parent">
<LinearLayout android:orientation="horizontal" android:id="@id/nav_buttons" android:clipChildren="false" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="fill_parent" android:animateLayoutChanges="true" />
<LinearLayout android:orientation="horizontal" android:id="@id/lights_out" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="fill_parent" />
<RelativeLayout android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.systemui.statusbar.policy.BatteryBarController android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_alignParentTop="true" systemui:viewLocation="2" />
<com.android.systemui.statusbar.policy.BatteryBarController android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_alignParentBottom="true" systemui:viewLocation="3" />
</RelativeLayout>
[COLOR="Red"]<RelativeLayout android:orientation="horizontal" android:id="@id/nav_buttons" android:clipChildren="false" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="fill_parent" android:animateLayoutChanges="true">
<com.android.systemui.statusbar.policy.KeyButtonView android:layout_width="38.0dip" android:layout_height="fill_parent" android:layout_weight="0.0" android:contentDescription="@string/accessibility_home" systemui:keyCode="26" systemui:keyRepeat="false" systemui:glowBackground="@drawable/ic_sysbar_highlight" />
<com.android.systemui.statusbar.policy.KeyButtonView android:layout_width="38.0dip" android:layout_height="fill_parent" android:layout_weight="0.0" android:layout_alignParentRight="true" android:contentDescription="@string/accessibility_home" systemui:keyCode="84" systemui:glowBackground="@drawable/ic_sysbar_highlight" />
</RelativeLayout>[/COLOR]
<View android:layout_gravity="top" android:id="@id/deadzone" android:clickable="true" android:layout_width="fill_parent" android:layout_height="@dimen/navigation_bar_deadzone_size" />
</FrameLayout>
<FrameLayout android:id="@id/rot90" android:paddingTop="0.0dip" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="fill_parent">
<LinearLayout android:orientation="vertical" android:id="@id/nav_buttons" android:clipChildren="false" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="fill_parent" android:animateLayoutChanges="true" />
<LinearLayout android:orientation="vertical" android:id="@id/lights_out" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="fill_parent" />
<View android:layout_gravity="left" android:id="@id/deadzone" android:clickable="true" android:layout_width="@dimen/navigation_bar_deadzone_size" android:layout_height="fill_parent" />
<RelativeLayout android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.systemui.statusbar.policy.BatteryBarController android:orientation="vertical" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentLeft="true" android:rotation="180.0" systemui:viewLocation="2" />
<com.android.systemui.statusbar.policy.BatteryBarController android:orientation="vertical" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentRight="true" android:rotation="180.0" systemui:viewLocation="3" />
</RelativeLayout>
[COLOR="Red"]<RelativeLayout android:orientation="vertical" android:id="@id/nav_buttons" android:clipChildren="false" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="fill_parent" android:animateLayoutChanges="true">
<com.android.systemui.statusbar.policy.KeyButtonView android:layout_width="fill_parent" android:layout_height="38.0dip" android:layout_weight="0.0" android:layout_alignParentBottom="true" android:contentDescription="@string/accessibility_home" systemui:keyCode="26" systemui:keyRepeat="false" systemui:glowBackground="@drawable/ic_sysbar_highlight_land" />
<com.android.systemui.statusbar.policy.KeyButtonView android:layout_width="fill_parent" android:layout_height="38.0dip" android:layout_weight="0.0" android:layout_alignParentTop="true" android:contentDescription="@string/accessibility_home" systemui:keyCode="84" systemui:glowBackground="@drawable/ic_sysbar_highlight_land" />
</RelativeLayout>[/COLOR]
</FrameLayout>
<View android:id="@id/rot270" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="fill_parent" />
</com.android.systemui.statusbar.phone.NavigationBarView>
Click to expand...
Click to collapse
SystemUI.apk\res\layout\quick_toggles.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.policy.toggles.TogglesView android:orientation="vertical" android:id="@id/quick_toggles" [COLOR="Red"]android:background="#ffe8e8e8"[/COLOR] android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui" />
Click to expand...
Click to collapse
SystemUI.apk\res\layout\signal_cluster_view.xml
Code:
<com.android.systemui.statusbar.policy.WifiText android:id="@id/wifi_signal_text" android:paddingLeft="[COLOR="Red"]2.0dip[/COLOR]" android:layout_width="wrap_content" android:layout_height="fill_parent" />
<com.android.systemui.statusbar.policy.SignalText android:id="@id/signal_text" android:paddingLeft="[COLOR="Red"]5.0dip[/COLOR]" android:layout_width="wrap_content" android:layout_height="fill_parent" />
Click to expand...
Click to collapse
SystemUI.apk\res\layout\status_bar.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.phone.PhoneStatusBarView android:orientation="vertical" android:background="@drawable/status_bar_background" android:focusable="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<LinearLayout android:gravity="left" android:orientation="horizontal" android:id="@id/nav_buttons" android:focusable="false" android:clipChildren="false" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="fill_parent" android:animateLayoutChanges="true">
<com.android.systemui.statusbar.policy.KeyButtonView android:gravity="left" android:layout_width="64.0dip" android:layout_height="fill_parent" android:layout_weight="0.0" systemui:keyCode="26" systemui:keyRepeat="false" systemui:glowBackground="@drawable/ic_sysbar_highlight" />
</LinearLayout>
<LinearLayout android:gravity="right" android:orientation="horizontal" android:id="@id/nav_buttons" android:focusable="false" android:clipChildren="false" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="fill_parent" android:animateLayoutChanges="true">
<com.android.systemui.statusbar.policy.KeyButtonView android:gravity="right" android:layout_width="64.0dip" android:layout_height="fill_parent" android:layout_weight="0.0" systemui:keyCode="3" systemui:glowBackground="@drawable/ic_sysbar_highlight" />
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:id="@id/icons" android:paddingLeft="0.0dip" android:paddingRight="0.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent">
<LinearLayout android:orientation="horizontal" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0">
<com.android.systemui.statusbar.StatusBarIconView android:id="@id/moreIcon" android:visibility="gone" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="fill_parent" android:src="@drawable/stat_notify_more" />
<com.android.systemui.statusbar.phone.IconMerger android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/notificationIcons" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_alignParentLeft="true" />
</LinearLayout>
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/statusIcons" android:layout_width="wrap_content" android:layout_height="fill_parent" />
<LinearLayout android:gravity="center" android:orientation="horizontal" android:id="@id/signal_battery_cluster" android:paddingLeft="2.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent">
<include android:id="@id/signal_cluster" android:layout_width="wrap_content" android:layout_height="wrap_content" layout="@layout/signal_cluster_view" />
<include android:id="@id/battery_cluster" android:layout_width="wrap_content" android:layout_height="wrap_content" layout="@layout/battery_cluster_view" />
</LinearLayout>
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="left|center" android:id="@id/clock" android:paddingLeft="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
</LinearLayout>
<LinearLayout android:gravity="center" android:orientation="horizontal" android:id="@id/center_clock_layout" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.systemui.statusbar.policy.CenterClock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="center" android:id="@id/center_clock" android:paddingLeft="0.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:id="@id/ticker" android:background="@drawable/status_bar_bg_tile" android:paddingLeft="0.0dip" android:animationCache="false" android:layout_width="fill_parent" android:layout_height="fill_parent">
<ImageSwitcher android:id="@id/tickerIcon" android:layout_width="14.0dip" android:layout_height="14.0dip" android:layout_marginRight="0.0dip">
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="14.0dip" android:layout_height="14.0dip" android:scaleType="fitXY" />
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="14.0dip" android:layout_height="14.0dip" android:scaleType="fitXY" />
</ImageSwitcher>
<com.android.systemui.statusbar.phone.TickerView android:id="@id/tickerText" android:paddingLeft="2.0dip" android:paddingRight="10.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0">
<TextView android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
<TextView android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
</com.android.systemui.statusbar.phone.TickerView>
</LinearLayout>
<com.android.systemui.statusbar.policy.BatteryBarController android:layout_width="fill_parent" android:layout_height="1.0dip" systemui:viewLocation="1" />
</com.android.systemui.statusbar.phone.PhoneStatusBarView>
Click to expand...
Click to collapse
SystemUI.apk\res\layout\status_bar_expanded.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.phone.ExpandedView android:orientation="vertical" android:focusable="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<View android:id="@id/drawer_header_hr2" android:background="@drawable/status_bar_hr" android:layout_width="fill_parent" android:layout_height="0.0dip" />
<RelativeLayout android:id="@id/drawer_header" android:background="#ff737572" android:paddingTop="3.0dip" android:paddingRight="3.0dip" android:paddingBottom="5.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content">
<com.android.systemui.statusbar.policy.WeatherPanel android:id="@id/wp1" android:paddingLeft="2.0dip" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentLeft="true">
<LinearLayout android:orientation="vertical" android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:gravity="top|center" android:id="@id/condition_image" android:paddingTop="1.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<LinearLayout android:gravity="bottom|center" android:orientation="horizontal" android:paddingBottom="4.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content">
<TextView android:textSize="10.0sp" android:textStyle="normal" android:textColor="#ffffffff" android:id="@id/high_temp" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<TextView android:textSize="10.0sp" android:textStyle="normal" android:textColor="#ffffffff" android:paddingLeft="1.0dip" android:paddingRight="1.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/weatherpanel_slash" />
<TextView android:textSize="10.0sp" android:textStyle="normal" android:textColor="#ffffffff" android:id="@id/low_temp" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</LinearLayout>
</LinearLayout>
</com.android.systemui.statusbar.policy.WeatherPanel>
<LinearLayout android:orientation="vertical" android:id="@id/txtlayout" android:paddingTop="5.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerInParent="true">
<com.android.systemui.statusbar.policy.DateView android:textAppearance="@style/TextAppearance.StatusBar.Date" android:gravity="center" android:id="@id/date" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
<com.android.systemui.statusbar.policy.WeatherPanel android:gravity="center" android:id="@id/wp2" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content">
<LinearLayout android:gravity="center_horizontal" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">
<LinearLayout android:gravity="center" android:orientation="horizontal" android:id="@id/cityandtemp" android:layout_width="wrap_content" android:layout_height="wrap_content">
<TextView android:textAppearance="@style/TextAppearance.StatusBar.Date" android:textColor="#ffffffff" android:id="@id/city" android:paddingRight="3.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<TextView android:textAppearance="@style/TextAppearance.StatusBar.Date" android:textColor="#ffffffff" android:id="@id/current_temp" android:paddingLeft="3.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</LinearLayout>
<TextView android:textSize="14.0sp" android:textStyle="normal" android:textColor="#ff2789af" android:gravity="center" android:id="@id/condition" android:paddingTop="4.0dip" android:paddingBottom="4.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" />
</LinearLayout>
</com.android.systemui.statusbar.policy.WeatherPanel>
</LinearLayout>
<ImageView android:id="@id/settings_button" android:paddingLeft="8.0dip" android:paddingTop="0.0dip" android:paddingRight="8.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_notify_quicksettings" android:layout_alignParentRight="true" android:layout_centerVertical="true" android:contentDescription="@string/accessibility_settings_button" />
<ImageView android:id="@id/clear_all_button" android:paddingLeft="8.0dip" android:paddingTop="0.0dip" android:paddingRight="8.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_notify_clear" android:layout_below="@id/settings_button" android:layout_alignParentRight="true" android:contentDescription="@string/accessibility_clear_all" />
</RelativeLayout>
<View android:id="@id/drawer_header_hr" android:background="@drawable/status_bar_hr" android:layout_width="fill_parent" android:layout_height="2.0dip" />
<FrameLayout android:id="@id/notifications" android:layout_width="fill_parent" android:layout_height="fill_parent" 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">
<LinearLayout android:background="#ffe8e8e8" android:orientation="horizontal" android:id="@id/nav_buttons" android:layout_width="fill_parent" android:layout_height="32.0dip">
<View android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1.0" />
<com.android.systemui.statusbar.policy.KeyButtonView android:layout_width="64.0dip" android:layout_height="32.0dip" android:src="@drawable/stat_sys_data_connected_4g" android:layout_weight="0.0" android:contentDescription="@string/accessibility_menu" systemui:keyCode="26" systemui:keyRepeat="false" systemui:glowBackground="@drawable/ic_sysbar_highlight" />
<View android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1.0" />
<com.android.systemui.statusbar.policy.KeyButtonView android:layout_width="64.0dip" android:layout_height="32.0dip" android:src="@drawable/stat_sys_data_fully_connected_4g" android:layout_weight="0.0" android:contentDescription="@string/accessibility_back" systemui:keyCode="88" systemui:glowBackground="@drawable/ic_sysbar_highlight" />
<View android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1.0" />
<com.android.systemui.statusbar.policy.KeyButtonView android:layout_width="64.0dip" android:layout_height="32.0dip" android:src="@drawable/ic_sysbar_menu_land" android:layout_weight="0.0" android:contentDescription="@string/accessibility_home" systemui:keyCode="85" systemui:glowBackground="@drawable/ic_sysbar_highlight" />
<View android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1.0" />
<com.android.systemui.statusbar.policy.KeyButtonView android:layout_width="64.0dip" android:layout_height="32.0dip" android:src="@drawable/toggle_swagger" android:layout_weight="0.0" android:contentDescription="@string/accessibility_menu" systemui:keyCode="87" systemui:glowBackground="@drawable/ic_sysbar_highlight" />
<View android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1.0" />
<com.android.systemui.statusbar.policy.KeyButtonView android:layout_width="64.0dip" android:layout_height="32.0dip" android:src="@drawable/ic_sysbar_lights_out_dot_large" android:layout_weight="0.0" android:contentDescription="@string/accessibility_menu" systemui:keyCode="25" systemui:glowBackground="@drawable/ic_sysbar_highlight" />
<View android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1.0" />
</LinearLayout>
<include android:layout_width="fill_parent" android:layout_height="wrap_content" layout="@layout/quick_toggles" />
<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:layout_width="fill_parent" android:layout_height="fill_parent" android:src="@drawable/title_bar_shadow" android:scaleType="fitXY" />
</FrameLayout>
</com.android.systemui.statusbar.phone.ExpandedView>
Click to expand...
Click to collapse
SystemUI.apk\res\layout\status_bar_icon.xml
Code:
<FrameLayout android:layout_width="[COLOR="Red"]15.0dip[/COLOR]" android:layout_height="[COLOR="Red"]15.0dip[/COLOR]"
Click to expand...
Click to collapse
SystemUI.apk\res\layout\status_bar_notification_row.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout android:layout_width="fill_parent" android:layout_height="@dimen/notification_height"
xmlns:android="http://schemas.android.com/apk/res/android">
<Button android:id="@id/veto" android:background="@null" android:paddingLeft="8.0dip" android:paddingRight="8.0dip" android:layout_width="48.0dip" android:layout_height="fill_parent" android:layout_marginRight="-80.0dip" android:layout_alignParentRight="true" android:layout_centerVertical="true" />
<ImageView android:id="@id/large_icon" android:background="@android:drawable/notify_panel_notification_icon_bg_tile" android:clickable="true" android:layout_width="@android:dimen/notification_large_icon_width" android:layout_height="@android:dimen/notification_large_icon_height" android:scaleType="center" android:layout_alignParentLeft="true" android:layout_alignParentTop="true" />
<com.android.systemui.statusbar.LatestItemView android:id="@id/content" android:background="@drawable/notification_row_bg" android:focusable="true" android:clickable="true" android:layout_width="fill_parent" android:layout_height="64.0dip" android:layout_toRightOf="@id/large_icon" android:layout_alignParentTop="true" android:layout_alignParentRight="true" />
<View [COLOR="Red"]android:background="#ff33b5e5"[/COLOR] android:layout_width="fill_parent" android:layout_height="@dimen/notification_divider_height" android:layout_alignParentBottom="true" />
</RelativeLayout>
Click to expand...
Click to collapse
...
SystemUI.apk\res\layout-land\status_bar_recent_item.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout android:layout_gravity="right" android:paddingRight="3.0dip" android:paddingLeft="3.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<RelativeLayout android:layout_gravity="right" android:id="@id/recent_item" android:paddingTop="18.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content">
<FrameLayout android:id="@id/app_thumbnail" android:visibility="invisible" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="0.0dip" android:foreground="@drawable/recents_thumbnail_fg">
<ImageView android:id="@id/app_thumbnail_image" android:layout_width="240.0dip" android:layout_height="232.0dip" />
</FrameLayout>
<FrameLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:paddingLeft="4.0dip" android:paddingTop="196.0dip" android:layout_alignParentLeft="true" android:layout_alignParentTop="true">
<FrameLayout android:layout_width="240.0dip" android:layout_height="40.0dip" android:background="#ff2f87a7">
<TextView android:textSize="24.0sp" android:textColor="@color/status_bar_recents_app_label_color" android:ellipsize="marquee" android:id="@id/app_label" android:paddingLeft="4.0dip" android:layout_alignParentBottom="true" android:paddingTop="3.0dip" android:fadingEdge="none" android:fadingEdgeLength="0.0dip" android:layout_width="240.0dip" android:layout_height="wrap_content" android:scrollHorizontally="true" android:singleLine="true" android:layout_alignTop="@id/app_icon" android:layout_alignParentLeft="true" />
</FrameLayout>
</FrameLayout>
<View android:id="@id/recents_callout_line" android:background="@drawable/recents_callout_line" android:visibility="gone" android:layout_width="@dimen/status_bar_recents_app_label_width" android:layout_height="0.0dip" android:layout_marginLeft="0.0dip" android:layout_marginTop="0.0dip" android:layout_marginRight="0.0dip" android:layout_toLeftOf="@id/app_thumbnail" android:layout_below="@id/app_label" android:layout_alignParentLeft="true" />
<ImageView android:id="@id/app_icon" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="0.0dip" android:layout_marginLeft="0.0dip" android:layout_marginTop="0.0dip" android:scaleType="centerInside" android:adjustViewBounds="true" android:maxWidth="0.0dip" android:maxHeight="0.0dip" android:layout_toRightOf="@id/app_label" />
<TextView android:textSize="@dimen/status_bar_recents_app_description_text_size" android:ellipsize="marquee" android:id="@id/app_description" android:visibility="gone" android:fadingEdge="none" android:fadingEdgeLength="0.0dip" android:layout_width="0.0dip" android:layout_height="0.0dip" android:layout_marginLeft="0.0dip" android:layout_marginTop="0.0dip" android:scrollHorizontally="true" android:singleLine="true" android:layout_below="@id/recents_callout_line" android:layout_alignParentLeft="true" />
</RelativeLayout>
</FrameLayout>
Click to expand...
Click to collapse
SystemUI.apk\res\layout-land\status_bar_recent_panel.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.recent.RecentsPanelView android:background="@android:drawable/notify_panel_notification_icon_bg_tile" android:id="@id/recents_root" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<FrameLayout android:id="@id/recents_bg_protect" android:paddingRight="0.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_alignParentRight="true">
<com.android.systemui.recent.RecentsHorizontalScrollView android:layout_gravity="bottom|right|center" android:orientation="horizontal" android:id="@id/recents_container" android:scrollbars="none" android:fadingEdge="none" android:fadingEdgeLength="0.0dip" android:clipChildren="false" android:clipToPadding="false" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginRight="@dimen/status_bar_recents_right_glow_margin" android:stackFromBottom="true" android:divider="@null">
<LinearLayout android:orientation="horizontal" android:id="@id/recents_linear_layout" android:clipChildren="false" android:clipToPadding="false" android:layout_width="wrap_content" android:layout_height="fill_parent" />
</com.android.systemui.recent.RecentsHorizontalScrollView>
</FrameLayout>
<include android:id="@id/recents_no_apps" android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="fill_parent" layout="@layout/status_bar_no_recent_apps" />
</com.android.systemui.recent.RecentsPanelView>
Click to expand...
Click to collapse
SystemUI.apk\res\layout-port\status_bar_recent_item.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout android:layout_gravity="left" android:paddingTop="3.0dip" android:paddingBottom="3.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<RelativeLayout android:layout_gravity="left" android:id="@id/recent_item" android:paddingLeft="10.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content">
<FrameLayout android:id="@id/app_thumbnail" android:visibility="invisible" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="0.0dip" android:foreground="@drawable/recents_thumbnail_fg">
<FrameLayout android:layout_width="wrap_content" android:layout_height="192.0dip">
<ImageView android:id="@id/app_thumbnail_image" android:layout_width="240.0dip" android:layout_height="232.0dip" />
</FrameLayout>
</FrameLayout>
<FrameLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:paddingLeft="4.0dip" android:paddingBottom="4.0dip" android:layout_alignParentLeft="true" android:layout_alignParentBottom="true">
<FrameLayout android:layout_width="240.0dip" android:layout_height="40.0dip" android:background="#8033b5e5">
<TextView android:textSize="24.0sp" android:textColor="@color/status_bar_recents_app_label_color" android:ellipsize="marquee" android:id="@id/app_label" android:paddingLeft="4.0dip" android:layout_alignParentBottom="true" android:paddingTop="3.0dip" android:fadingEdge="none" android:fadingEdgeLength="0.0dip" android:layout_width="240.0dip" android:layout_height="wrap_content" android:scrollHorizontally="true" android:singleLine="true" android:layout_alignTop="@id/app_icon" android:layout_alignParentLeft="true" />
</FrameLayout>
</FrameLayout>
<View android:id="@id/recents_callout_line" android:background="@drawable/recents_callout_line" android:visibility="gone" android:layout_width="@dimen/status_bar_recents_app_label_width" android:layout_height="0.0dip" android:layout_marginLeft="0.0dip" android:layout_marginTop="0.0dip" android:layout_marginRight="0.0dip" android:layout_toLeftOf="@id/app_thumbnail" android:layout_below="@id/app_label" android:layout_alignParentLeft="true" />
<ImageView android:id="@id/app_icon" android:paddingLeft="10.0dip" android:paddingTop="9.0dip" android:layout_width="0.0dip" android:layout_height="0.0dip" android:layout_marginLeft="0.0dip" android:layout_marginTop="0.0dip" android:scaleType="centerInside" android:adjustViewBounds="true" android:maxWidth="58.0dip" android:maxHeight="56.0dip" android:layout_toRightOf="@id/app_label" />
<TextView android:textSize="@dimen/status_bar_recents_app_description_text_size" android:ellipsize="marquee" android:id="@id/app_description" android:visibility="gone" android:fadingEdge="none" android:fadingEdgeLength="0.0dip" android:layout_width="0.0dip" android:layout_height="0.0dip" android:layout_marginLeft="0.0dip" android:layout_marginTop="0.0dip" android:scrollHorizontally="true" android:singleLine="true" android:layout_below="@id/recents_callout_line" android:layout_alignParentLeft="true" />
</RelativeLayout>
</FrameLayout>
Click to expand...
Click to collapse
SystemUI.apk\res\layout-port\status_bar_recent_panel.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.recent.RecentsPanelView android:background="@android:drawable/notify_panel_notification_icon_bg_tile" android:id="@id/recents_root" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<FrameLayout android:id="@id/recents_bg_protect" android:paddingTop="0.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_alignParentBottom="true">
<com.android.systemui.recent.RecentsVerticalScrollView android:layout_gravity="bottom|left|center" android:id="@id/recents_container" android:scrollbars="none" android:fadingEdge="none" android:fadingEdgeLength="0.0dip" android:clipChildren="false" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginRight="0.0dip" android:stackFromBottom="true" android:divider="@null">
<LinearLayout android:orientation="vertical" android:id="@id/recents_linear_layout" android:clipChildren="false" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="wrap_content" />
</com.android.systemui.recent.RecentsVerticalScrollView>
</FrameLayout>
<include android:id="@id/recents_no_apps" android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="fill_parent" layout="@layout/status_bar_no_recent_apps" />
</com.android.systemui.recent.RecentsPanelView>
Click to expand...
Click to collapse
SystemUI.apk\res\values\bools.xml
Code:
<bool name="config_recents_thumbnail_image_fits_to_xy">[COLOR="Red"]true[/COLOR]</bool>
Click to expand...
Click to collapse
SystemUI.apk\res\values\dimens.xml
Code:
<dimen name="status_bar_edge_ignore">[COLOR="Red"]0.0dip[/COLOR]</dimen>
<dimen name="navigation_bar_deadzone_size">[COLOR="Red"]0.0dip[/COLOR]</dimen>
<dimen name="status_bar_icon_drawing_size">[COLOR="Red"]14.0dip[/COLOR]</dimen>
Click to expand...
Click to collapse
SystemUI.apk\res\values\drawables.xml
Code:
<item type="drawable" name="status_bar_recents_background_solid">#[COLOR="Red"]00000000[/COLOR]</item>
<item type="drawable" name="status_bar_recents_app_thumbnail_background">#[COLOR="Red"]8033b5e5[/COLOR]</item>
Click to expand...
Click to collapse
SystemUI.apk\res\values\styles.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="TextAppearance.StatusBar.Clock" parent="@android:style/TextAppearance.StatusBar.Icon">
<item name="android:textSize">[COLOR="Red"]11.0dip[/COLOR]</item>
<item name="android:textStyle">normal</item>
<item name="android:textColor">@android:color/holo_blue_light</item>
</style>
<style name="TextAppearance.StatusBar.BatteryTextOnly" parent="@android:style/TextAppearance.StatusBar.Icon">
<item name="android:textSize">[COLOR="Red"]11.0dip[/COLOR]</item>
<item name="android:textStyle">normal</item>
<item name="android:textColor">@android:color/holo_blue_light</item>
</style>
<style name="TextAppearance.StatusBar.Date" parent="@android:style/TextAppearance.StatusBar.Icon">
<item name="android:textSize">16.0sp</item>
<item name="android:textStyle">normal</item>
<item name="android:textColor">#[COLOR="Red"]ffffffff[/COLOR]</item>
</style>
<style name="TextAppearance.StatusBar.PhoneTicker" parent="@android:style/TextAppearance.StatusBar.Ticker">
<item name="android:textSize">[COLOR="Red"]11.0dip[/COLOR]</item>
</style>
</resources>
Click to expand...
Click to collapse
TOOLS For Editing
Replaced&Resized icons are in the attachments (Icons.zip).
Note: decompile your framework&SystemUI before you drop them in there.
Great!!!Thanks for your sharing!!!!
LIKE!
Want to say a BIG Thank U!
The 25dpi´s are GREAT
Hey gogodu5sU,
Can we use the (Ice Cream sandwich 4.0.2) [ICS MOD CM9 NOVA] BETA 4.1 for the new build BETA 5.1?
Strychnin said:
Hey gogodu5sU,
Can we use the (Ice Cream sandwich 4.0.2) [ICS MOD CM9 NOVA] BETA 4.1 for the new build BETA 5.1?
Click to expand...
Click to collapse
Hey Strychnin,
I took a look at the framework and couldn't find any changes so far.
So yes you can use it for 5.1. It works for me.
Beta 5.1 works flawlessly with 25 dip softkeys.
Changelog and previous versions Part 1
3.April.2012 Update for NexusHD2 CM9 1.5
Fixed "StatBar No Softkeys" layout
30.March.2012 Update for IceCreamTosti 0.11
Recent Apps changes
added "press" indicator
removed icons
changed background
others
others
27.March.2012 Update for IceCreamTosti 0.10
new "Recent Apps" layout (thanks to evilisto)
ROM - Xylograph's IceCreamTosti v0.10 [AOKP M4/4.0.3][MULTILANGUAGE][LITE][K:TYT_ICS_r1]
MOD - Download
Stock - Download
Once the mod is applied, go into Settings > Rom Control > Navigation bar > Menu Location and press Right, Left or Both...
Next, press on "Menu visibility" and choose > Always show invisible icons.
Reversed noification drawer layout will cause the SystemUI to crash, set it to:
Settings > ROM Control > (Statusbar) General > Notification drawer layout > Regular layout
Click to expand...
Click to collapse
25.March.2012
Updated mod for Smokin's MIUI-AU
ROM - Smokin's MIUI-AU ICS v4 2.3.15
Portrait Only MOD - Download
Portrait&Landscape MOD - Download
Stock - Download
Click to expand...
Click to collapse
Custom Button Layouts
*Search) - <Back - ^Home - +Menu - (Power*
*Menu) - <Back - ^Home - +Recent Apps - (Power*
*Search - ^Home - +Menu - <Back - Power*
*Search) - <Back - ^Home - +Recent Apps - (Menu*
*Power) - <Back - ^Home - +Recent Apps - (Menu*
Instructions are in the zip.
Instead of modifying SystemUI.apk, you'll have to modify MiuiSystemUI.apk
These Layouts seem not to work anymore, apply only if you know how to reverse it.​Key Explanation:
) Corner button left
( Corner button right
* Small Dot icon
+ Recent Apps icon
^ Home icon
< Back icon
# Custom icon
Click to expand...
Click to collapse
17.March.2012 Update for IceCreamTosti 0.10/ NexusHD2 CM9 1.5
NexusHD2 CM9:
fixed status bar ticker icon size
removed notification softkeys
ROM - Tytung's NexusHD2 ICS 4.0.3 CM9 V1.5
Portrait Only MOD - Download
Portrait&Landscape MOD - Download
Stock - Download
Once the mod is applied, go into Settings > Interface > Onscreen controls > Nav Buttons Config > Add Search to Nav Bar
Otherwise the buttons will not align correctly.
Click to expand...
Click to collapse
Custom Button Layouts
NavBar Left Hidden Power - Right Hidden Menu (stock mod layout)
NavBar Left Hidden Menu - Right Hidden Power
StatBar No Softkeys
Instructions are in the zip.​
Click to expand...
Click to collapse
ICT:
fixed status bar ticker icon size
replaced notification softkeys with media buttons
notification softkeys&toggles are scrollable part of the notifications
fixed dialer background texture
Note:
Reversed noification drawer layout will cause the SystemUI to crash, set it to:
Settings > ROM Control > (Statusbar) General > Notification drawer layout > Regular layout
ROM - Xylograph's IceCreamTosti v0.10 [AOKP M4/4.0.3][MULTILANGUAGE][LITE][K:TYT_ICS_r1]
MOD - Download
Stock - Download
Once the mod is applied, go into Settings > Rom Control > Navigation bar > Menu Location and press Right, Left or Both...
Next, press on "Menu visibility" and choose > Always show invisible icons.
Reversed noification drawer layout will cause the SystemUI to crash, set it to:
Settings > ROM Control > (Statusbar) General > Notification drawer layout > Regular layout
Click to expand...
Click to collapse
9.March.2012 Update for IceCreamTosti 0.10/ NexusHD2 CM9
NexusHD2 CM9:
Added notification softkeys
Play/Pause - Back - Home - Vol.dwn - Power
Some more "ics blue" less "gb orange" (thanks to etoy )
Removed Date Power button
Removed Status bar center Back button
Others
ROM - Xylograph's IceCreamTosti v0.10 [AOKP M4/4.0.3][MULTILANGUAGE][LITE][K:TYT_ICS_r1]
MOD - Download
Stock - Download
Once the mod is applied, go into Settings > Rom Control > Navigation bar > Menu Location and press Right, Left or Both...
Next, press on "Menu visibility" and choose > Always show invisible icons.
Click to expand...
Click to collapse
ROM - Tytung's NexusHD2 ICS 4.0.3 CM9 V1.4
Portrait Only MOD - Download
Portrait&Landscape MOD - Download
Stock - Download
Once the mod is applied, go into Settings > Interface > Onscreen controls > Nav Buttons Config > Add Search to Nav Bar
Otherwise the buttons will not align correctly.
Click to expand...
Click to collapse
3.March.2012 Update for IceCreamTosti 0.9
Added notification softkeys
Play/Pause - Back - Home - Vol.dwn - Power
Added 00 dp instead of replacing 42 dp in Settings > ROM Control > Navigation bar > Navigation bar width&height (thanks to zevele )
Some more "ics blue" less "gb orange" (thanks to etoy )
fixed Signal as text, dBm
Removed Date Power button
Removed Status bar center Back button
Shrunk Notifications Date bar
Others
ROM - Xylograph's IceCreamTosti v0.9 [AOKP27/4.0.3][MULTILANGUAGE][LITE][K:TYT_ICS_r1]
MOD - Download
Stock - Download
Once the mod is applied, go into Settings > Rom Control > Navigation bar > Menu Location and press Right, Left or Both...
Next, press on "Menu visibility" and choose > Always show invisible icons.
Click to expand...
Click to collapse
1.March.2012 Update for IceCreamTosti 0.9
Settings > ROM Control > Navigation bar > Navigation bar width&height
Changed:
42 dp - to - 0 dp (disable)
30 dp - to - 32 dp
Signal as text is to big currently, don't use it.
ROM - Xylograph's IceCreamTosti v0.9 [AOKP27/4.0.3][MULTILANGUAGE][LITE][K:TYT_ICS_r1]
MOD - Download
Stock - Download
Click to expand...
Click to collapse
28.Feb.2012 Update for IceCreamTosti 0.8a
ROM - Xylograph's IceCreamTosti v0.8a [AOKP26/4.0.3][MULTILANGUAGE][LITE][K:TYT_ICS_r1]
Portrait Only MOD - Download
Portrait&Landscape MOD - Download
Stock - Download
Once the mod is applied, go into Settings > Rom Control > Navigation bar > Menu Location and press Right, Left or Both...
Next, press on "Menu visibility" and choose > Always show invisible icons.
Click to expand...
Click to collapse
24.Feb.2012 Update for NexusHD2 CM9 v1.4
fixed landscape mod
added custom layouts
ROM - Tytung's NexusHD2 ICS 4.0.3 CM9 V1.4
Portrait Only MOD - Download
Portrait&Landscape MOD - Download
Stock - Download
Once the mod is applied, go into Settings > Interface > Onscreen controls > Nav Buttons Config > Add Search to Nav Bar
Otherwise the buttons will not align correctly.
Click to expand...
Click to collapse
21.Feb.2012 Update for NexusHD2 CM9 v1.4
hidden navigation bar buttons: Left Power, Right Menu
Note: You will have to activate all 4 buttons in the settings.
Features which are not included anymore because you can apply them in the settings
- Volume Rocker Wakes The Screen
- Center Clock
- Shortend Button Glow Animation
Old custom navigation_bar.xml's will probably do not work anymore with 1.4.
18.Feb.2012 Update for IceCreamTosti v0.7
fixed the button glow edges for the power&search button
ROM - Xylograph's IceCreamTosti v0.7 [AOKP23/4.0.3][MULTILANGUAGE][LITE][K:TYT_ICS_r1]
MOD - Download
Landscape Enabled MOD - Download
Stock - Download
Once the mod is applied, go into Settings > Rom Control > Navigation bar > Menu Location and press Right, Left or Both...
Next, press on "Menu visibility" and choose > Always show invisible icons.
Click to expand...
Click to collapse
16.Feb.2012 Update for IceCreamTosti v0.6/ NexusHD2 ICS CM9 v1.3
resized some icons again
Added Hidden Search Button (IceCreamTosti)
Updated Icons.zip 3rd post
ROM - Xylograph's IceCreamTosti v0.6 [AOKP22/4.0.3][MULTILANGUAGE][LITE][K:TYT_ICS_r1]
MOD - Download
Stock - Download
Click to expand...
Click to collapse
ROM - Tytung's NexusHD2 ICS 4.0.3 CM9 V1.3
MOD - Download
Landscape Enabled MOD - Download
Stock - Download
Click to expand...
Click to collapse
Custom Mods Provided by Forum Members
ROM - [5.Feb.2012][MAGLDR/SD] NexusHD2-ICS-4.0.3-CM9-SD V1.3
MOD - Download
Note - Provided by wis1152, custom layout, stock status bar, battery percentage mod....Credit goes to wis1152. Thanks for sharing.
Note - You can take his framework-res.apk&SystemUI.apk and drop it into the cwr.zip for use in tytung's nand rom.
Click to expand...
Click to collapse
ROM - Tytung's NexusHD2 ICS 4.0.3 CM9 V1.3
MOD - Download
Note - Provided by fulltank, blue reflective icons by hxdrummerxc included. Portrait&Landscape softkeys...Credit goes to fulltank. Thanks for sharing.
Click to expand...
Click to collapse
ROM - Tytung's NexusHD2 ICS 4.0.3 CM9 V1.3
MOD - Download
Note - Provided by wheeliemonster, full height status bar, small navigation bar, custom layout, stock icons...Credit goes to wheeliemonster. Thanks for sharing.
Click to expand...
Click to collapse
ROM - Tytung's NexusHD2 ICS 4.0.3 CM9 V1.3
MOD - Download
Note - Provided by radee85, Custom Button,Small status bar, battery percentage mod, small navigation bar...Credit goes to radee85. Thanks for sharing.
Click to expand...
Click to collapse
ROM - Tytung's NexusHD2 ICS 4.0.3 CM9 V1.3
MOD - Download
Note - Provided by geenyous , Custom Button Icons, Stock status bar, battery percentage mod, small navigation bar...Credit goes to geenyous. Thanks for sharing.
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Old Custom Button Layouts
*Search) - <Back - ^Home - +Menu - (Power* [stock mod layout]
*Menu) - <Back - ^Home - +Recent Apps - (Power*
*Search - ^Home - +Menu - <Back - Power*
*Search) - <Back - ^Home - +Recent Apps - (Menu*
*Power) - <Back - ^Home - +Recent Apps - (Menu*
No Softkey Status Bar
Instructions are in the zip.​Key Explanation:
) Corner button left
( Corner button right
* Small Dot icon
+ Recent Apps icon
^ Home icon
< Back icon
# Custom icon
Click to expand...
Click to collapse
09.Feb.2012 Update for IceCreamTosti 0.6
resized some icons again
updated List Of Changes (3rd post)
It's currently complete for Xylograph's 0.6 including all replaced and resized icons. (Note: decompile your framework&SystemUI before you drop them in there)
I try to update it with the differences to Tytung's rom, next time i update his mod.
ROM - Xylograph's IceCreamTosti v0.6 [AOKP22/4.0.3][MULTILANGUAGE][LITE][K:TYT_ICS_r1]
MOD - Download
Click to expand...
Click to collapse
08.Feb.2012
Re-uploaded Custom layouts now with landscape support
Added "no softkey status bar" layout
06.Feb.2012 Update for Tytung's v1.3
Status bar softkey layout --> Power ------------ Home
Other fixes
Portrait only mod
Portrait&landscape mod
others
ROM - Tytung's NexusHD2 ICS 4.0.3 CM9 V1.3
MOD - Download
Click to expand...
Click to collapse
03.Feb.2012 Update for IceCreamTosti 0.4/0.5
(NAVBAR) Left corner power button added
Note: Activate Menu button for both sides and set it to always invisible icons
(STATBAR) Softkey layout --> Power - Back - Home
Note: The Back button doesn't really work besides for killing the app (only if "Back to kill" is enabled in the settings)
Be carefull swiping down from the middle, if too slow you will kill the current app.
(STATBAR) Notification text padding fixed
Resized System&Action bar to 38dip
others
ROM - Xylograph's IceCreamTosti v0.4/0.5 [AOKP_M3/4.0.3][MULTILANGUAGE][LITE][K:TYT_ICS_r1]
MOD2 - Download
Click to expand...
Click to collapse
01.Feb.2012 Update for IceCreamTosti 0.4
volume rocker wake not included (it's applyable through the Rom Control)
center clock not included (it's applyable through the Rom Control)
no custom layout (it's applyable through the Rom Control)
button glow animation not shortend (it's applyable through the Rom Control)
tip. it's recommended to set this as short as possible to avoid window transition lag
resized some status bar icons again... i guess this is going to be a never ending story
status bar power button
Currently the whole status bar acts as a power button with long press feature,
also a quick slide down will bring up the notifications, slow slide -> power menu
the date in the notifications area acts as a power button too
others
ROM - Xylograph's IceCreamTosti v0.4 [AOKP_M3/4.0.3][MULTILANGUAGE][LITE][K:TYT_ICS_r1]
MOD - Download
Click to expand...
Click to collapse
25.01.2012
Custom Layout added: *Search) - <Back - ^Home - +Recent Apps - (Menu* (requested by redplate)
Custom Layout added: *Power) - <Back - ^Home - +Recent Apps - (Menu* (requested by redplate)
22.01.2012
Fixed permissions (credit to dohclude)
21.01.2012
Custom Layout added: *Search - ^Home - +Menu - <Back - Power* (requested by wheeliemonster )
Added "Landscape softkey enabled" version (thanks to dohclude)
20.01.2012
Custom Layout added: *Menu) - <Back - ^Home - +Recent Apps - (Power* (requested by myself11)
19.01.2012
shortend button glow animation
stock button icons again, resized (not upscaled)
fixed some status bar icons
custom layout requests
FileManager.apk included for tytung's rom, it will replace the stock one
Thanks Xylograph for fixing scrollbar_handle_accelerated_anim2.9.png.
ROM - Xylograph's IceCreamTosti v0.2 [AOSP+/CM9 4.0.3][ENG/DUT][LITE][K:TYTUNG_ICS_r1]
MOD - Download
Click to expand...
Click to collapse
ROM - Tytung's NexusHD2 ICS 4.0.3 CM9 V1.1/V1.2
MOD - Download
Note: Permissions fixed, credits dohclude
Click to expand...
Click to collapse
ROM - Tytung's NexusHD2 ICS 4.0.3 CM9 V1.1/V1.2
MOD - Download
Note: Landscape softkeys enabled. Thanks to dohclude for sharing. Permissions fixed aswell.
Click to expand...
Click to collapse
14.01.2012
made a theme for munjeni's touch recovery beta6
13.01.2012
shortend button glow animation (thanks to CrushD & knyghtryda for the how to) (currently Xylographs rom only)
edited FileManager.apk added
ROM - Xylograph's IceCreamTosti v0.1 [AOSP/CM9 4.0.3][ENG/DUT][LITE][K:TYTUNG_ICS_v1]
MOD - Download
Click to expand...
Click to collapse
11.01.2012
resized softkey icons
included button backlight script for tytung's cm9
miui softkey mod added (orange)
ROM - Czar's MIUI V4.0.3Mag/cLK]/SuperOSR/TT FOR HD2 KERNEL r14 Tytung/Dorimanx 2.6
MOD - Download
Click to expand...
Click to collapse
ROM - Tytung's NexusHD2 ICS 4.0.3 CM9 V1.0
MOD - Download
Click to expand...
Click to collapse
ROM - Smokin's MIUI ICS V4 based on 2.1.6 [Kern tytung ICS beta 8]
MOD2 - Download
Click to expand...
Click to collapse
ROM - Michie's (Android 4.0.3) ICS [ICS MOD 2 BETA 5/5.1] [CAMERA] [FB SYNC] [PAID APPS]
MOD2 - Download
Click to expand...
Click to collapse
09.01.2012
replaced some "gb orange" with "ics blue" (thanks to Roman-Kumori)
other minor changes (thanks to fergie716, meizu)
backlight fix
Tytung's NexusHD2 ICS 4.0.3 CM9 V1.0
Download
Click to expand...
Click to collapse
03.01.2012
blue theme this time (thanks to hxdrummerxc)
Lockscreen
hidden status bar clock
hidden menu button in exchange for visible search dot
resized some icons in the status bar
Jama's Android 4.0.3 CM9 ICS Beta 5
Download
Click to expand...
Click to collapse
Michie's (Android 4.0.3) ICS [ICS MOD 2 BETA 4] [CAMERA] [FB SYNC] [PAID APPS]
Download
Click to expand...
Click to collapse
Tytung's (Android 4.0.3) (AOSP ICS ROM for HD2) NexusHD2-IceCreamSandwich Beta10
Download
Click to expand...
Click to collapse
02.01.2012
volume rocker wake the screen (thanks to syc7090 and kyouko for the how to)
search&power button represented by a small dot
Tytung's (Android 4.0.3) (AOSP ICS ROM for HD2) NexusHD2-IceCreamSandwich Beta9
Download
Click to expand...
Click to collapse
30.12.2011
Search(invisible) - Back - Home - Menu - Power(invisible) layout
themeable background
status bar center date (thanks to fergie716)
Jama's Android 4.0.2 AOSP CM9 ICS Beta 2
Download
Click to expand...
Click to collapse
Michie's (Android 4.0.3) ICS [ICS MOD 2 ALPHA 1] + [ICS MOD 2 CM9 ALPHA 1]
Download
Click to expand...
Click to collapse
Tytung's (Android 4.0.2) (AOSP ICS ROM for HD2) NexusHD2-IceCreamSandwich Beta8
Download
Click to expand...
Click to collapse
Previously
search key added (thanks to paulobrien)
recent apps key removed
long press home key brings up recent apps
long press search key activates voice search
center clock (thanks to fergie716 for the how to)
resized things a little bit
moved some buttons to the action bar to keep most screenspace.
no overlapping using the stock keyboard
softkeys in portrait only, full screenspace in landscape
other minor changes
Michie's (Ice Cream sandwich 4.0.2) [ICS MOD CM9 NOVA] BETA 4.1/Beta 5.1/Beta 6
Download
Click to expand...
Click to collapse
Tytung's (Android 4.0.2) (AOSP ICS ROM for HD2) NexusHD2-IceCreamSandwich Beta7
Download
Click to expand...
Click to collapse
gogodu5sU said:
How To
Decompile your framework-res.apk.
Recompile.
Click to expand...
Click to collapse
I cannot show framework-res.apk/res ---not values
thank
hunglypt said:
I cannot show framework-res.apk/res ---not values
thank
Click to expand...
Click to collapse
You have to decompile it using apktool, try Apk Multi Tool.
Updated, new version for tytung's & michie's ICS roms in the first post.
installed this last tytung's version and working fine in ICS SD port by ankuch
Huge thanks!
* long press search key locks the screen (tytung's rom)
* long press search key activates voice search (michie's rom)
Click to expand...
Click to collapse
I have installed tytung's version but long press search key activates voice search instead
poyensa said:
installed this last tytung's version and working fine in ICS SD port by ankuch
Huge thanks!
I have installed tytung's version but long press search key activates voice search instead
Click to expand...
Click to collapse
Hi, i'm happy you like it.
...and I'm sorry aswell, the long-press feature isn't assigned by me but
i am sure there is some app which can change the long-press behaviour.
If you just want quickly the longpress>lockscreen:
- Install Screen Off and Lock, activate it and it will set the longpress-searchkey to lock the screen.
soft buttons
soft buttons are good but make your screen smaller , i wanted to know how to delete them if you dont like
Thanks for your great work, I use tytung's rom with it, works perfectly, but since ICS is still beta, i changed to use gingerbread again. Would you please release a version for gingerbread? thank you
chaudry8 said:
soft buttons are good but make your screen smaller , i wanted to know how to delete them if you dont like
Click to expand...
Click to collapse
There are 2 zip files for each rom, softkeys and stock.
If you don't like the softkeys flash the stock.zip in cwm and you are back to normal.
You have to unzip the downloaded file first, the zip's are within the zip,
next time i make it a bit more obvious.
biglazy1020 said:
Thanks for your great work, I use tytung's rom with it, works perfectly, but since ICS is still beta, i changed to use gingerbread again. Would you please release a version for gingerbread? thank you
Click to expand...
Click to collapse
I can't, this is a ICS feature. Try "zmooth" or "button savior" on gingerbread.
what has to be changed in the system ui apk? I changed the framework and got the soft keys but the lockscreen was off the first number in the time is the only number showing the rest are off screen to the right when looking at the phone. please help. This is for redjamas ICS mod. Thank you.
[email protected] said:
what has to be changed in the system ui apk? I changed the framework and got the soft keys but the lockscreen was off the first number in the time is the only number showing the rest are off screen to the right when looking at the phone. please help. This is for redjamas ICS mod. Thank you.
Click to expand...
Click to collapse
I am currently working on that and as i learn new things in the process the edited files change aswell even from rom to rom they differ.
The current softkeys.zip for tytung's beta 7, shows how it should not look like. (from a editing perspective)
Once i am satisfied, the changes should be easier/faster to apply and stay the same for all roms making it easier for me to write a how to. - shouldn't take to long...a week or 2? maybe less.
I will try to add redjama's rom to the list by tomorrow.
I am using zmooth now, thanks for your suggestion.
Thanks for your great work.
I use tytung's ICS beta rom with it, works perfectly.
But after install the moded zip, I cannot connect to my GPRS(2G EDGE) mobile data. If I reinstall stock zip, the connect is OK.
I very like the Navigation Bar, any suggestion?

[HOW TO][Gingerbread] Guides and Tips in Theming P970’s ROM

I might leave the scene and go back to CM7, I’ll just leave some important pointers in theming the ROM. As editing image is fairly easy, I will start with xml’s and editing font colors, background size etc.
Tools you need:
1. A program to decompile an APK
2. A program to edit xml’s (I prefer Notepad++)
3. Hex color sampler (Color-Hex)
4. Basic knowledge editing xml’s
5. Patience
Settings Description Colors
Location: framework-res/res/color/listitem_summary_text
Last HEX code is the one to edit
Credits:antonio1475
{
"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:
<?xml version="1.0" encoding="utf-8"?>
<selector
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_enabled="false" android:state_pressed="true" android:color="#ffbebebe" />
<item android:state_enabled="false" android:state_selected="true" android:color="#ffbebebe" />
<item android:state_pressed="true" android:color="#ff000000" />
<item android:state_selected="true" android:color="#ffffffff" />
<item android:state_enabled="false" android:color="#ffbebebe" />
<item android:color="[B]#ff33b5e5[/B]" />
</selector>
Description Colors (rest of the UI)
Location: framework-res/res/values/colors.xml
Credits: ZduneX25
Code:
<color name="dim_foreground_dark">[B]#ff33b5e5[/B]</color>
<color name="dim_foreground_dark_disabled">[B]#8033b5e5[/B]</color>
<color name="dim_foreground_light_inverse">[B]#ff33b5e5[/B]</color>
<color name="dim_foreground_light_inverse_disabled">[B]#8033b5e5[/B]</color>
Remaining colors, EXPERIMENT and see changes
Notification Menu (Pull Down)
Location: framework-res/res/layout/status_bar_latest_event_content.xml
You will find 3 hex colors for Title, Description and Time
Code:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:orientation="vertical" android:paddingLeft="5.0dip" android:paddingTop="7.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:orientation="horizontal" android:paddingTop="3.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content">
<ImageView android:id="@id/icon" android:layout_width="25.0dip" android:layout_height="25.0dip" android:src="@drawable/arrow_down_float" android:scaleType="fitCenter" />
<TextView android:textSize="18.0sp" android:textStyle="bold" android:textColor="[B]#ffffffff[/B]" android:ellipsize="marquee" android:id="@id/title" android:paddingLeft="4.0dip" android:fadingEdge="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" android:layout_weight="1.0" />
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content">
<TextView android:textSize="14.0sp" android:textColor="[B]#ff33b5e5[/B]" android:ellipsize="marquee" android:id="@id/text" android:paddingLeft="4.0dip" android:fadingEdge="horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" android:layout_weight="1.0" />
<android.widget.DateTimeView android:textSize="14.0sp" android:textColor="[B]#ff33b5e5[/B]" android:id="@id/time" android:paddingRight="5.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="4.0dip" android:singleLine="true" />
</LinearLayout>
</LinearLayout>
Centered clock/date
Proper transparency no overlaying of notification with the time. (except too much notification icons)
Location: SytemUI/res/layout/status_bar.xml
Use UOT to make status bar transparent (easy way). then create a black/gray or whatever .PNG/.9.PNG "statusbar_background2" same size as status bar (can be 480X40-42) and insert it SystemUI/res/drawable-hdpi
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.StatusBarView android:orientation="vertical" android:background="@drawable/statusbar_background" android:focusable="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:gravity="center" android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.systemui.statusbar.Clock android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:gravity="center" android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:layout_weight="1.0" />
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:id="@id/icons" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.systemui.statusbar.IconMerger android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/notificationIcons" android:paddingLeft="6.0dip" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0" android:layout_alignParentLeft="true" />
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/statusIcons" android:paddingRight="3.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentRight="true" />
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:id="@id/ticker" android:paddingLeft="6.0dip" android:animationCache="false" android:layout_width="fill_parent" android:layout_height="fill_parent" android:background="@drawable/statusbar_background2">
<ImageSwitcher android:id="@id/tickerIcon" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginRight="8.0dip">
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="25.0dip" android:layout_height="25.0dip" />
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="25.0dip" android:layout_height="25.0dip" />
</ImageSwitcher>
<com.android.systemui.statusbar.TickerView android:id="@id/tickerText" android:paddingTop="2.0dip" android:paddingRight="10.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0">
<TextView android:textColor="#ffffffff" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
<TextView android:textColor="#ffffffff" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
</com.android.systemui.statusbar.TickerView>
</LinearLayout>
<com.android.systemui.statusbar.DateView android:textSize="13.0sp" android:textStyle="bold" android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:textColor="#ffffffff" android:gravity="center" android:id="@id/date" android:background="@drawable/statusbar_background2" android:paddingLeft="6.0px" android:paddingRight="6.0px" android:layout_width="fill_parent" android:layout_height="fill_parent" android:singleLine="true" />
</com.android.systemui.statusbar.StatusBarView>
Pull Down Menu Toggle Icons Background
Location: SytemUI/res/layout/status_bar_expanded.xml
Edit the ff numbers: android:layout_height="111.0px"
android:layout_marginTop="18.0px"
android:layout_marginBottom="15.0px"
Code:
<TableLayout android:id="@id/lge_table_layout_1" android:layout_width="fill_parent" android:layout_height="111.0px">
<TableRow>
<ImageView android:id="@id/sound_button_toggle" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="19.0px" android:layout_marginTop="18.0px" android:layout_marginRight="13.0px" android:layout_marginBottom="15.0px" />
<ImageView android:id="@id/wifi_button_toggle" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="18.0px" android:layout_marginRight="13.0px" android:layout_marginBottom="15.0px" />
<ImageView android:id="@id/bt_button_toggle" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="18.0px" android:layout_marginRight="13.0px" android:layout_marginBottom="15.0px" />
<ImageView android:id="@id/gps_button_toggle" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="18.0px" android:layout_marginRight="13.0px" android:layout_marginBottom="15.0px" />
<ImageView android:id="@id/network_button_toggle" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="18.0px" android:layout_marginRight="13.0px" android:layout_marginBottom="15.0px" />
</TableRow>
</TableLayout>
Seek Bar/Volume
Location: framework-res/res/values/layout.xml
Orig value: 10.0dip
Code:
<style name="Widget.SeekBar" parent="@style/Widget">
<item name="focusable">true</item>
<item name="maxHeight">5.0dip</item>
<item name="indeterminateOnly">false</item>
<item name="indeterminateDrawable">@drawable/progress_horizontal</item>
<item name="progressDrawable">@drawable/progress_horizontal</item>
<item name="minHeight">5.0dip</item>
<item name="thumb">@drawable/seek_thumb</item>
<item name="thumbOffset">8.0dip</item>
</style>
Try them first...
TO BE CONTINUED....
reserved reserved reserved
Thanks it will be good for me
Thank you so much!!
hi..
tried to change statusbar color...but it doesnt worked for me... no color change and my phone booted then suddenly rebooted
donjamal said:
hi..
tried to change statusbar color...but it doesnt worked for me... no color change and my phone booted then suddenly rebooted
Click to expand...
Click to collapse
What do you exactly mean. status bar image color, time font color, date font color, noifications font color?
Its better you'll not delete this tread.. i'll am going to need this
gabwerkz said:
What do you exactly mean. status bar image color, time font color, date font color, noifications font color?
Click to expand...
Click to collapse
notifi color...copied yours and paste it to mine, i also tried to edit it manually but yet, none of the methods work
donjamal said:
notifi color...copied yours and paste it to mine, i also tried to edit it manually but yet, none of the methods work
Click to expand...
Click to collapse
The ones posted here has nothing to do with status bar font colors yet. If you have my ICS Theme zip grab colors.xml and styles.xml in framework-res. Styles.xml in framework-res is also an important one to edit, study it. You can edit there the sliders (volume bar) thickness too like with the ICS theme, menu/options (pressing the soft key) font colors etc.
Notifications in status bar like receiveing txt, USB/USB Debug notif status_bar.xml. Sample is ICS Blue font color.
Code:
<com.android.systemui.statusbar.TickerView android:id="@id/tickerText" android:paddingTop="2.0dip" android:paddingRight="10.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0">
<TextView android:textColor="#ff33b5e5" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
<TextView android:textColor="#ff33b5e5" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
</com.android.systemui.statusbar.TickerView>
timvdhoorn said:
Its better you'll not delete this tread.. i'll am going to need this
Click to expand...
Click to collapse
Sure bro, I made this for anyone who wants to continue to theme the stock ROM.
gabwerkz said:
The ones posted here has nothing to do with status bar font colors yet. If you have my ICS Theme zip grab colors.xml and styles.xml in framework-res. Styles.xml in framework-res is also an important one to edit, study it. You can edit there the sliders (volume bar) thickness too like with the ICS theme, menu/options (pressing the soft key) font colors etc.
Notifications in status bar like receiveing txt, USB/USB Debug notif status_bar.xml. Sample is ICS Blue font color.
Code:
<com.android.systemui.statusbar.TickerView android:id="@id/tickerText" android:paddingTop="2.0dip" android:paddingRight="10.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0">
<TextView android:textColor="#ff33b5e5" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
<TextView android:textColor="#ff33b5e5" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
</com.android.systemui.statusbar.TickerView>
Sure bro, I made this for anyone who wants to continue to theme the stock ROM.
Click to expand...
Click to collapse
so lets things clear...
u mentioned
Notification Menu (Pull Down)
Location: framework-res/res/layout/status_bar_latest_event_content.xml
You will find 3 hex colors for Title, Description and Time
this changes nothing..? should i use that method u answered?
donjamal said:
so lets things clear...
u mentioned
Notification Menu (Pull Down)
Location: framework-res/res/layout/status_bar_latest_event_content.xml
You will find 3 hex colors for Title, Description and Time
this changes nothing..? should i use that method u answered?
Click to expand...
Click to collapse
Pull down bro. Drop down or whatever they call it ain't status bar. Those are for the USB CONNECTED, USB DEBUG, NEW MESSAGE notifications in "PULL DOWN MENU" and not with status bar. My post was clear with that.
Sent from my LG-P970 using xda premium
gabwerkz said:
Pull down bro. Drop down or whatever they call it ain't status bar. Those are for the USB CONNECTED, USB DEBUG, NEW MESSAGE notifications in "PULL DOWN MENU" and not with status bar. My post was clear with that.
Sent from my LG-P970 using xda premium
Click to expand...
Click to collapse
ah i see... but i was wrong..not statusbar color is what i want to edit...i want what's in the picture..this status_bar_latest_event_content.xml as u mentioned. but edited with no succes
donjamal said:
ah i see... but i was wrong..not statusbar color is what i want to edit...i want what's in the picture..this status_bar_latest_event_content.xml as u mentioned. but edited with no succes
Click to expand...
Click to collapse
Be sure you are editing in framework-res. NOT in SystemUI. Paste your modified xml here, i want to see it. from framework-res/res/layout
Man, you take this as a guide to theme XPERIA X10? I saw your ICS theme, it has all whites in that portion. P970 has all black font colors in that portion. It might be different,might. So just take it as a reference. Cause CM7 for P970 and V20N for P970 has differences. but I think status_bar_latest_event_content.xml is universal. You may search for it, start with "Where to find the colors for making a theme". But I think it is universal.
gabwerkz said:
Be sure you are editing in framework-res. NOT in SystemUI. Paste your modified xml here, i want to see it. from framework-res/res/layout
Man, you take this as a guide to theme XPERIA X10? I saw your ICS theme, it has all whites in that portion. P970 has all black font colors in that portion. It might be different,might. So just take it as a reference. Cause CM7 for P970 and V20N for P970 has differences. but I think status_bar_latest_event_content.xml is universal. You may search for it, start with "Where to find the colors for making a theme". But I think it is universal.
Click to expand...
Click to collapse
no,no...x10 is my brother's phone..we just use this forum with the same account i make my own theme on p970 some apks are done but want a little more
ok, i will post my code tomorrow, cuz now im going to work..but i copied yours and paste it to mine and my phone got reboot all time...
and one question..when i compile the apk with apkmanager should i delete the editet xml too or just resources.asc from keep folder? cuz ive deleted just resources.asc and not the xml. could it be the problem?
thanks
donjamal said:
no,no...x10 is my brother's phone..we just use this forum with the same account i make my own theme on p970 some apks are done but want a little more
ok, i will post my code tomorrow, cuz now im going to work..but i copied yours and paste it to mine and my phone got reboot all time...
and one question..when i compile the apk with apkmanager should i delete the editet xml too or just resources.asc from keep folder? cuz ive deleted just resources.asc and not the xml. could it be the problem?
thanks
Click to expand...
Click to collapse
Now there's the problem. If you did not delete the xml, then it won't change. Try to decompile it again, you'd see it wasn't change right?
If it's P970, tell you what... just press "y" then "n". No deleting of xml's and you're done... That's what I do with mine, didn't have problems.
gabwerkz said:
Now there's the problem. If you did not delete the xml, then it won't change. Try to decompile it again, you'd see it wasn't change right?
If it's P970, tell you what... just press "y" then "n". No deleting of xml's and you're done... That's what I do with mine, didn't have problems.
Click to expand...
Click to collapse
cool..it works thanks
can u help me to fix this?
its not my screen, just got the same problem
donjamal said:
cool..it works thanks
can u help me to fix this?
its not my screen, just got the same problem
Click to expand...
Click to collapse
DownloadProvider.apk... Find every hexes with #ff000000 and make them #ffffffff. I'll decompile mine (included in Echelon) and see again where i edited.
res/layout/status_bar_ongoing_event_progress_bar.xml.
Modified colors were: #ff33b5e5
Code:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:orientation="vertical" android:background="@android:drawable/status_bar_item_app_background" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent">
<LinearLayout android:orientation="vertical" android:paddingTop="8.0dip" android:focusable="true" android:clickable="true" android:layout_width="40.0dip" android:layout_height="fill_parent">
<ImageView android:layout_gravity="center" android:id="@id/appIcon" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@android:drawable/sym_def_app_icon" />
<TextView android:textColor="#ffffffff" android:layout_gravity="center_horizontal" android:id="@id/progress_text" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" style="@android:style/TextAppearance.StatusBar.EventContent" />
</LinearLayout>
<RelativeLayout android:orientation="vertical" android:focusable="true" android:clickable="true" android:layout_width="fill_parent" android:layout_height="fill_parent">
<LinearLayout android:orientation="horizontal" android:paddingTop="10.0dip" android:focusable="true" android:clickable="true" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_alignParentTop="true">
<TextView android:textColor="#ff33b5e5" android:id="@id/title" android:paddingLeft="2.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" style="@android:style/TextAppearance.StatusBar.EventContent.Title" />
<TextView android:textColor="#ff33b5e5" android:id="@id/description" android:paddingLeft="5.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" style="@android:style/TextAppearance.StatusBar.EventContent" />
</LinearLayout>
<ProgressBar android:id="@id/progress_bar" android:paddingRight="25.0dip" android:paddingBottom="2.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_alignParentBottom="true" style="?android:attr/progressBarStyleHorizontal" />
<TextView android:id="@id/paused_text" android:paddingLeft="5.0dip" android:paddingBottom="8.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" android:layout_alignParentBottom="true" style="@android:style/TextAppearance.StatusBar.EventContent" />
</RelativeLayout>
</LinearLayout>
<ImageView android:layout_width="fill_parent" android:layout_height="wrap_content" android:src="@android:drawable/divider_horizontal_bright" />
</LinearLayout>
Next problem would be bluetooth notificatios. They will be in black as well.
just decompile, and find the xmls. If you see black/near black, change and try if it changes.
gabwerkz said:
DownloadProvider.apk... Find every hexes with #ff000000 and make them #ffffffff. I'll decompile mine (included in Echelon) and see again where i edited.
res/layout/status_bar_ongoing_event_progress_bar.xml.
Next problem would be bluetooth notificatios. They will be in black as well.
Click to expand...
Click to collapse
the funny thing is that i didnt modified the downloadprovider.apk just music.apk
i found a soulution to fix but cant find those lines so it doesnt work
For the Music.apk you simply need to decompile the file with apktool as per 1a. Now go to /Music/res/layout/ and open statusbar.xml with editpad. Look for "?android:textAppearanceMediumInverse" and "?android:textAppearanceSmallInverse", simply remove the "Inverse" part from each line and save the file. Recompile, resign
donjamal said:
the funny thing is that i didnt modified the downloadprovider.apk just music.apk
i found a soulution to fix but cant find those lines so it doesnt work
For the Music.apk you simply need to decompile the file with apktool as per 1a. Now go to /Music/res/layout/ and open statusbar.xml with editpad. Look for "?android:textAppearanceMediumInverse" and "?android:textAppearanceSmallInverse", simply remove the "Inverse" part from each line and save the file. Recompile, resign
Click to expand...
Click to collapse
I don't have problems regarding Music. So why ask? I can see already you made it white with your screenshots... ???
gabwerkz said:
I don't have problems regarding Music. So why ask? I can see already you made it white with your screenshots... ???
Click to expand...
Click to collapse
thats not my screenshot, jus got the same problem and i read that maybe it caused by the modified music apk, thats why im talkin bout music apk
anyway...i cant find color codes in my xml..
Code:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:orientation="vertical" android:background="@android:drawable/status_bar_item_app_background" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent">
<LinearLayout android:orientation="vertical" android:paddingTop="8.0dip" android:focusable="true" android:clickable="true" android:layout_width="40.0dip" android:layout_height="fill_parent">
<ImageView android:layout_gravity="center" android:id="@id/appIcon" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@android:drawable/sym_def_app_icon" />
<TextView android:layout_gravity="center_horizontal" android:id="@id/progress_text" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" style="@android:style/TextAppearance.StatusBar.EventContent" />
</LinearLayout>
<RelativeLayout android:orientation="vertical" android:focusable="true" android:clickable="true" android:layout_width="fill_parent" android:layout_height="fill_parent">
<LinearLayout android:orientation="horizontal" android:paddingTop="10.0dip" android:focusable="true" android:clickable="true" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_alignParentTop="true">
<TextView android:id="@id/title" android:paddingLeft="2.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" style="@android:style/TextAppearance.StatusBar.EventContent.Title" />
<TextView android:id="@id/description" android:paddingLeft="5.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" style="@android:style/TextAppearance.StatusBar.EventContent" />
</LinearLayout>
<ProgressBar android:id="@id/progress_bar" android:paddingRight="25.0dip" android:paddingBottom="2.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_alignParentBottom="true" style="?android:attr/progressBarStyleHorizontal" />
<TextView android:id="@id/paused_text" android:paddingLeft="5.0dip" android:paddingBottom="8.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" android:layout_alignParentBottom="true" style="@android:style/TextAppearance.StatusBar.EventContent" />
</RelativeLayout>
</LinearLayout>
<ImageView android:layout_width="fill_parent" android:layout_height="wrap_content" android:src="@android:drawable/divider_horizontal_bright" />
</LinearLayout>

[MOD][GUIDE] ICS SGS AOSP/AOKP - Statusbar Date Mods

i found a guide in the Nexus S forums to Add date to the top bar. (and removed from dropdown)
ported to ICS SGS project (AOSP ICS) for captivate by ME!!!
DOWNLOADS AT BOTTOM OF 1st POST
built on RC3.1 but will work on all versions. no ICSSGS release is perfect, so not going to worry about multiple versions unless I feel there is a real reason to.
made the zip to delete .odex file as this apk is de-odexed. so IT WORKS ON BOTH!!!
Battery mod included.
Right Hand Date ( Giggidy.. I had a right hand date last night..)
{
"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"
}
Centered Date/Time - smaller font
Made to work with trial and error combining two mod guides... and changing font size to 12. that was all me!
http://forum.xda-developers.com/showthread.php?t=1491887
http://forum.xda-developers.com/showthread.php?p=19760562#post19760562
Note: if you enable every statusbar icon(bt, vibrate,alarm,wifi etc) it will look messy cause the clock overlapse the icons...
Enjoy the Effin Mods!!
edits posted below.. the centre mod took a bit of playing around, original date centering guide was for AOKP (kang project) not AOSP (had centred time to begin with)
1. TO ADD DATE:
You have to decompile SystemUI.apk
Go to file: SystemUI.apk\res\layout\status_bar.xml
find the line looks like this... (line 15 ish..)
Code:
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="left|center" android:id="@id/clock" android:paddingLeft="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
change androidaddingLeft= to "4.0dip"go to the beginning of the clock code and insert a line above it, paste this line above clock code
Code:
<com.android.systemui.statusbar.policy.DateView android:textAppearance="@style/TextAppearance.StatusBar.Date" android:gravity="left|center" android:id="@id/date" android:paddingLeft="4.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:layout_toLeftOf="@id/clock" />
so it will look like this.... (keeping spacing in-line)
Code:
</LinearLayout>
[COLOR=Red]<com.android.systemui.statusbar.policy.DateView android:textAppearance="@style/TextAppearance.StatusBar.Date" android:gravity="left|center" android:id="@id/date" android:paddingLeft="4.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:layout_toLeftOf="@id/clock" />
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="left|center" android:id="@id/clock" android:paddingLeft="4.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />[/COLOR]
</LinearLayout>
above in the original clock line, I set the
Code:
android:paddingLeft="4.0dip"
(was 6.0dip) to the same value as date, so they have the same space at the left.
With this setup, you will always see date and then clock at the right of the statusbar(I haven't test something else yet).
if you want to delete the date from the notification header, do the following:
in the file: SystemUI.apk\res\layout\status_bar_expanded.xml delete the following line
Code:
<com.android.systemui.statusbar.policy.DateView android:textAppearance="@style/TextAppearance.StatusBar.Date" android:gravity="left|center" android:id="@id/date" android:paddingLeft="16.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:layout_alignParentLeft="true" />
and in the line
Code:
<ImageView android:id="@id/settings_button" android:paddingLeft="8.0dip" android:paddingRight="8.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/ic_notify_quicksettings" android:layout_toRightOf="@id/date" android:contentDescription="@string/accessibility_settings_button" />
replace the
Code:
android:layout_toRightOf="@id/date"
with the following(it maybe not crucial, but I did it)
Code:
android:layout_alignParentLeft="true"
it should look something like that
the text size is probably looking different between date and clock, so in the file SystemUI.apk\res\values\styles.xml is the text size of both.
clock
Code:
<style name="TextAppearance.StatusBar.Clock" parent="@android:style/TextAppearance.StatusBar.Icon">
<item name="android:textSize">16.0dip</item>
<item name="android:textStyle">normal</item>
<item name="android:textColor">@android:color/holo_blue_light</item>
</style>
and date
Code:
<style name="TextAppearance.StatusBar.Date" parent="@android:style/TextAppearance.StatusBar.Icon">
<item name="android:textSize">16.0sp</item>
<item name="android:textStyle">normal</item>
<item name="android:textColor">@android:color/holo_blue_light</item>
</style>
I changed both with
Code:
<item name="android:textSize">12.0sp</item>
HOW TO CENTER CLOCK/DATE AFTER FIRST MOD
2. CLOCK FIRST...
-navigate to your decompiled folder and go to res>layout>status_bar.xml
-look for this line:
Code:
<com.android.systemui.statusbar.policy.Clock
-delete the entire original clock line
-next go to the top of your status_bar.xml and place your cursor at the end of this line:
Code:
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
-press "enter" to create an empty line
-place your cursor at the beginning of that empty line and paste this line of code:
Code:
<LinearLayout android:gravity="center" android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.systemui.statusbar.policy.DateView android:textAppearance="@style/TextAppearance.StatusBar.Date" android:gravity="left|center" android:id="@id/date" android:paddingLeft="4.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:layout_toLeftOf="@id/clock" />
</LinearLayout>
-make sure everything lines up (see my xml below)
-lastly, find this line:
Code:
<LinearLayout android:orientation="horizontal" android:id="@id/ticker"
-right after "@id/ticker" add this drawable:
Code:
android:background="@drawable/status_bar_bg_tile"
3. NOW DATE....
now find, copy & delete (or cut) the line we modded in 1st part (adding date):
Code:
<com.android.systemui.statusbar.policy.DateView android:textAppearance="@style/TextAppearance.StatusBar.Date" android:gravity="left|center" android:id="@id/date" android:paddingLeft="4.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:layout_toLeftOf="@id/clock" />
and place it in the part pasted at the top, above the line...
Code:
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="center" android:id="@id/clock" android:paddingLeft="4.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
so it will look like..... full xml - changes in RED..
Code:
<?xml version="1.0" encoding="utf-8"?><com.android.systemui.statusbar.phone.PhoneStatusBarView android:orientation="vertical" android:background="@drawable/status_bar_background" android:focusable="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android"
[COLOR=#ff0000] xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">[/COLOR]
[COLOR=#ff0000] <LinearLayout android:gravity="center" android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent">[/COLOR]
[COLOR=#ff0000] <com.android.systemui.statusbar.policy.DateView android:textAppearance="@style/TextAppearance.StatusBar.Date" android:gravity="left|center" android:id="@id/date" android:paddingLeft="4.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:layout_toLeftOf="@id/clock" />[/COLOR]
[COLOR=#ff0000] <com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity "center" android:id="@id/clock" android:paddingLeft="4.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />[/COLOR]
[COLOR=#ff0000] </LinearLayout>[/COLOR]
<LinearLayout android:orientation="horizontal" android:id="@id/icons" android:paddingLeft="6.0dip" android:paddingRight="6.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent">
<LinearLayout android:orientation="horizontal" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0">
<com.android.systemui.statusbar.StatusBarIconView android:id="@id/moreIcon" android:visibility="gone" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="fill_parent" android:src="@drawable/stat_notify_more" />
<com.android.systemui.statusbar.phone.IconMerger android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/notificationIcons" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_alignParentLeft="true" />
</LinearLayout>
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/statusIcons" android:layout_width="wrap_content" android:layout_height="fill_parent" />
<LinearLayout android:gravity="center" android:orientation="horizontal" android:id="@id/signal_battery_cluster" android:paddingLeft="2.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent">
<include android:id="@id/signal_cluster" android:layout_width="wrap_content" android:layout_height="wrap_content" layout="@layout/signal_cluster_view" />
<ImageView android:id="@id/battery" android:paddingLeft="4.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</LinearLayout>
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:id="@id/ticker" [COLOR=#ff0000]android:background="@drawable/status_bar_bg_tile"[/COLOR]android:paddingLeft="6.0dip" android:animationCache="false" android:layout_width="fill_parent" android:layout_height="fill_parent">
<ImageSwitcher android:id="@id/tickerIcon" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:layout_marginRight="4.0dip">
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:scaleType="center" />
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:scaleType="center" />
</ImageSwitcher>
<com.android.systemui.statusbar.phone.TickerView android:id="@id/tickerText" android:paddingTop="2.0dip" android:paddingRight="10.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0">
<TextView android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
<TextView android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
</com.android.systemui.statusbar.phone.TickerView>
</LinearLayout>
</com.android.systemui.statusbar.phone.PhoneStatusBarView>
reserved....
just in case have more mods...
Will this work on fuzion ics
Sent from my SGH-I897 using XDA App
I think fusion is built off of CM9. So it won't work. If it is built off ICS SGS then it will
Thanks a million TR...worked perfect on first try of both mods...nice work and I'll hit thanks when I get off work.
Sent from my SGH-I897 using XDA App
I'm not sure about the xda app but with tapatalk you are able to give thanks through the app, Same way you reply, click a post then click thanks
Its all good ....just got thanks taken care of.....ill keep an eye out for more updates from you.....later
REALLY SURPRISED this isn't more popular. I LOVE this mod
3 downloads?
Ima give this a try when i get home....
Awesome wallpaper mind sharing?
heres the wallpaper... but 1 sec i'll PM you "the.zip" file.
This is great thanks!
Sent from my SGH-I897 using XDA App
Love the way it looks. I am on the Kang CM9 RC0 right now and wish it worked on that. I assume if I flash it my stuff will be broken. So, I will wait for another version to magically appear somewhere maybe.
well if you use the guide part of the first post, and a little playing around, I'm sure it would be possible.
TRusselo said:
heres the wallpaper... but 1 sec i'll PM you "the.zip" file.
Click to expand...
Click to collapse
May I also get that "the.zip" file please?
TRusselo said:
well if you use the guide part of the first post, and a little playing around, I'm sure it would be possible.
Click to expand...
Click to collapse
I may mess around with and see what I can do. I love the way it looks. As a matter of fact if I could get this working I wouldn't need a huge widget on my main screen to display this info anymore. I have gone as far as extracting the xml files, but I am on a windows box and it doesn't like the XML format. Says it is corrupt, illegal characters etc. I will look around at some more of the modding guides and see if I can find a XML editor that will work. It seems most are still geared toward 2.2-2.2 versions of the OS. My knowledge is limited, as I am not a developer anyway.
Maybe I won't brick it.
I use windows only... Use notepad++ to edit... Anything...
And don't worry there is absolutely no risk of bricking your phone. At Worst, a bunch of force closes until you restore the original APK
Did you decompile APK properly? (right way) Or just use win rar? (wrong way). The winrar method will only work changing images
TRusselo said:
Did you decompile APK properly? (right way) Or just use win rar? (wrong way). The winrar method will only work changing images
Click to expand...
Click to collapse
Yeah, I seem to have taken a wrong turn with the winrar way. I saw information about apktool a few minutes ago and I just got it installed. So I will see if I can get to work this time through. Thanks for the info.
to de-compile ICS apks without error you will have to find the new updated AAPT.exe files and add them to the apktools ... ? bin folder??? er... sorry not at home. look through its folders and find the old one, and replace with new. ALSO add the updated AAPT files to " C:/Windows/ " as some times it will look for it there and other tools may install it there as well. I was unable to de-compile until i added it there.
APK_Manager ... er updated name...?? APK toolbox??
apktools...
xda auto-tools...
all does the same things and all need the aapt update to decompile ICS as they all use the same base tools through a different GUI...

[GUIDE] How to theme layout with cm's theme engine (cm7/9/10/10.1)

Some of you saw/used my TNL theme: http://forum.xda-developers.com/showthread.php?t=1886892 and you probably would like to know how I did it.
Ok am gonna show you, but if you do not have basic knowledge (maybe even a bit advanced).
Requirements:
-apktool (not other apk manager!)
-cmd/terminal
-jre and jdk
-windows or linux (probably osx as well)
1. Load resources of app that you want to theme
Code:
apktool if here_comes_apk_file.apk
for me it was SystemUI.apk, then you will get:
Code:
I: Framework installed to: %userprofile%\apktool\framework\127.apk
2. What to do with 127.apk, simply add it to apktool.yml (of the theme):
Code:
usesFramework:
ids:
- 1
- 127
3. Preview of com_android_systemui.xml (as usual, but in layout files you cannot use a part of file you have to keep whole code):
Code:
<item name="layout/status_bar">@layout/status_bar</item>
<item name="layout/status_bar_expanded">@layout/status_bar_expanded</item>
<item name="layout/status_bar_expanded_header">@layout/status_bar_expanded_header</item>
4. Preview of status_bar_expanded_header.xml (you can add/remove/change everything you want as long as you put package name right after each @):
Code:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:background="@com.android.systemui:drawable/notification_header_bg" android:layout_width="fill_parent" android:layout_height="wrap_content" android:baselineAligned="false"
xmlns:android="http://schemas.android.com/apk/res/android">
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@com.android.systemui:style/TextAppearance.StatusBar.Expanded.Clock" android:id="@com.android.systemui:id/clock" android:clickable="true" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="8.0dip" android:singleLine="true" />
<com.android.systemui.statusbar.policy.DateView android:textAppearance="@com.android.systemui:style/TextAppearance.StatusBar.Expanded.Date" android:id="@com.android.systemui:id/date" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="8.0dip" android:layout_marginRight="8.0dip" />
<LinearLayout android:id="@com.android.systemui:id/buttons_bar" android:layout_width="wrap_content" android:layout_height="wrap_content">
<com.android.systemui.statusbar.RotationToggle android:id="@com.android.systemui:id/rotation_lock_button" android:clickable="true" android:layout_width="32.0dip" android:layout_height="32.0dip" android:layout_margin="8.0dip" android:button="@com.android.systemui:drawable/ic_notify_rotation" android:contentDescription="@com.android.systemui:string/accessibility_rotation_lock_off" />
<ImageView android:id="@com.android.systemui:id/settings_button" android:layout_width="48.0dip" android:layout_height="48.0dip" android:src="@com.android.systemui:drawable/ic_notify_quicksettings" android:scaleType="center" android:contentDescription="@com.android.systemui:string/accessibility_settings_button" />
</LinearLayout>
<Space android:layout_width="0.0dip" android:layout_height="0.0dip" android:layout_weight="1.0" />
<ImageView android:id="@com.android.systemui:id/clear_all_button" android:layout_width="48.0dip" android:layout_height="48.0dip" android:src="@com.android.systemui:drawable/ic_notify_clear" android:scaleType="center" android:contentDescription="@com.android.systemui:string/accessibility_clear_all" />
</LinearLayout>
5. Preview of usb_storage_activity.xml (from my MIUIv4 theme) (you can add/remove/change everything you want as long as you put package name right after each @):
Code:
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout android:gravity="center" android:id="@android:id/main" android:padding="18.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:orientation="vertical" android:layout_gravity="center" android:layout_marginTop="50.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content">
<ImageView android:id="@android:id/icon" android:layout_width="0.0dip" android:layout_height="0.0dip" android:src="@android:drawable/usb_android" android:layout_centerHorizontal="true" />
<Button android:id="@android:id/mount_button" android:layout_gravity="center" android:background="@android:drawable/usb_android" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<Button android:id="@android:id/unmount_button" android:layout_gravity="center" android:background="@android:drawable/usb_android_connected" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</LinearLayout>
<LinearLayout android:orientation="vertical" android:layout_gravity="center_vertical" android:layout_alignParentBottom="true" android:layout_width="fill_parent" android:layout_height="wrap_content">
<TextView android:textSize="24.0sp" android:gravity="center" android:id="@android:id/banner" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="10.0dip" android:text="@android:string/usb_storage_title" android:layout_below="@android:id/icon" android:layout_centerHorizontal="true" />
<TextView android:textSize="14.0sp" android:gravity="center" android:id="@android:id/message" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="10.0dip" android:text="@android:string/usb_storage_message" android:layout_below="@android:id/banner" />
</LinearLayout>
<RelativeLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="110.0dip" android:layout_alignParentBottom="true" android:layout_centerHorizontal="true">
<ProgressBar android:id="@android:id/progress" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:indeterminate="true" style="?android:attr/progressBarStyle" />
</RelativeLayout>
</RelativeLayout>
6. Preview of styles.xml (from swype to show you how to theme such parts):
Code:
<style name="Swype.holo" parent="@com.nuance.swype.dtc:style/Swype.holo">
<item name="com.nuance.swype.dtc:candidateComponent">#ff187af4</item>
<item name="com.nuance.swype.dtc:candidateRecommended">#ff187af4</item>
<item name="com.nuance.swype.dtc:highlightedKeyTextColor">#ff187af4</item>
<item name="com.nuance.swype.dtc:componentForegroundColor">#ff187af4</item>
<item name="com.nuance.swype.dtc:convertingStringBackgroundColor">#aa187af4</item>
<item name="com.nuance.swype.dtc:smartEditorBackgroundHighlightColor">#aa187af4</item>
<item name="com.nuance.swype.dtc:smartEditorUnderlineHighlightColor">#ff187af4</item>
<item name="com.nuance.swype.dtc:verCandidateComponent">#ff187af4</item>
<item name="com.nuance.swype.dtc:verCandidateRecommended">#ff187af4</item>
<item name="com.nuance.swype.dtc:wordInlineBackgroundColor">#ff187af4</item>
</style>
8. Using this guide you will loose wallpaper and preview of you theme to get your wall back add following code to android.xml:
Code:
<item name="drawable/default_wallpaper">@drawable/homescreen</item>
There is no way to fix preview w/o editing apktool source.
ZduneX25 said:
Hi guys am going to save some money to buy and try out iToy (do not judge), so I feel it is the right moment to share with you hacks I figured out this autumn.
Some of you saw/used my TNL theme: http://forum.xda-developers.com/showthread.php?t=1886892 and you probably would like to know how I did it.
Ok am gonna show you, but if you do not have basic knowledge (maybe even a bit advanced), do not join us, cause am going to make a TeamViewer Meeting to show how to, not to learn how to theme.
Why I cannot write a regular guide, because some things are less difficult to show that to explain, feel free to join me.
Am waiting for at least 10 themers then we will talk about the show.
Click to expand...
Click to collapse
You mean, we can using custom layout on cm theme engine instead the default layout inside systemui/framewok ?
This is something I'm very interested in although I don't consider myself a 'themer' can I still join though?
Sent from my GT-I9100 using xda premium
@saldymhmd yeah
@m1keyb I would be glad to see you there
Wow sounds interesting I'm not a good themer, but I think I have some exp Can I join ?
@saldymhmd depends from you, am not choosing who deserves, it will be public, everyone is welcome
but if some of the watchers will get confused during the show there will be no time to explain, that is the only limitation
I'm in
Me too
Hello ZduneX25,
I am also interested in the layout redirection meeting. I can redirect layout files with "@+id/" but usually apps like deskclock force close with this.
Regards, D_d
*EDIT*
Can the layout redirection be applied successfully in .apks like deskclock, or only systemui & framework-res?
@DaRk_dOg you can redirect any app, but only one at the time, means one custom app layout in one theme - apktool's limitation (I believe apktool dev could work on it)
ZduneX25 said:
@DaRk_dOg you can redirect any app, but only one at the time, means one custom app layout in one theme - apktool's limitation (I believe apktool dev could work on it)
Click to expand...
Click to collapse
I build through linux with ant.
You think this raises the one at a time limitation?
Regards, D_d
Count me in if it's on weekends!
I got the layout to work on only a few apps..otherwise it crashes the app..like ADWEX I got one too work but the other won't. Also it's risky to do framework layouts because not all roms use the same layout and can cause bootloops and crashes. But for the most part it can be done!
DarkJelly Gnex on JellyBro sent this from the app.
@DaRk_dOg linux turns you off from using layout it's only for apktool (regular decompiling and compiling method)
@djdarkknight96 i think they know that, but i guess it's their decision to make
I am also in(retested)
Ops I kinda forgot this thread, how is working tomorrow or the day after tomorrow for you guys?
We will pick the time of the meeting later on.
I am also in.and i know how to theme layout as well.
ZduneX25 said:
Ops I kinda forgot this thread, how is working tomorrow or the day after tomorrow for you guys?
We will pick the time of the meeting later on.
Click to expand...
Click to collapse
Weekend is good. The best time for me is during summer/winter break because then I don't have to worry about all the things I need to do for the next day etc.
anything happened here?
I'd like to know how to theme layout too =)
Hi,
Just found this thread and tought : well i am saved...
But, i can't compile my theme back.
Apktool keeps throwing me these errors :
"Adding multiple application package resources; only one is allowed. Use -x to create extended resources".
Well i googled this error, and i can't find a single usefull thing.
If someine has a clue i would appreciate it a lot.
Thanks for the help

[GUIDE][TW][JB][4.1] how to change all backgrounds of expanded panel

Hi guys,
Today I'm here with the full tutorial on changing the background of everything on the expanded panel for JB 4.1 touchwiz ROMs
What this guide includes :
1. Main background
2. Header background
3. Header settings button background
4. Toggles background
5. Brightness slider background
6. Sim selector background
7. No notifications bar background
8. Notifications bar background
9. Ongoing bar background
10. Ongoing and notifications panel background
11. Close drag handle background
Requirements :
1. Brain
2. Patience
3. Experience(little bit)
4. Apktool or anything like it
How to :
1. Decompile your SystemUI.apk
Now to change different backgrounds :
1. Main background :
1. Go to res/layout/tw_status_bar_expanded.xml(if you're device is single sim)/ tw_status_bar_expanded_dual.xml(if you're device is dual sim)
2. Focus on line no.5 which is this:
Code:
<FrameLayout android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginBottom="@dimen/tw_close_handle_underlap">
3. Now add this to the line:
Code:
android:background="#ffffffff"
... You can also use a png in which case you have to add it like this:
Code:
android:background="@drawable/pngname"
and then put a png of which name you used on a drawable folder
2. Header background :
1. Go to res/layout/tw_status_bar_expanded_header.xml
2. Now focus on line no.2 which is this:
Code:
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:background="#ff000000" android:layout_width="fill_parent" android:layout_height="39.0dip" android:baselineAligned="false"
3. Now edit the
Code:
android:background="#ff000000"
to set a png or just use hex if you want
3. Header settings button background :
1. Go to res/layout/tw_status_bar_expanded_header.xml
2. Now find this:
Code:
<RelativeLayout android:id="@id/settings_button" android:background="@drawable/tw_quick_panel_setting_button_bg" android:focusable="true" android:visibility="visible" android:layout_width="@dimen/status_bar_expanded_setting_width" android:layout_height="39.0dip">
3. Now edit the:
Code:
android:background="@drawable/tw_quick_panel_setting_button_bg"
like you want
4. Toggles background :
go to res/drawable-??dpi(depends on your device) and change these 2 pngs: tw_quick_panel_quick_setting_button_bg_normal.9.png(when the toggles are normal)
and
tw_quick_panel_quick_setting_button_bg_pressed.9.png(when a toggle is pressed)
5. Brightness slider background :
1. Go to res/layout/tw_status_bar_expanded.xml(depends on your device)
2. Find this line:
Code:
<LinearLayout android:orientation="vertical" android:id="@id/brightness_controller" android:background="#ff000000" android:layout_width="fill_parent" android:layout_height="56.0dip" android:layout_marginTop="0.0dip">
3. Now change the:
Code:
android:background="#ff000000"
to what you like
6. Sim selector background :
1. Go to res/layout/tw_status_bar_expanded_dual.xml(it's only on dual sim)
2. Find this line:
Code:
<LinearLayout android:orientation="horizontal" android:id="@id/quickpanel_dualsim_layout" android:layout_width="fill_parent" android:layout_height="67.0dip">
3. Now add this to it:
Code:
android:background="#ffffffff"
and edit it like you want
7. No notifications bar background :
1. Go to res/layout/tw_status_bar_expanded.xml(depends on the device)
2. Now find this line:
Code:
<LinearLayout android:orientation="vertical" android:id="@id/noNotificationsTitle" android:focusable="true" android:layout_width="fill_parent" android:layout_height="wrap_content">
3. Now add this to it:
Code:
android:background="#ffffffff"
and edit it like you want
8. Notifications bar background :
1. Go to res/layout/tw_status_bar_expanded.xml(again depends on the device)
2. Now find this:
Code:
<LinearLayout android:orientation="vertical" android:id="@id/notificationCart" android:background="#ff293945" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="@dimen/status_bar_expanded_notification_category_height">
3. Now change the:
Code:
android:background="#ff293945"
to whatever you want
9. Ongoing bar background :
1. Go to res/layout/tw_status_bar_expanded.xml(as always depends on the device)
2. Now find this line:
Code:
<LinearLayout android:orientation="vertical" android:id="@id/onGoingCart" android:background="#ff293945" android:focusable="true" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="@dimen/status_bar_expanded_notification_category_height">
3. Now edit this:
Code:
android:background="#ff293945"
to your liking
10. Ongoing and notifications panel background :
1. Go to res/layout/tw_status_bar_notification_row.xml
2. Now focus on this line:
Code:
<com.android.systemui.statusbar.LatestItemView android:id="@id/content" android:background="@drawable/tw_notification_row_bg" android:focusable="true" android:clickable="true" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="@dimen/tw_notification_divider_height" android:layout_marginBottom="@dimen/tw_notification_divider_height">
3. Now edit the:
Code:
android:background="@drawable/tw_notification_row_bg"
to set another PNG or to set hex
11. Close drag handle background :
1. Go to res/layout/tw_status_bar_expanded.xml(as always depends on the device)
2. Find this line:
Code:
<com.android.systemui.statusbar.phone.CloseDragHandle android:layout_gravity="bottom" android:orientation="vertical" android:id="@id/close" android:layout_width="fill_parent" android:layout_height="@dimen/tw_close_handle_height">
3. Now add this to it:
Code:
android:background="#ffffffff"
and edit it like you want
Or if you wanna do it with pngs and want close drag handle to show different backgrounds while being normal and dragged as usual than edit:
tw_status_bar_close_off.png (when close drag handle is normal)
And
tw_status_bar_close_on.png (when close drag handle is touched/dragged)
2. Now recompile, sign, push, reboot and enjoy !!!
Credits :
@majdinj learn a lot from he's guide
@ARGHA_DAS for main BG changing guide and saying how to change notifications and ongoing BG​
NOTES :
1. Edit tw_status_bar_expanded.xml if you're device is single sim or tw_status_bar_expanded_dual.xml if you're device is dual sim
2. If you want other backgrounds to show the main background then you have to make other backgrounds transparent
3. You must change the png or set an hex to change the notifications and ongoing panel BG..... Editing the default png will not work
4. Using transparent code or png will not make the notifications and ongoing panel background transparent
5. If you want close drag handle to show a custom hex/png background of yours over the other 2 pngs than you have to make them transparent​
Briefly Explained nice work keep it up man
Thanks and can you post some ss
I dunno why, but my header's background does not change, it stills black. Here's my XML (tw_status_bar_expanded_header.xml):
Code:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:background="#ff347fa5" android:layout_width="fill_parent" android:layout_height="39.0dip" android:baselineAligned="false"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Clock" android:textColor="#ffffffff" android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="4.0dip" android:layout_marginTop="-3.0dip" android:singleLine="true" systemui:ampmSmall="true" />
<com.android.systemui.statusbar.policy.DateView android:textSize="16.0dip" android:textStyle="normal" android:textColor="#ffffffff" android:ellipsize="none" android:id="@id/date" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="8.0dip" android:layout_marginRight="4.0dip" android:maxLines="2" android:textAllCaps="true" />
<com.android.systemui.statusbar.RotationToggle android:id="@id/rotation_lock_button" android:visibility="gone" android:clickable="true" android:layout_width="32.0dip" android:layout_height="32.0dip" android:layout_margin="8.0dip" android:button="@drawable/ic_notify_rotation" android:contentDescription="@string/accessibility_rotation_lock_off" />
<RelativeLayout android:id="@id/settings_button" android:background="#ff347fa5" android:focusable="true" android:visibility="visible" android:layout_width="@dimen/status_bar_expanded_setting_width" android:layout_height="39.0dip">
<ImageView android:id="@id/settings_button_icon" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/tw_quickpanel_icon_settings" android:scaleType="center" android:layout_centerHorizontal="true" android:layout_centerVertical="true" android:contentDescription="@string/accessibility_settings_button" />
</RelativeLayout>
</LinearLayout>
Here the settings buttons background changed to the specified color, why the header don't?
RafaelAlmeidatk said:
I dunno why, but my header's background does not change, it stills black. Here's my XML (tw_status_bar_expanded_header.xml):
Code:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:background="#ff347fa5" android:layout_width="fill_parent" android:layout_height="39.0dip" android:baselineAligned="false"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Clock" android:textColor="#ffffffff" android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="4.0dip" android:layout_marginTop="-3.0dip" android:singleLine="true" systemui:ampmSmall="true" />
<com.android.systemui.statusbar.policy.DateView android:textSize="16.0dip" android:textStyle="normal" android:textColor="#ffffffff" android:ellipsize="none" android:id="@id/date" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="8.0dip" android:layout_marginRight="4.0dip" android:maxLines="2" android:textAllCaps="true" />
<com.android.systemui.statusbar.RotationToggle android:id="@id/rotation_lock_button" android:visibility="gone" android:clickable="true" android:layout_width="32.0dip" android:layout_height="32.0dip" android:layout_margin="8.0dip" android:button="@drawable/ic_notify_rotation" android:contentDescription="@string/accessibility_rotation_lock_off" />
<RelativeLayout android:id="@id/settings_button" android:background="#ff347fa5" android:focusable="true" android:visibility="visible" android:layout_width="@dimen/status_bar_expanded_setting_width" android:layout_height="39.0dip">
<ImageView android:id="@id/settings_button_icon" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/tw_quickpanel_icon_settings" android:scaleType="center" android:layout_centerHorizontal="true" android:layout_centerVertical="true" android:contentDescription="@string/accessibility_settings_button" />
</RelativeLayout>
</LinearLayout>
Here the settings buttons background changed to the specified color, why the header don't?
Click to expand...
Click to collapse
If hex is not working than give a try to png
Are u using ldpi.device??? if yes then open res/layout-320ldpi/tw_status_bar_expanded_header.xml and edit it
Screenshots added ?
ShadeSK said:
Are u using ldpi.device??? if yes then open res/layout-320ldpi/tw_status_bar_expanded_header.xml and edit it
Click to expand...
Click to collapse
Thank you so much! Here the tw_status_bar_expanded_header.xml was in layout-sw320dp-hdpi folder (my device is HDPI).
RafaelAlmeidatk said:
Thank you so much! Here the tw_status_bar_expanded_header.xml was in layout-sw320dp-hdpi folder (my device is HDPI).
Click to expand...
Click to collapse
Actually didn't knew about this... My fault?
Ur wlcm sir
Thread has been updated with how to for the close drag handle
Wewwww! Osm Sir
Hi xenreon,
I pressed Thanks button. But that is not enough.
So, THANK YOU for your guide. For about 2 months, I tried to change colours of top bar and background of brightness controller on expanded status bar on my Samsung Quattro (JB 4.1.2). Finally, I found a PERFECT guide only in this guide.
---------- Post added at 03:46 PM ---------- Previous post was at 03:43 PM ----------
Hi, RafaelAlmeidatk
Had you not faced the problem in colouring top bar (header), solution would not have been posted in this guide. Thank you for sharing your problem.
---------- Post added at 03:48 PM ---------- Previous post was at 03:46 PM ----------
ARGHA_DAS said:
Are u using ldpi.device??? if yes then open res/layout-320ldpi/tw_status_bar_expanded_header.xml and edit it
Click to expand...
Click to collapse
Your suggestion was very useful. I could change colour of top bar (header) of expanded status bar. Thank you!

Categories

Resources