[GUIDE] [MOD] [GB] SystemUI - Move Clock to Expanded - Galaxy Y Duos S6102 Android Development

Simple guide for SystemUI and... may be not enough interested but this is my guide
Requirement:
*apktool / apk manager / apk multi tool
*SystemUI.apk
*Notepad++
Instruction:
1.Decompile SystemUI.apk
2.Go to res\layout\status_bar.xml
3.Find code
<com.android.systemui.statusbar.Clock android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:gravity="left|center" android: paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
Move this code to status_bar_expanded_dual_sim.xml after code
<LinearLayout android: orientation="horizontal" android:id="@id/quickpanel_dualsim_layout" android:background="@drawable/quick_panel_dualsim_bg" android:layout_width="fill_parent" android:layout_height="56.0px">
4.If you want support second and change color clock , change and add this code
<DigitalClock android:textSize="27.0dip" android:textColor="#ff080abc" android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:gravity="left|center" android: paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
Text size and text color not must like example
5.Save and compile
6.Push to system and Enjoy modding

elotus said:
Simple guide for SystemUI and... may be not enough interested but this is my guide
Requirement:
*apktool / apk manager / apk multi tool
*SystemUI.apk
*Notepad++
Instruction:
1.Decompile SystemUI.apk
2.Go to res\layout\status_bar.xml
3.Find code
<com.android.systemui.statusbar.Clock android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:gravity="left|center" android: paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
Move this code to status_bar_expanded_dual_sim.xml after code
<LinearLayout android: orientation="horizontal" android:id="@id/quickpanel_dualsim_layout" android:background="@drawable/quick_panel_dualsim_bg" android:layout_width="fill_parent" android:layout_height="56.0px">
4.If you want support second and change color clock , change and add this code
<DigitalClock android:textSize="27.0dip" android:textColor="#ff080abc" android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:gravity="left|center" android: paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
Text size and text color not must like example
5.Save and compile
6.Push to system and Enjoy modding
Click to expand...
Click to collapse
Bro i got the clock but its there any way to get it big
EDIT : Ok fixed it

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?

[MOD][DEV][SMALI] Blackberry ten style Lockscreen for CM9

GUIDE ( SMALI ) CM9 BLACKBERRY TEN STYLE LOCKSCREEN FOR HDPI / XHDPI DEVICES ONLY
for MDPI Devices , you can go here : http://forum.xda-developers.com/showthread.php?t=2260883
thanks to Sky_Walker for getting it working on MDPI devices
Hi..Hi.how are you all XDA especially for Developer only
I want to share to you all how to make Mod Backberry ten style lockscreen but only for HDPI/XHDPI Devices running CyanogenMod 9
and for CyanogenMod 10 you can go here http://forum.xda-developers.com/showthread.php?t=2236926
The different with CyanogenMod 10 version that we don't have lockscreen transparency in CM9 version.
and there is a little bug in CM9 version, Don't ever try to change lockscreen background to color fill or custom image, or you will not able to unlock/open the lockscreen,
so make sure you always use Default Wallpaper as Lockscreen background
I am coming from this guide thread http://forum.xda-developers.com/showthread.php?t=1920612
and Full Credit goes to the original founder Legend Senior Member EVILISTO
and here I want to share it to you how to make Mod Blackberry ten style lockscreen but with SMALI code :good::laugh:
I made one for my device Galaxy Wonder GT-I8150 :http://forum.xda-developers.com/showthread.php?t=2229154
THANKS to sir Arco68 for giving our device smooth and stable CyanogenMod 9
and Thanks to Sir Idiomedi for helping me with the Blackberry WaveView.smali
ok lets go to Guide:
first of all need some requirement for this MOD-GUIDE
REQUIREMENT:
- BRAIN
- Patient
- experience
- Know how to decompile/recompiling Apk file
- Know how to decompile/recompiling jar Apk file
- notepad++
- Tool for decompiling, : apkmanager/apktool/Virtous/apkmultitools/ or else
Sorry for my bad english ​
GUIDE
1. Decompile your framework-res.apk
\res\layout\keyguard_screen_tab_unlock.xml
Delete the whole lines and replace with this :
Code:
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout android:gravity="center_horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<com.android.internal.widget.WaveView android:id="@id/unlock_widget" android:layout_width="fill_parent" android:layout_height="fill_parent" />
<GridLayout android:gravity="center_horizontal" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.internal.widget.DigitalClock android:id="@id/time" android:paddingTop="36.0dip" android:layout_marginBottom="8.0dip">
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="@dimen/keyguard_lockscreen_clock_font_size" android:textColor="@color/lockscreen_clock_background" android:ellipsize="none" android:gravity="center_horizontal" android:id="@id/timeDisplayBackground" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginBottom="5.0dip" android:singleLine="true" />
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="@dimen/keyguard_lockscreen_clock_font_size" android:textColor="@color/lockscreen_clock_foreground" android:ellipsize="none" android:gravity="center_horizontal" android:id="@id/timeDisplayForeground" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginBottom="5.0dip" android:singleLine="true" android:layout_alignLeft="@id/timeDisplayBackground" android:layout_alignTop="@id/timeDisplayBackground" />
</com.android.internal.widget.DigitalClock>
<LinearLayout android:orientation="horizontal" android:id="@id/date_line" android:layout_width="fill_parent">
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="@dimen/keyguard_lockscreen_status_line_font_size" android:ellipsize="marquee" android:gravity="center_horizontal" android:id="@id/date" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="@dimen/keyguard_lockscreen_status_line_font_size" android:ellipsize="marquee" android:gravity="center_horizontal" android:id="@id/alarm_status" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginLeft="16.0dip" android:singleLine="true" android:drawablePadding="4.0dip" />
</LinearLayout>
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="@dimen/keyguard_lockscreen_status_line_font_size" android:ellipsize="marquee" android:gravity="center_horizontal" android:id="@id/status1" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" android:drawablePadding="4.0dip" />
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="@dimen/keyguard_lockscreen_status_line_font_size" android:textColor="?textColorSecondary" android:ellipsize="marquee" android:gravity="center_horizontal" android:id="@id/carrier" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="3.0dip" android:singleLine="true" />
<RelativeLayout android:orientation="horizontal" android:id="@id/weather_panel" android:paddingTop="4.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content">
<ImageView android:id="@id/weather_image" android:paddingLeft="8.0dip" android:paddingRight="8.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_dialog_alert" android:layout_centerHorizontal="true" android:layout_centerVertical="true" />
<RelativeLayout android:orientation="horizontal" android:padding="4.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_toLeftOf="@id/weather_image" android:layout_centerVertical="true">
<TextView android:textSize="14.0sp" android:textStyle="bold" android:textColor="?textColorPrimary" android:ellipsize="marquee" android:gravity="right" android:id="@id/weather_city" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" android:layout_alignParentRight="true" />
<TextView android:textSize="12.0sp" android:textColor="?textColorPrimary" android:ellipsize="marquee" android:gravity="right" android:id="@id/weather_condition" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" android:layout_below="@id/weather_city" android:layout_alignParentRight="true" />
<TextView android:textSize="6.0sp" android:textColor="?textColorSecondary" android:gravity="right" android:id="@id/update_time" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_below="@id/weather_condition" android:layout_alignParentRight="true" />
</RelativeLayout>
<RelativeLayout android:orientation="horizontal" android:id="@id/weather_temps_panel" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_toRightOf="@id/weather_image" android:layout_centerVertical="true">
<TextView android:textSize="20.0sp" android:textColor="?textColorPrimary" android:id="@id/weather_temp" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerHorizontal="true" />
<View android:id="@id/weather_divider" android:background="@drawable/divider_horizontal_dark" android:layout_width="44.0dip" android:layout_height="1.0dip" android:layout_below="@id/weather_temp" />
<TextView android:textSize="12.0sp" android:textColor="?textColorPrimary" android:id="@id/weather_low_high" android:paddingTop="2.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_below="@id/weather_divider" android:layout_centerHorizontal="true" />
</RelativeLayout>
</RelativeLayout>
<Button android:layout_gravity="right" android:id="@id/emergencyCallButton" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="4.0dip" android:layout_marginRight="16.0dip" android:text="@string/lockscreen_emergency_call" android:drawableLeft="@drawable/lockscreen_emergency_button" android:drawablePadding="4.0dip" style="?android:attr/buttonBarButtonStyle" />
<RelativeLayout android:layout_width="fill_parent" android:layout_height="wrap_content">
<LinearLayout android:gravity="center_vertical" android:id="@id/calendar_panel" android:paddingLeft="12.0dip" android:paddingRight="12.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:minHeight="28.0dip">
<ImageView android:gravity="center" android:layout_gravity="center_vertical" android:layout_width="36.0dip" android:layout_height="wrap_content" android:src="@drawable/ic_lock_idle_calendar" />
<View android:background="@drawable/divider_horizontal_dark" android:paddingTop="6.0dip" android:paddingBottom="6.0dip" android:layout_width="1.0dip" android:layout_height="fill_parent" />
<RelativeLayout android:paddingLeft="4.0dip" android:paddingTop="6.0dip" android:paddingBottom="6.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0">
<TextView android:textSize="14.0sp" android:textColor="?textColorPrimary" android:ellipsize="marquee" android:id="@id/calendar_event_title" android:fadingEdge="horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" />
<TextView android:textSize="12.0sp" android:textColor="?textColorSecondary" android:ellipsize="marquee" android:id="@id/calendar_event_details" android:focusable="true" android:focusableInTouchMode="true" android:fadingEdge="horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content" android:scrollHorizontally="true" android:singleLine="true" android:layout_below="@id/calendar_event_title" android:layout_alignLeft="@id/calendar_event_title" android:marqueeRepeatLimit="marquee_forever" />
</RelativeLayout>
</LinearLayout>
</RelativeLayout>
<LinearLayout android:gravity="center" android:orientation="horizontal" android:layout_width="fill_parent" android:weightSum="2.0" style="?android:attr/buttonBarStyle">
<Button android:textSize="@dimen/keyguard_lockscreen_status_line_font_size" android:layout_gravity="center_horizontal" android:id="@id/emergencyCallButton" android:visibility="gone" android:layout_width="0.0dip" android:layout_height="wrap_content" android:text="@string/lockscreen_emergency_call" android:drawableLeft="@drawable/lockscreen_emergency_button" android:drawablePadding="0.0dip" android:layout_weight="1.0" style="?android:attr/buttonBarButtonStyle" />
</LinearLayout>
<include android:layout_gravity="fill" android:id="@id/transport" android:layout_width="0.0dip" android:layout_height="0.0dip" android:layout_column="0" android:layout_row="0" android:layout_rowSpan="8" android:layout_columnSpan="1" layout="@layout/keyguard_transport_control" />
</GridLayout>
</RelativeLayout>
NEXT
2. for HDPI DEVICES download THIS and put it to
\res\drawable-hdpi\
for XHDPI DEVICES download THIS and put it to
\res\drawable-xhdpi\
NEXT
\res\values\ids.xml
3. add this line to the end
Code:
<item type="id" name="date_line">false</item>
DONE and recompile your framework-res.apk
NEXT
4. Decompile the Newly recompiled framework-res.apk again
and go to
\res\values\public.xml
open in text editor or notepad++ that public.xml
and don't do anything., we just leave it.
NEXT
5. Decompile your framework.jar
\com\android\internal\widget
DELETE WaveView.smali and replace with THIS new WaveView.smali
NEXT
6. Open in text editor that new WaveView.smali and look into your new public.xml that we just leave.
Make sure the ID in WaveView.smali is same like your new ID in new public.xml
but without 0 number in the public.xml
Code:
[B]new WaveView.smali new Public.xml[/B]
-line 198 -> 0x10404bd <public type="string" name="description_target_camera" id="0x[COLOR="Red"]0[/COLOR]10404bd" />
-line 306 -> 0x10805fc <public type="drawable" name="unlock_ring" id="0x[COLOR="Red"]0[/COLOR]10805fc" />
-line355 -> 0x10805fd <public type="drawable" name="unlock_wave" id="0x[COLOR="Red"]0[/COLOR]10805fd" />
-line 404 -> 0x10805fa <public type="drawable" name="unlock_default" id="0x[COLOR="Red"]0[/COLOR]10805fa" />
-line 453 -> 0x10805fb <public type="drawable" name="unlock_halo" id="0x[COLOR="Red"]0[/COLOR]10805fb" />
if the ID in new public.xml is different, you must change the ID in new WaveView.smali with your new ID in public.xml but without 0 number in the public.xml
DONE and Compile your framework-res.apk and your framework.jar.
reserved for something
Recompile error at step 3 sir
jetse7en said:
Recompile error at step 3 sir
Click to expand...
Click to collapse
Ouh .. sorry
Can post the log chat , so we can see which error
Sent from my GT-I8150 using xda app-developers app
That the step 3 would earn, to enough only one hundred-fate ( <com.android.internal.widget.WaveView android:id="@id/unlock_widget" android:layout_width="fill_parent" android:layout_height="fill_parent" />) to transfer to the file. Having removed the which is responsible for blocking. All other lines exclusively under each phone.
Adi Aisiteru Reborn said:
Ouh .. sorry
Can post the log chat , so we can see which error
Sent from my GT-I8150 using xda app-developers app
Click to expand...
Click to collapse
Here it is, sir
jetse7en said:
Here it is, sir
Click to expand...
Click to collapse
yah, I've seen that, but why you have so many missing ids ?
are you sure it's CM9 (4.0.4) framework-res.apk ?
or can you give me your framework-res.apk too ?, I want to check it
Adi Aisiteru Reborn said:
yah, I've seen that, but why you have so many missing ids ?
are you sure it's CM9 (4.0.4) framework-res.apk ?
or can you give me your framework-res.apk too ?, I want to check it
Click to expand...
Click to collapse
Yes, i'm sure.
Here's my's framework-res.apk
Can this work for mdpi devices coz I've heard that hdpi mods can also work for MDP I devices
HTC pico yc style,
jetse7en said:
Yes, i'm sure.
Here's my's framework-res.apk
Click to expand...
Click to collapse
ahh seems that your tools, I dont find error with my tools decompile recompile your framewrok-res.apk
here you go for you, I've edit your framewrok-res.apk to bb lockscreen
jetse7en_BB_FLASHABLE_framework-res.apk
I ve checked it and the public.xml already mach with my BB wave view smali,. now you only need to compile your frmaework.jar with my waveview.smali, no need to check it anymore,.
and flash with my template flashable zip
and if it works,. remember , this lockscreen has bug, read my first post
yasir4abbas said:
Can this work for mdpi devices coz I've heard that hdpi mods can also work for MDP I devices
HTC pico yc style,
Click to expand...
Click to collapse
not yet, I'm sorry
Adi Aisiteru Reborn said:
ahh seems that your tools, I dont find error with my tools decompile recompile your framewrok-res.apk
here you go for you, I've edit your framewrok-res.apk to bb lockscreen
jetse7en_BB_FLASHABLE_framework-res.apk
I ve checked it and the public.xml already mach with my BB wave view smali,. now you only need to compile your frmaework.jar with my waveview.smali, no need to check it anymore,.
and flash with my template flashable zip
Click to expand...
Click to collapse
Thank you very muchhhhh!
Can you give me your apktool? I need to build a new one for my other device which using CM10 too.
jetse7en said:
Thank you very muchhhhh!
Can you give me your apktool? I need to build a new one for my other device which using CM10 too.
Click to expand...
Click to collapse
I dont use apk tool , I use Apk Multitools , you can get it on its official website
Sent from my GT-I8150 using xda app-developers app
Adi Aisiteru Reborn said:
I dont use apk tool , I use Apk Multitools , you can get it on its official website
Sent from my GT-I8150 using xda app-developers app
Click to expand...
Click to collapse
Sir, i think my apktool is not has any problem.
I've tested with your framework-res.apk by steps below:
- Unzip jetse7en_BB_FLASHABLE_framework-res.apk
- Decompile framework-res.apk
- Recompile without any change
-> Recompile complete
(sry my bad english)
jetse7en said:
Sir, i think my apktool is not has any problem.
I've tested with your framework-res.apk by steps below:
- Unzip jetse7en_BB_FLASHABLE_framework-res.apk
- Decompile framework-res.apk
- Recompile without any change
-> Recompile complete
(sry my bad english)
Click to expand...
Click to collapse
that framework-res.apk already been compressed when decompile recompile procss by my tools, ,
I dont know, may be its difficult for your tools for editing stok original apk especially injecting/porting new lines to the apk,.
Adi Aisiteru Reborn said:
that framework-res.apk already been compressed when decompile recompile procss by my tools, ,
I dont know, may be its difficult for your tools for editing stok original apk especially injecting/porting new lines to the apk,.
Click to expand...
Click to collapse
OK. My wrong,
I've finished. Thank for support
Adi Aisiteru Reborn said:
not yet, I'm sorry
Click to expand...
Click to collapse
But are u going to do it?
Thanks in advance
Impulse1020 said:
But are u going to do it?
Thanks in advance
Click to expand...
Click to collapse
see this original founder thread , [MOD][DEV] BlackBerry 10 style Lockscreen mod for JB [JZO54K / AOKP / CM10]
he said the resources for HD( xhdpi )..
and
EVILISTO said
I made this mod for jellybean but basically it is based on old WaveView widget(honeycomb's). So I think making same mod for ICS is possible too.. (but untested.. and maybe you have to apply patch manually)
Click to expand...
Click to collapse
am not this Mod founder, so I cannot find the solution for MDPI / LDPI
what am trying to share here is, how to make that Mod with different guide,. and still use the same resources
and the fact I can prove it that this mod is able for ICS base rom too :good::laugh:
bro !!! this is my framework-res.apk got compilation error !!!
please mod it if possible thnx in advance !!!
showstopper1 said:
bro !!! this is my framework-res.apk got compilation error !!!
please mod it if possible thnx in advance !!!
Click to expand...
Click to collapse
sorry for late repply, I had a bussy in my office
Btw, I've checked your framework-res.apk, and it is not CM9 framework-res.apk,.it is ICS.4.0.4 stok framework-res.apk.. thts why you got error,
and this Mod guide is only for CM9 only. sorry

[GUIDE] [MOD] [GB] SystemUI - Add Carrier Name on status bar

Add Carrier Name on status bar
Requirement:
*apktool / apk manager / apk multi tool
*SystemUI.apk
*Notepad++
Instruction:
1.Decompile SystemUI.apk
2.Go to res\layout\status_bar.xml
3.Find code
<LinearLayout androidrientation="horizontal" android:id="@id/icons" android:layout_width="fill_parent" android:layout_height="fill_parent">
And add this code after that
<TextView android:textColor="#ffffffff" android:gravity="center_vertical" androidrientation="horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="TYPE YOUR TEXT" />
text color not must like example you can change with your want
max text 17 character
4.Save and compile
5.Push to system and Enjoy modding
elotus said:
Add Carrier Name on status bar
Requirement:
*apktool / apk manager / apk multi tool
*SystemUI.apk
*Notepad++
Instruction:
1.Decompile SystemUI.apk
2.Go to res\layout\status_bar.xml
3.Find code
<LinearLayout androidrientation="horizontal" android:id="@id/icons" android:layout_width="fill_parent" android:layout_height="fill_parent">
And add this code after that
<TextView android:textColor="#ffffffff" android:gravity="center_vertical" androidrientation="horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="TYPE YOUR TEXT" />
text color not must like example you can change with your want
max text 17 character
4.Save and compile
5.Push to system and Enjoy modding
Click to expand...
Click to collapse
hmm how to make it a same font with my current font?
I already have written a guide for this
you can find it
http://forum.xda-developers.com/showthread.php?p=46298824#post46298824
Mod Edit
Duplicate thread is closed.
Original is HERE
malybru
Forum Moderator

[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!

Lockscreen clock widget [Q]

Someone please tell me how to change the clock widget on lock screen without using any app . I know systemui.apk is responsible for that but I want to know which xml file contains the code.
decompile AsusSystemUI.apk
go to res/layout/keyguard_status_view.xml
remove or change this line:
Code:
<LinearLayout android:layout_gravity="left" android:orientation="horizontal" android:id="@id/keyguard_selector_weather_widget" android:layout_width="wrap_content" android:layout_height="wrap_content" />
milano88 said:
decompile AsusSystemUI.apk
go to res/layout/keyguard_status_view.xml
remove or change this line:
Code:
<LinearLayout android:layout_gravity="left" android:orientation="horizontal" android:id="@id/keyguard_selector_weather_widget" android:layout_width="wrap_content" android:layout_height="wrap_content" />
Click to expand...
Click to collapse
Thanks for your replay . Your suggestion will help me .

Categories

Resources