hi there!
after making the sense 4 mod and a lot of requests for a tutorial here we go
(The Original Thread.. gets updates)
http://forum.xda-developers.com/showthread.php?t=1599348
the reasons i placed this tutorial is because the mod is more populair then i thought
and i cant keep up the request and updates of some roms
so my request to you is.. if you make your own version
place it in this thread to share with everyone
http://forum.xda-developers.com/showthread.php?t=1599348
and if you use this mod in one of your themes give me some credit
the mod needs 2 files
-SystemUI.apk
-Framework-res.apk
you need apktool 1.4.2 and 1.4.3
decompile with 1.4.2 and compile with 1.4.3
after compiling go to build/apk in your apktool folder and put the
res folder
resources.arsc
classes.dex
in the original apk to make this work!
first decompile systemui
then
go to res/layout-port
open
status_bar_recent_item
change the code to
Code:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:orientation="vertical" android:id="@id/recent_item" android:paddingLeft="@dimen/status_bar_recents_item_padding" android:paddingRight="@dimen/status_bar_recents_item_padding" android:layout_width="wrap_content" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<FrameLayout android:id="@id/app_thumbnail" android:background="#00000000" android:visibility="invisible" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="5.0dip" android:layout_marginTop="170.0dip" android:foreground="#00000000" android:layout_centerInParent="true">
<ImageView android:id="@id/app_thumbnail_image" android:fadingEdge="none" android:fadingEdgeLength="0.0dip" android:layout_width="@dimen/status_bar_recents_thumbnail_width_webaokp" android:layout_height="@dimen/status_bar_recents_thumbnail_height_webaokp" android:layout_marginTop="20.0dip" />
<ImageView android:gravity="center_horizontal" android:id="@id/app_icon" android:layout_width="192.0dip" android:layout_height="wrap_content" android:layout_marginTop="310.0dip" android:layout_marginRight="5.0dip" android:adjustViewBounds="true" android:maxWidth="@dimen/status_bar_recents_app_icon_max_width" android:maxHeight="@dimen/status_bar_recents_app_icon_max_height" android:layout_below="@id/app_thumbnail" android:layout_alignParentLeft="true" android:layout_alignParentTop="true" />
</FrameLayout>
<LinearLayout android:orientation="horizontal" android:paddingTop="0.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content">
<TextView android:textSize="@dimen/status_bar_recents_app_label_text_size" android:textColor="@color/status_bar_recents_app_label_color" android:ellipsize="marquee" android:gravity="center_horizontal" android:id="@id/app_label" android:paddingTop="0.0dip" android:fadingEdge="none" android:fadingEdgeLength="0.0dip" android:layout_width="200.0dip" android:layout_height="50.0dip" android:layout_marginTop="0.0dip" android:adjustViewBounds="true" android:scrollHorizontally="true" android:singleLine="true" android:layout_below="@id/app_icon" android:layout_alignParentBottom="true" />
</LinearLayout>
<TextView android:textSize="@dimen/status_bar_recents_app_description_text_size" android:ellipsize="marquee" android:id="@id/app_description" android:fadingEdge="horizontal" android:fadingEdgeLength="@dimen/status_bar_recents_fading_edge_length" android:layout_width="@dimen/status_bar_recents_app_label_width" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/status_bar_recents_app_label_left_margin" android:layout_marginTop="0.0dip" android:scrollHorizontally="true" android:singleLine="true" android:layout_below="@id/app_label" android:layout_alignParentBottom="true" />
</LinearLayout>
open
status_bar_recent_panel
change the code to
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.recent.RecentsPanelView android:id="@id/recents_root" android:background="@drawable/status_bar_recents_background" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<FrameLayout android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<TextView android:textSize="20.0dip" android:textColor="#ffffffff" android:gravity="center_horizontal" android:layout_gravity="center" android:layout_width="wrap_content" android:layout_height="470.0dip" android:text="@string/status_bar_no_recent_apps" />
</FrameLayout>
<FrameLayout android:id="@id/recents_bg_protect" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_centerVertical="true">
<com.android.systemui.recent.RecentsHorizontalScrollView android:layout_gravity="bottom|left|center" android:id="@id/recents_container" android:visibility="gone" android:scrollbars="none" android:fadingEdge="vertical" android:clipChildren="false" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginRight="0.0dip" android:stackFromBottom="true" android:divider="@null">
<LinearLayout android:orientation="horizontal" android:id="@id/recents_linear_layout" android:clipChildren="false" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="wrap_content" />
</com.android.systemui.recent.RecentsHorizontalScrollView>
</FrameLayout>
<include android:id="@id/recents_no_apps" android:layout_width="fill_parent" android:layout_height="fill_parent" layout="@layout/status_bar_no_recent_apps" />
</com.android.systemui.recent.RecentsPanelView>
go to res/values
open
dimens
make sure the your values are the same
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<dimen name="status_bar_edge_ignore">5.0dip</dimen>
<dimen name="status_bar_recents_app_icon_max_width">48.0dip</dimen>
<dimen name="status_bar_recents_app_icon_max_height">48.0dip</dimen>
<dimen name="status_bar_recents_thumbnail_width_webaokp">170.0dip</dimen>
<dimen name="status_bar_recents_thumbnail_height_webaokp">280.0dip</dimen>
<dimen name="status_bar_recents_thumbnail_width">164.0dip</dimen>
<dimen name="status_bar_recents_thumbnail_height">145.0dip</dimen>
<dimen name="status_bar_recents_app_label_text_size">14.0dip</dimen>
<dimen name="status_bar_recents_app_description_text_size">14.0dip</dimen>
<dimen name="status_bar_recents_fading_edge_length">0.0dip</dimen>
<dimen name="status_bar_recents_right_glow_margin">100.0dip</dimen>
<dimen name="peek_window_y_offset">-12.0dip</dimen>
<dimen name="navigation_bar_size">@android:dimen/navigation_bar_height</dimen>
<dimen name="navigation_bar_deadzone_size">12.0dip</dimen>
<dimen name="notification_height">65.0dip</dimen>
<dimen name="status_bar_icon_size">@android:dimen/status_bar_icon_size</dimen>
<dimen name="status_bar_icon_drawing_size">18.0dip</dimen>
<item type="dimen" name="status_bar_icon_drawing_alpha">54.999996%</item>
<dimen name="status_bar_icon_padding">0.0dip</dimen>
<dimen name="notification_divider_height">1.0dip</dimen>
<dimen name="self_expand_velocity">2000.0dip</dimen>
<dimen name="self_collapse_velocity">2000.0dip</dimen>
<dimen name="fling_expand_min_velocity">200.0dip</dimen>
<dimen name="fling_collapse_min_velocity">200.0dip</dimen>
<dimen name="fling_gesture_max_x_velocity">200.0dip</dimen>
<item type="dimen" name="collapse_min_display_fraction">10.000002%</item>
<item type="dimen" name="expand_min_display_fraction">50.0%</item>
<dimen name="expand_accel">2000.0dip</dimen>
<dimen name="collapse_accel">2000.0dip</dimen>
<dimen name="global_screenshot_bg_padding">20.0dip</dimen>
</resources>
go to res/drawable
open
status_bar_Recent_background(if you let this file alone your background will be transparent.. if you wish to use another background or the one in the attachments for the original Sense look change the code to this)
Code:
<?xml version="1.0" encoding="utf-8"?>
<animation-list android:oneshot="false"
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:duration="1000" android:drawable="@drawable/nattekut" />
</animation-list>
then download this
{
"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"
}
and place it in your drawable-xhdpi folder
then go to res/layout
open
status_bar_no_recent_apps
change your code to
Code:
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<TextView android:textSize="20.0dip" android:textColor="#ffffffff" android:gravity="center_horizontal" android:layout_gravity="center" android:layout_width="wrap_content" android:layout_height="470.0dip" android:text="@string/status_bar_no_recent_apps" />
</FrameLayout>
now go to the values of your country
for example
values-en-rGB
open strings
and change the recent app string to this(in your own language)
Code:
<string name="status_bar_no_recent_apps">Recent apps</string>
now for the part i hate
go to
\smali\com\android\systemui\recent
open recentpanelview.smali
then search for
Code:
.line 433
iget-object v2, p1, Lcom/android/systemui/recent/RecentsPanelView$ViewHolder;->thumbnailViewImage:Landroid/widget/ImageView;
sget-object v3, Landroid/widget/ImageView$ScaleType;->MATRIX:Landroid/widget/ImageView$ScaleType;
invoke-virtual {v2, v3}, Landroid/widget/ImageView;->setScaleType(Landroid/widget/ImageView$ScaleType;)V
.line 434
iget-object v2, p1, Lcom/android/systemui/recent/RecentsPanelView$ViewHolder;->thumbnailViewImage:Landroid/widget/ImageView;
invoke-virtual {v2, v1}, Landroid/widget/ImageView;->setImageMatrix(Landroid/graphics/Matrix;)V
then paste
this underneath
Code:
const/high16 v3, 0x41a0
invoke-virtual {v2, v3}, Landroid/widget/ImageView;->setRotationY(F)V
save and compile
decompile framework
go to res/values/
and open dimens
make sure you have this values
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<dimen name="app_icon_size">48.0dip</dimen>
<dimen name="thumbnail_height">245.0dip</dimen>
<dimen name="thumbnail_width">170.0dip</dimen>
<item type="dimen" name="dialog_min_width_major">65.0%</item>
<item type="dimen" name="dialog_min_width_minor">94.99999%</item>
<dimen name="notification_large_icon_width">64.0dip</dimen>
<dimen name="notification_large_icon_height">64.0dip</dimen>
<dimen name="config_prefDialogWidth">320.0dip</dimen>
<dimen name="config_viewConfigurationTouchSlop">8.0dip</dimen>
<dimen name="toast_y_offset">64.0dip</dimen>
<dimen name="status_bar_height">25.0dip</dimen>
<dimen name="system_bar_height">48.0dip</dimen>
<dimen name="navigation_bar_height">48.0dip</dimen>
<dimen name="navigation_bar_width">42.0dip</dimen>
<dimen name="status_bar_icon_size">24.0dip</dimen>
<dimen name="status_bar_content_number_size">48.0sp</dimen>
<dimen name="system_bar_icon_size">32.0dip</dimen>
<dimen name="status_bar_edge_ignore">5.0dip</dimen>
<dimen name="fastscroll_overlay_size">104.0dip</dimen>
<dimen name="fastscroll_thumb_width">64.0dip</dimen>
<dimen name="fastscroll_thumb_height">52.0dip</dimen>
<dimen name="min_xlarge_screen_width">800.0dip</dimen>
<dimen name="password_keyboard_key_height_alpha">56.0dip</dimen>
<dimen name="password_keyboard_key_height_numeric">56.0dip</dimen>
<dimen name="password_keyboard_spacebar_vertical_correction">4.0dip</dimen>
<dimen name="password_keyboard_horizontalGap">3.0dip</dimen>
<dimen name="password_keyboard_verticalGap">9.0dip</dimen>
<dimen name="keyguard_lockscreen_outerring_diameter">270.0dip</dimen>
<dimen name="multiwaveview_target_placement_radius">135.0dip</dimen>
<dimen name="multiwaveview_snap_margin">20.0dip</dimen>
<dimen name="multiwaveview_hit_radius">60.0dip</dimen>
<dimen name="preference_screen_side_margin">0.0dip</dimen>
<dimen name="preference_screen_side_margin_negative">0.0dip</dimen>
<dimen name="preference_screen_top_margin">0.0dip</dimen>
<dimen name="preference_screen_bottom_margin">0.0dip</dimen>
<dimen name="preference_widget_width">48.0dip</dimen>
<dimen name="preference_fragment_padding_bottom">0.0dip</dimen>
<dimen name="preference_fragment_padding_side">16.0dip</dimen>
<dimen name="preference_breadcrumb_paddingLeft">0.0dip</dimen>
<dimen name="preference_breadcrumb_paddingRight">0.0dip</dimen>
<dimen name="preference_icon_minWidth">0.0dip</dimen>
<dimen name="preference_screen_header_vertical_padding">0.0dip</dimen>
<dimen name="preference_screen_header_padding_side">16.0dip</dimen>
<dimen name="preference_item_padding_side">8.0dip</dimen>
<dimen name="preference_item_padding_inner">8.0dip</dimen>
<dimen name="preference_child_padding_side">16.0dip</dimen>
<dimen name="search_view_text_min_width">160.0dip</dimen>
<dimen name="search_view_preferred_width">320.0dip</dimen>
<dimen name="alert_dialog_title_height">64.0dip</dimen>
<dimen name="alert_dialog_button_bar_height">48.0dip</dimen>
<dimen name="action_bar_default_height">48.0dip</dimen>
<dimen name="action_bar_icon_vertical_padding">8.0dip</dimen>
<dimen name="action_bar_title_text_size">18.0dip</dimen>
<dimen name="action_bar_subtitle_text_size">14.0dip</dimen>
<dimen name="action_bar_subtitle_top_margin">-3.0dip</dimen>
<dimen name="action_bar_subtitle_bottom_margin">5.0dip</dimen>
<dimen name="keyguard_lockscreen_clock_font_size">80.0dip</dimen>
<dimen name="keyguard_lockscreen_status_line_font_size">14.0dip</dimen>
<dimen name="keyguard_lockscreen_status_line_font_right_margin">42.0dip</dimen>
<dimen name="keyguard_lockscreen_status_line_clockfont_top_margin">22.0dip</dimen>
<dimen name="keyguard_lockscreen_status_line_clockfont_bottom_margin">12.0dip</dimen>
<dimen name="keyguard_lockscreen_pin_margin_left">40.0dip</dimen>
<dimen name="activity_chooser_popup_min_width">200.0dip</dimen>
<dimen name="default_gap">16.0dip</dimen>
<dimen name="dropdownitem_text_padding_left">8.0dip</dimen>
<dimen name="dropdownitem_text_padding_right">8.0dip</dimen>
<dimen name="dropdownitem_icon_width">32.0dip</dimen>
<dimen name="textview_error_popup_default_width">240.0dip</dimen>
<dimen name="volume_panel_top">80.0dip</dimen>
<dimen name="default_app_widget_padding_left">8.0dip</dimen>
<dimen name="default_app_widget_padding_top">8.0dip</dimen>
<dimen name="default_app_widget_padding_right">8.0dip</dimen>
<dimen name="default_app_widget_padding_bottom">8.0dip</dimen>
<dimen name="action_button_min_width">56.0dip</dimen>
<item type="dimen" name="APKTOOL_DUMMY_004a">false</item>
</resources>
save and compile
push it to your device and enjoy
heres a cwm package
you can use
http://dl.dropbox.com/u/63404537/LocoZipSense4-8 b34.zip
just put your systemui in the /system/app/
and put your framework-res in the /system/framework
i hope this was clear!
enjoy this mod!
i worked hard for it
if you like my work consider a small donation
this is still a little wip i want to make it more like the original sense
so if you want to join forces send me a private message
Hi i get this error when compiling
[*] D:\apktool\AutoAPKTool2.0.0\_INPUT_APK\SystemUI
recompiling D:\apktool\AutoAPKTool2.0.0\_INPUT_APK\SystemUI...
I: Smaling...
I: Building resources...
D:\apktool\AutoAPKTool2.0.0\_INPUT_APK\SystemUI\res\layout-port\status_bar_recent_item.xml:12: error: Error parsing XML: no element found
D:\apktool\AutoAPKTool2.0.0\_INPUT_APK\SystemUI\res\drawable\status_bar_recents_background.xml:1: error: Error parsing XML: not well-formed (invalid token)
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\doeboy\AppData\Local\Temp\APKTOOL8793273189672460438.tmp, -I, C:\Users\doeboy\apktool\framework\1.apk, -S, D:\apktool\AutoAPKTool2.0.0\_INPUT_APK\SystemUI\res, -M, D:\apktool\AutoAPKTool2.0.0\_INPUT_APK\SystemUI\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
at brut.androlib.Androlib.buildResources(Androlib.java:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:174)
at brut.apktool.Main.main(Main.java:59)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\doeboy\AppData\Local\Temp\APKTOOL8793273189672460438.tmp, -I, C:\Users\doeboy\apktool\framework\1.apk, -S, D:\apktool\AutoAPKTool2.0.0\_INPUT_APK\SystemUI\res, -M, D:\apktool\AutoAPKTool2.0.0\_INPUT_APK\SystemUI\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
daman215 said:
Hi i get this error when compiling
[*] D:\apktool\AutoAPKTool2.0.0\_INPUT_APK\SystemUI
recompiling D:\apktool\AutoAPKTool2.0.0\_INPUT_APK\SystemUI...
I: Smaling...
I: Building resources...
D:\apktool\AutoAPKTool2.0.0\_INPUT_APK\SystemUI\res\layout-port\status_bar_recent_item.xml:12: error: Error parsing XML: no element found
D:\apktool\AutoAPKTool2.0.0\_INPUT_APK\SystemUI\res\drawable\status_bar_recents_background.xml:1: error: Error parsing XML: not well-formed (invalid token)
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\doeboy\AppData\Local\Temp\APKTOOL8793273189672460438.tmp, -I, C:\Users\doeboy\apktool\framework\1.apk, -S, D:\apktool\AutoAPKTool2.0.0\_INPUT_APK\SystemUI\res, -M, D:\apktool\AutoAPKTool2.0.0\_INPUT_APK\SystemUI\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
at brut.androlib.Androlib.buildResources(Androlib.java:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:174)
at brut.apktool.Main.main(Main.java:59)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\doeboy\AppData\Local\Temp\APKTOOL8793273189672460438.tmp, -I, C:\Users\doeboy\apktool\framework\1.apk, -S, D:\apktool\AutoAPKTool2.0.0\_INPUT_APK\SystemUI\res, -M, D:\apktool\AutoAPKTool2.0.0\_INPUT_APK\SystemUI\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
Click to expand...
Click to collapse
Compiling guide works for me.
http://forum.xda-developers.com/showpost.php?p=25623934&postcount=215
daman215 said:
Hi i get this error when compiling
[*] D:\apktool\AutoAPKTool2.0.0\_INPUT_APK\SystemUI
recompiling D:\apktool\AutoAPKTool2.0.0\_INPUT_APK\SystemUI...
I: Smaling...
I: Building resources...
D:\apktool\AutoAPKTool2.0.0\_INPUT_APK\SystemUI\res\layout-port\status_bar_recent_item.xml:12: error: Error parsing XML: no element found
D:\apktool\AutoAPKTool2.0.0\_INPUT_APK\SystemUI\res\drawable\status_bar_recents_background.xml:1: error: Error parsing XML: not well-formed (invalid token)
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\doeboy\AppData\Local\Temp\APKTOOL8793273189672460438.tmp, -I, C:\Users\doeboy\apktool\framework\1.apk, -S, D:\apktool\AutoAPKTool2.0.0\_INPUT_APK\SystemUI\res, -M, D:\apktool\AutoAPKTool2.0.0\_INPUT_APK\SystemUI\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
at brut.androlib.Androlib.buildResources(Androlib.java:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:174)
at brut.apktool.Main.main(Main.java:59)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\doeboy\AppData\Local\Temp\APKTOOL8793273189672460438.tmp, -I, C:\Users\doeboy\apktool\framework\1.apk, -S, D:\apktool\AutoAPKTool2.0.0\_INPUT_APK\SystemUI\res, -M, D:\apktool\AutoAPKTool2.0.0\_INPUT_APK\SystemUI\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
Click to expand...
Click to collapse
I'm no expert, but I think the error is actually in your code.
Sent from my Galaxy Nexus using Tapatalk 2
it should work
are you using the right tools?
Hi...
since 12 hrs I try to get the center statusbar clock on my device...
{
"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"
}
but without success! I've used this guide
http://forum.xda-developers.com/showthread.php?t=1511544
.and this http://forum.xda-developers.com/showthread.php?t=1365810.
and one more.
http://forum.xda-developers.com/showthread.php?t=1561394&page=10it is either not compatible with our flagship, or I did something wrong. What else can do...???
Im on Omega V1.2
here what i have do!
status_bar.xml
HTML:
<?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:orientation="horizontal" android:id="@id/icons" android:paddingLeft="6.0dip" android:paddingRight="6.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent">
<LinearLayout android:orientation="horizontal" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0">
<com.android.systemui.statusbar.phone.CarrierLabel android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:textColor="@android:color/transparent" android:background="@drawable/carrier_logo" android:gravity="center_vertical" android:orientation="horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" android:layout_alignParentLeft="true" />
<com.android.systemui.statusbar.StatusBarIconView android:id="@id/moreIcon" android:visibility="gone" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="fill_parent" android:src="@drawable/stat_notify_more" />
<com.android.systemui.statusbar.phone.IconMerger android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/notificationIcons" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_alignParentLeft="true" />
</LinearLayout>
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/statusIcons" android:layout_width="wrap_content" android:layout_height="fill_parent" />
<LinearLayout android:gravity="center" android:orientation="horizontal" android:id="@id/signal_battery_cluster" android:paddingLeft="2.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent">
<include android:id="@id/signal_cluster" android:layout_width="wrap_content" android:layout_height="wrap_content" layout="@layout/signal_cluster_view" />
<ImageView android:id="@id/battery" android:paddingLeft="4.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</LinearLayout>
<LinearLayout android:gravity="center" android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="center" android:paddingTop="3.0px" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:layout_weight="1.0" />
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:id="@id/ticker" android:background="@drawable/status_bar_bg_tile" android:paddingLeft="6.0dip" android:animationCache="false" android:layout_width="fill_parent" android:layout_height="fill_parent">
<ImageSwitcher android:id="@id/tickerIcon" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:layout_marginRight="4.0dip">
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:scaleType="center" />
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:scaleType="center" />
</ImageSwitcher>
<com.android.systemui.statusbar.phone.TickerView android:id="@id/tickerText" android:paddingTop="2.0dip" android:paddingRight="10.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0">
<TextView android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
<TextView android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
</com.android.systemui.statusbar.phone.TickerView>
</LinearLayout>
</com.android.systemui.statusbar.phone.PhoneStatusBarView>
please look at attachments i have pull the systemUi.apk and decompiled status_bar.xml
Thanks for any Help
if it's Touch Wiz based..
you have to edit the tw_statusbar.xml don;t change the statusbar.xml
below are the changes required to make it center clock
after the below code
PHP:
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
copy paste the below as it is
PHP:
<LinearLayout android:gravity="center" android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="center" android:paddingTop="3.0px" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:layout_weight="1.0" />
</LinearLayout>
go and find the below line in middle of xml file and delete the entire line.
PHP:
<com.android.systemui.statusbar.policy.Clock android:
Now find the below line near ( to fix overlapping text over the clock)
PHP:
<LinearLayout android:orientation="horizontal" android:id="@id/ticker"
and add in the same line next to Ticker
PHP:
android:background="@drawable/status_bar_bg_tile"
so it looks like this
PHP:
<LinearLayout android:orientation="horizontal" android:id="@id/ticker" android:background="@drawable/status_bar_bg_tile" android:paddingLeft="6.0dip" android:animationCache="false" android:layout_width="fill_parent" android:layout_height="fill_parent">
compile it.. it will make the Clock center..
Thank you..!!) it Works...
I will add a carrier_logo but have the same Problem!!
i followed this tutorial
HOW TO PUT CUSTOM CARRIER LOGO IN STATUSBAR
but after compile and reboot the phone i loose the statusbar
ans when i try again and change the tw_staus_bar.xml
can't combile
Log error;
PHP:
|14.06.2012 -- 16:13:34.93|
--------------------------------------------------------------------------
java version "1.7.0_05"
Java(TM) SE Runtime Environment (build 1.7.0_05-b05)
Java HotSpot(TM) Client VM (build 23.1-b03, mixed mode, sharing)
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
C:\android-sdk-windows\APK-Manager\other\..\projects\SystemUI.apk\res\layout\tw_status_bar.xml:21: error: Error parsing XML: mismatched tag
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\Poza\AppData\Local\Temp\APKTOOL7137584651136169949.tmp, -I, C:\Users\Poza\apktool\framework\1.apk, -S, C:\android-sdk-windows\APK-Manager\other\..\projects\SystemUI.apk\res, -M, C:\android-sdk-windows\APK-Manager\other\..\projects\SystemUI.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
at brut.androlib.Androlib.buildResources(Androlib.java:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\Poza\AppData\Local\Temp\APKTOOL7137584651136169949.tmp, -I, C:\Users\Poza\apktool\framework\1.apk, -S, C:\android-sdk-windows\APK-Manager\other\..\projects\SystemUI.apk\res, -M, C:\android-sdk-windows\APK-Manager\other\..\projects\SystemUI.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
Thx for you help the. the cent clock is amazing and with carrier_logo it would be bombastig
Would be great if someone can make a flashable zip for omega (i use4.1)
Thanks..
sent from Omega S3-siyah-OC-UV
I have galaxy s3 on WanamLite 1.2 ROM
I don't know how to edit xml files on mac
please help me here
thank you
EdgarCupari said:
Thank you..!!) it Works...
I will add a carrier_logo but have the same Problem!!
i followed this tutorial
HOW TO PUT CUSTOM CARRIER LOGO IN STATUSBAR
but after compile and reboot the phone i loose the statusbar
ans when i try again and change the tw_staus_bar.xml
can't combile
Log error;
PHP:
|14.06.2012 -- 16:13:34.93|
--------------------------------------------------------------------------
java version "1.7.0_05"
Java(TM) SE Runtime Environment (build 1.7.0_05-b05)
Java HotSpot(TM) Client VM (build 23.1-b03, mixed mode, sharing)
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
C:\android-sdk-windows\APK-Manager\other\..\projects\SystemUI.apk\res\layout\tw_status_bar.xml:21: error: Error parsing XML: mismatched tag
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\Poza\AppData\Local\Temp\APKTOOL7137584651136169949.tmp, -I, C:\Users\Poza\apktool\framework\1.apk, -S, C:\android-sdk-windows\APK-Manager\other\..\projects\SystemUI.apk\res, -M, C:\android-sdk-windows\APK-Manager\other\..\projects\SystemUI.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
at brut.androlib.Androlib.buildResources(Androlib.java:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\Poza\AppData\Local\Temp\APKTOOL7137584651136169949.tmp, -I, C:\Users\Poza\apktool\framework\1.apk, -S, C:\android-sdk-windows\APK-Manager\other\..\projects\SystemUI.apk\res, -M, C:\android-sdk-windows\APK-Manager\other\..\projects\SystemUI.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
Thx for you help the. the cent clock is amazing and with carrier_logo it would be bombastig
Click to expand...
Click to collapse
Not sure what was the issue..
1. Have you added the Carrier_logo.png in drawable-hdpi folder.
2. do the same name change in Statusbar.xml also.
Note.. the guide is for Common ICS ROM.. for TW roms.. change only the correct part otherwise it will mess up the systemUI.
i think for Carrier_logo you need to change only the "android:background="@drawable/carrier_logo" without quotes.. just try with the approach..
GUIDE Sense 4.0 style Multitasking with Reflection on CM9/CM10/CM10.1 ( HDPI )
Hello guys, I want to share to you how to make Sense 4 recent apps style for CM9 / CM10 / CM10.1, I hope it is usefull for you :good::laugh:
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
- notepad++
- Tool for decompiling, : apkmanager/apktool/Virtous/apkmultitools/ or else
GUIDE :
for CyanogenMod 9, CyanogenMod 10, CyanogenMod 10.1
STEP -1
DECOMPILE, framework-res.apk
- /res/values/dimens.xml : change thumbnail size to..
Code:
<dimen name="thumbnail_height">[COLOR="Red"]267.0dip[/COLOR]</dimen>
<dimen name="thumbnail_width">[COLOR="Red"]168.0dip[/COLOR]</dimen>
Done, save and recompile
STEP - 2
DECOMPILE, SystemUI.apk
go to - smali/com/android/systemui/recent/RecentsPanelView.smali
find this line method :
Code:
.method private updateThumbnail(Lcom/android/systemui/recent/RecentsPanelView$ViewHolder;Landroid/graphics/Bitmap;ZZ)V
Delete that line until its .end method
Code:
.method private updateThumbnail(Lcom/android/systemui/recent/RecentsPanelView$ViewHolder;Landroid/graphics/Bitmap;ZZ)V
-
-
-
[B]DELETE UNTIL .end method[/B]
-
-
-
.end method
and replace with this all lines :
Code:
.method private updateThumbnail(Lcom/android/systemui/recent/RecentsPanelView$ViewHolder;Landroid/graphics/Bitmap;ZZ)V
.locals 30
.parameter "h"
.parameter "thumbnail"
.parameter "show"
.parameter "anim"
.prologue
.line 409
if-eqz p2, :cond_4
.line 413
const/16 v26, 0x4
.line 414
.local v26, reflectionGap:I
invoke-virtual/range {p2 .. p2}, Landroid/graphics/Bitmap;->getWidth()I
move-result v6
.line 415
.local v6, width:I
invoke-virtual/range {p2 .. p2}, Landroid/graphics/Bitmap;->getHeight()I
move-result v24
.line 417
.local v24, height:I
new-instance v8, Landroid/graphics/Matrix;
invoke-direct {v8}, Landroid/graphics/Matrix;-><init>()V
.line 418
.local v8, matrix:Landroid/graphics/Matrix;
const/high16 v3, 0x3f80
const/high16 v4, -0x4080
invoke-virtual {v8, v3, v4}, Landroid/graphics/Matrix;->preScale(FF)Z
.line 420
const/4 v4, 0x0
mul-int/lit8 v3, v24, 0x2
div-int/lit8 v5, v3, 0x3
div-int/lit8 v7, v24, 0x3
const/4 v9, 0x0
move-object/from16 v3, p2
invoke-static/range {v3 .. v9}, Landroid/graphics/Bitmap;->createBitmap(Landroid/graphics/Bitmap;IIIILandroid/graphics/Matrix;Z)Landroid/graphics/Bitmap;
move-result-object v27
.line 421
.local v27, reflectionImage:Landroid/graphics/Bitmap;
div-int/lit8 v3, v24, 0x3
add-int v3, v3, v24
sget-object v4, Landroid/graphics/Bitmap$Config;->ARGB_8888:Landroid/graphics/Bitmap$Config;
invoke-static {v6, v3, v4}, Landroid/graphics/Bitmap;->createBitmap(IILandroid/graphics/Bitmap$Config;)Landroid/graphics/Bitmap;
move-result-object v23
.line 423
.local v23, bitmapWithReflection:Landroid/graphics/Bitmap;
new-instance v9, Landroid/graphics/Canvas;
move-object/from16 v0, v23
invoke-direct {v9, v0}, Landroid/graphics/Canvas;-><init>(Landroid/graphics/Bitmap;)V
.line 424
.local v9, canvas:Landroid/graphics/Canvas;
const/4 v3, 0x0
const/4 v4, 0x0
const/4 v5, 0x0
move-object/from16 v0, p2
invoke-virtual {v9, v0, v3, v4, v5}, Landroid/graphics/Canvas;->drawBitmap(Landroid/graphics/Bitmap;FFLandroid/graphics/Paint;)V
.line 425
new-instance v14, Landroid/graphics/Paint;
invoke-direct {v14}, Landroid/graphics/Paint;-><init>()V
.line 426
.local v14, defaultPaint:Landroid/graphics/Paint;
const/4 v10, 0x0
move/from16 v0, v24
int-to-float v11, v0
int-to-float v12, v6
add-int/lit8 v3, v24, 0x4
int-to-float v13, v3
invoke-virtual/range {v9 .. v14}, Landroid/graphics/Canvas;->drawRect(FFFFLandroid/graphics/Paint;)V
.line 427
const/4 v3, 0x0
add-int/lit8 v4, v24, 0x4
int-to-float v4, v4
const/4 v5, 0x0
move-object/from16 v0, v27
invoke-virtual {v9, v0, v3, v4, v5}, Landroid/graphics/Canvas;->drawBitmap(Landroid/graphics/Bitmap;FFLandroid/graphics/Paint;)V
.line 429
new-instance v25, Landroid/graphics/Paint;
invoke-direct/range {v25 .. v25}, Landroid/graphics/Paint;-><init>()V
.line 430
.local v25, paint:Landroid/graphics/Paint;
new-instance v15, Landroid/graphics/LinearGradient;
const/16 v16, 0x0
invoke-virtual/range {p2 .. p2}, Landroid/graphics/Bitmap;->getHeight()I
move-result v3
int-to-float v0, v3
move/from16 v17, v0
const/16 v18, 0x0
invoke-virtual/range {v23 .. v23}, Landroid/graphics/Bitmap;->getHeight()I
move-result v3
add-int/lit8 v3, v3, 0x4
int-to-float v0, v3
move/from16 v19, v0
const v20, 0x70ffffff
const v21, 0xffffff
sget-object v22, Landroid/graphics/Shader$TileMode;->CLAMP:Landroid/graphics/Shader$TileMode;
invoke-direct/range {v15 .. v22}, Landroid/graphics/LinearGradient;-><init>(FFFFIILandroid/graphics/Shader$TileMode;)V
.line 433
.local v15, shader:Landroid/graphics/LinearGradient;
move-object/from16 v0, v25
invoke-virtual {v0, v15}, Landroid/graphics/Paint;->setShader(Landroid/graphics/Shader;)Landroid/graphics/Shader;
.line 434
new-instance v3, Landroid/graphics/PorterDuffXfermode;
sget-object v4, Landroid/graphics/PorterDuff$Mode;->DST_IN:Landroid/graphics/PorterDuff$Mode;
invoke-direct {v3, v4}, Landroid/graphics/PorterDuffXfermode;-><init>(Landroid/graphics/PorterDuff$Mode;)V
move-object/from16 v0, v25
invoke-virtual {v0, v3}, Landroid/graphics/Paint;->setXfermode(Landroid/graphics/Xfermode;)Landroid/graphics/Xfermode;
.line 435
const/16 v17, 0x0
move/from16 v0, v24
int-to-float v0, v0
move/from16 v18, v0
int-to-float v0, v6
move/from16 v19, v0
invoke-virtual/range {v23 .. v23}, Landroid/graphics/Bitmap;->getHeight()I
move-result v3
add-int/lit8 v3, v3, 0x4
int-to-float v0, v3
move/from16 v20, v0
move-object/from16 v16, v9
move-object/from16 v21, v25
invoke-virtual/range {v16 .. v21}, Landroid/graphics/Canvas;->drawRect(FFFFLandroid/graphics/Paint;)V
.line 438
move-object/from16 v0, p1
iget-object v3, v0, Lcom/android/systemui/recent/RecentsPanelView$ViewHolder;->thumbnailViewImage:Landroid/widget/ImageView;
move-object/from16 v0, v23
invoke-virtual {v3, v0}, Landroid/widget/ImageView;->setImageBitmap(Landroid/graphics/Bitmap;)V
.line 442
move-object/from16 v0, p1
iget-object v3, v0, Lcom/android/systemui/recent/RecentsPanelView$ViewHolder;->thumbnailViewImageBitmap:Landroid/graphics/Bitmap;
if-eqz v3, :cond_0
move-object/from16 v0, p1
iget-object v3, v0, Lcom/android/systemui/recent/RecentsPanelView$ViewHolder;->thumbnailViewImageBitmap:Landroid/graphics/Bitmap;
invoke-virtual {v3}, Landroid/graphics/Bitmap;->getWidth()I
move-result v3
invoke-virtual/range {p2 .. p2}, Landroid/graphics/Bitmap;->getWidth()I
move-result v4
if-ne v3, v4, :cond_0
move-object/from16 v0, p1
iget-object v3, v0, Lcom/android/systemui/recent/RecentsPanelView$ViewHolder;->thumbnailViewImageBitmap:Landroid/graphics/Bitmap;
invoke-virtual {v3}, Landroid/graphics/Bitmap;->getHeight()I
move-result v3
invoke-virtual/range {p2 .. p2}, Landroid/graphics/Bitmap;->getHeight()I
move-result v4
if-eq v3, v4, :cond_1
.line 445
:cond_0
move-object/from16 v0, p0
iget-boolean v3, v0, Lcom/android/systemui/recent/RecentsPanelView;->mFitThumbnailToXY:Z
if-eqz v3, :cond_5
.line 446
move-object/from16 v0, p1
iget-object v3, v0, Lcom/android/systemui/recent/RecentsPanelView$ViewHolder;->thumbnailViewImage:Landroid/widget/ImageView;
const/high16 v4, 0x41c8
invoke-virtual {v3, v4}, Landroid/widget/ImageView;->setRotationY(F)V
.line 455
:cond_1
:goto_0
if-eqz p3, :cond_3
move-object/from16 v0, p1
iget-object v3, v0, Lcom/android/systemui/recent/RecentsPanelView$ViewHolder;->thumbnailView:Landroid/view/View;
invoke-virtual {v3}, Landroid/view/View;->getVisibility()I
move-result v3
if-eqz v3, :cond_3
.line 456
if-eqz p4, :cond_2
.line 457
move-object/from16 v0, p1
iget-object v3, v0, Lcom/android/systemui/recent/RecentsPanelView$ViewHolder;->thumbnailView:Landroid/view/View;
move-object/from16 v0, p0
iget-object v4, v0, Lcom/android/systemui/recent/RecentsPanelView;->mContext:Landroid/content/Context;
const v5, 0x7f04000f
invoke-static {v4, v5}, Landroid/view/animation/AnimationUtils;->loadAnimation(Landroid/content/Context;I)Landroid/view/animation/Animation;
move-result-object v4
invoke-virtual {v3, v4}, Landroid/view/View;->setAnimation(Landroid/view/animation/Animation;)V
.line 460
:cond_2
move-object/from16 v0, p1
iget-object v3, v0, Lcom/android/systemui/recent/RecentsPanelView$ViewHolder;->thumbnailView:Landroid/view/View;
const/4 v4, 0x0
invoke-virtual {v3, v4}, Landroid/view/View;->setVisibility(I)V
.line 462
:cond_3
move-object/from16 v0, p2
move-object/from16 v1, p1
iput-object v0, v1, Lcom/android/systemui/recent/RecentsPanelView$ViewHolder;->thumbnailViewImageBitmap:Landroid/graphics/Bitmap;
.line 464
.end local v6 #width:I
.end local v8 #matrix:Landroid/graphics/Matrix;
.end local v9 #canvas:Landroid/graphics/Canvas;
.end local v14 #defaultPaint:Landroid/graphics/Paint;
.end local v15 #shader:Landroid/graphics/LinearGradient;
.end local v23 #bitmapWithReflection:Landroid/graphics/Bitmap;
.end local v24 #height:I
.end local v25 #paint:Landroid/graphics/Paint;
.end local v26 #reflectionGap:I
.end local v27 #reflectionImage:Landroid/graphics/Bitmap;
:cond_4
return-void
.line 448
.restart local v6 #width:I
.restart local v8 #matrix:Landroid/graphics/Matrix;
.restart local v9 #canvas:Landroid/graphics/Canvas;
.restart local v14 #defaultPaint:Landroid/graphics/Paint;
.restart local v15 #shader:Landroid/graphics/LinearGradient;
.restart local v23 #bitmapWithReflection:Landroid/graphics/Bitmap;
.restart local v24 #height:I
.restart local v25 #paint:Landroid/graphics/Paint;
.restart local v26 #reflectionGap:I
.restart local v27 #reflectionImage:Landroid/graphics/Bitmap;
:cond_5
new-instance v29, Landroid/graphics/Matrix;
invoke-direct/range {v29 .. v29}, Landroid/graphics/Matrix;-><init>()V
.line 449
.local v29, scaleMatrix:Landroid/graphics/Matrix;
move-object/from16 v0, p0
iget v3, v0, Lcom/android/systemui/recent/RecentsPanelView;->mThumbnailWidth:I
int-to-float v3, v3
invoke-virtual/range {p2 .. p2}, Landroid/graphics/Bitmap;->getWidth()I
move-result v4
int-to-float v4, v4
div-float v28, v3, v4
.line 450
.local v28, scale:F
move-object/from16 v0, v29
move/from16 v1, v28
move/from16 v2, v28
invoke-virtual {v0, v1, v2}, Landroid/graphics/Matrix;->setScale(FF)V
.line 451
move-object/from16 v0, p1
iget-object v3, v0, Lcom/android/systemui/recent/RecentsPanelView$ViewHolder;->thumbnailViewImage:Landroid/widget/ImageView;
sget-object v4, Landroid/widget/ImageView$ScaleType;->MATRIX:Landroid/widget/ImageView$ScaleType;
invoke-virtual {v3, v4}, Landroid/widget/ImageView;->setScaleType(Landroid/widget/ImageView$ScaleType;)V
.line 452
move-object/from16 v0, p1
iget-object v3, v0, Lcom/android/systemui/recent/RecentsPanelView$ViewHolder;->thumbnailViewImage:Landroid/widget/ImageView;
move-object/from16 v0, v29
invoke-virtual {v3, v0}, Landroid/widget/ImageView;->setImageMatrix(Landroid/graphics/Matrix;)V
goto :goto_0
.end method
NEXT STEP - 3
for STEP -3 CyanogenMod 9 go to POST #2,
for STEP -3 CyanogenMod 10 go to POST #3,
for STEP -3 CyanogenMod 10.1 go to POST #4,
CREDIT & THANKS
ARCO
SENIOR MEMBER LEGEND "EVILISTO"
for CyanogenMod 9
STEP - 3
- /res/values/bools.xml
Code:
<bool name="config_recents_thumbnail_image_fits_to_xy">[COLOR="Red"]true[/COLOR]</bool>
- /res/values/strings.xml
add this line to the end
Code:
<string name="recent_apps_title">Recent apps</string>
- /res/layout/status_bar_no_recent_apps.xml
Code:
<TextView android:textSize="20.0dip" [COLOR="Red"]android:textColor="@*android:color/white"[/COLOR] android:gravity="center_horizontal" android:layout_gravity="center" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/status_bar_no_recent_apps" />
- /res/layout-land/status_bar_recent_item.xml
Delete the whole lines, and replace with this :
Code:
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout android:paddingLeft="@dimen/status_bar_recents_item_padding" android:paddingRight="@dimen/status_bar_recents_item_padding" android:layout_width="wrap_content" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<RelativeLayout android:layout_gravity="center_vertical" android:id="@id/recent_item" android:paddingTop="@*android:dimen/status_bar_height" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerInParent="true">
<FrameLayout android:id="@id/app_thumbnail" android:background="#00000000" android:visibility="invisible" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="15.0dip" android:layout_marginRight="15.0dip" android:foreground="#00000000" android:layout_centerInParent="true">
<ImageView android:id="@id/app_thumbnail_image" android:layout_width="137.0dip" android:layout_height="217.0dip" android:layout_marginTop="10.0dip" android:layout_marginBottom="20.0dip" />
</FrameLayout>
<ImageView android:gravity="center_horizontal" android:id="@id/app_icon" android:layout_width="50.0dip" android:layout_height="wrap_content" android:layout_marginLeft="5.0dip" android:layout_marginTop="10.0dip" android:scaleType="centerInside" android:adjustViewBounds="true" android:maxWidth="35.0dip" android:maxHeight="35.0dip" android:layout_below="@id/app_thumbnail" />
<TextView android:textSize="@dimen/status_bar_recents_app_label_text_size" android:textColor="@color/status_bar_recents_app_label_color" android:ellipsize="marquee" android:gravity="center" android:id="@id/app_label" android:paddingTop="0.0dip" android:fadingEdge="none" android:fadingEdgeLength="0.0dip" android:layout_width="70.0dip" android:layout_height="fill_parent" android:scrollHorizontally="true" android:singleLine="true" android:layout_toRightOf="@id/app_icon" android:layout_below="@id/app_thumbnail" />
<TextView android:textSize="@dimen/status_bar_recents_app_description_text_size" android:ellipsize="marquee" android:id="@id/app_description" android:visibility="gone" android:fadingEdge="horizontal" android:fadingEdgeLength="@dimen/status_bar_recents_fading_edge_length" android:layout_width="@dimen/status_bar_recents_app_label_width" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/status_bar_recents_app_label_left_margin" android:layout_marginTop="40.0dip" android:scrollHorizontally="true" android:singleLine="true" android:layout_below="@id/app_label" android:layout_alignParentBottom="true" />
</RelativeLayout>
</FrameLayout>
- /res/layout-land/status_bar_recent_panel.xml
Delete the whole lines, and replace with this :
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.recent.RecentsPanelView android:id="@id/recents_root" android:background="@drawable/sense_land" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<FrameLayout android:id="@id/recents_bg_protect" android:background="@drawable/status_bar_recents_background_solid" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_centerVertical="true">
<com.android.systemui.recent.RecentsHorizontalScrollView android:layout_gravity="bottom|left|center" android:id="@id/recents_container" android:scrollbars="none" android:fadingEdge="none" android:fadingEdgeLength="0.0dip" android:clipChildren="false" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginRight="0.0dip" android:stackFromBottom="true" android:divider="@null">
<LinearLayout android:orientation="horizontal" android:id="@id/recents_linear_layout" android:clipChildren="false" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="wrap_content" />
</com.android.systemui.recent.RecentsHorizontalScrollView>
<TextView android:textSize="20.0dip" android:textColor="@color/status_bar_recents_app_label_color" android:gravity="center_horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="5.0dip" android:text="@string/recent_apps_title" />
</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>
- /res/layout-port/status_bar_recent_item.xml
Delete the whole lines, and replace with this :
Code:
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout android:paddingLeft="@dimen/status_bar_recents_item_padding" android:paddingRight="@dimen/status_bar_recents_item_padding" android:layout_width="wrap_content" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<RelativeLayout android:layout_gravity="center_vertical" android:id="@id/recent_item" android:paddingTop="@*android:dimen/status_bar_height" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerInParent="true">
<FrameLayout android:id="@id/app_thumbnail" android:background="#00000000" android:visibility="invisible" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="15.0dip" android:layout_marginRight="15.0dip" android:foreground="#00000000" android:layout_centerInParent="true">
<ImageView android:id="@id/app_thumbnail_image" android:layout_width="192.0dip" android:layout_height="305.0dip" android:layout_marginTop="15.0dip" android:layout_marginBottom="15.0dip" />
</FrameLayout>
<ImageView android:gravity="center_horizontal" android:id="@id/app_icon" android:layout_width="192.0dip" android:layout_height="wrap_content" android:layout_marginTop="27.0dip" android:scaleType="centerInside" android:adjustViewBounds="true" android:maxWidth="@dimen/status_bar_recents_app_icon_max_width" android:maxHeight="@dimen/status_bar_recents_app_icon_max_height" android:layout_below="@id/app_thumbnail" />
<TextView android:textSize="@dimen/status_bar_recents_app_label_text_size" android:textColor="@color/status_bar_recents_app_label_color" android:ellipsize="marquee" android:gravity="center_horizontal" android:id="@id/app_label" android:paddingTop="0.0dip" android:fadingEdge="none" android:fadingEdgeLength="0.0dip" android:layout_width="192.0dip" android:layout_height="fill_parent" android:layout_marginTop="7.0dip" android:scrollHorizontally="true" android:singleLine="true" android:layout_below="@id/app_icon" android:layout_alignParentBottom="true" />
<TextView android:textSize="@dimen/status_bar_recents_app_description_text_size" android:ellipsize="marquee" android:id="@id/app_description" android:fadingEdge="horizontal" android:fadingEdgeLength="@dimen/status_bar_recents_fading_edge_length" android:layout_width="@dimen/status_bar_recents_app_label_width" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/status_bar_recents_app_label_left_margin" android:layout_marginTop="30.0dip" android:scrollHorizontally="true" android:singleLine="true" android:layout_below="@id/app_label" android:layout_alignParentBottom="true" />
</RelativeLayout>
</FrameLayout>
- /res/layout-port/status_bar_recent_panel.xml
Delete the whole lines, and replace with this :
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.recent.RecentsPanelView android:id="@id/recents_root" android:background="@drawable/sense_port" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<FrameLayout android:id="@id/recents_bg_protect" android:background="@drawable/status_bar_recents_background_solid" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_centerVertical="true">
<com.android.systemui.recent.RecentsHorizontalScrollView android:layout_gravity="bottom|left|center" android:id="@id/recents_container" android:scrollbars="none" android:fadingEdge="none" android:fadingEdgeLength="0.0dip" android:clipChildren="false" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginRight="0.0dip" android:stackFromBottom="true" android:divider="@null">
<LinearLayout android:orientation="horizontal" android:id="@id/recents_linear_layout" android:clipChildren="false" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="wrap_content" />
</com.android.systemui.recent.RecentsHorizontalScrollView>
<TextView android:textSize="20.0dip" android:textColor="@color/status_bar_recents_app_label_color" android:gravity="center_horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="45.0dip" android:text="@string/recent_apps_title" />
</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>
- Next, Download this Sense4_resources
Exstract it and put it to
- res/drawable-nodpi
Done and recompile.
for CyanogenMod 10
STEP - 3
- /res/values/bools.xml
Code:
<bool name="config_recents_thumbnail_image_fits_to_xy">[COLOR="Red"]true[/COLOR]</bool>
- /res/values/strings.xml
add this line to the end
Code:
<string name="recent_apps_title">Recent apps</string>
- /res/layout/status_bar_no_recent_apps.xml
Code:
<TextView android:textSize="20.0dip" [COLOR="Red"]android:textColor="@*android:color/white"[/COLOR] android:gravity="center_horizontal" android:layout_gravity="center" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/status_bar_no_recent_apps" />
- /res/layout/status_bar_expanded_header.xml
before :
Code:
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" [COLOR="Red"]android:background="@drawable/notification_header_bg"[/COLOR] android:layout_width="fill_parent" android:layout_height="wrap_content" android:baselineAligned="false"
change to :
Code:
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" [COLOR="Red"]android:background="#ff000000"[/COLOR] android:layout_width="fill_parent" android:layout_height="wrap_content" android:baselineAligned="false"
- /res/layout-land/status_bar_recent_item.xml
Delete the whole lines, and replace with this :
Code:
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout android:paddingLeft="@dimen/status_bar_recents_item_padding" android:paddingRight="@dimen/status_bar_recents_item_padding" android:layout_width="wrap_content" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<RelativeLayout android:layout_gravity="center_vertical" android:id="@id/recent_item" android:paddingTop="@*android:dimen/status_bar_height" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerInParent="true">
<FrameLayout android:id="@id/app_thumbnail" android:background="#00000000" android:visibility="invisible" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="15.0dip" android:layout_marginRight="15.0dip" android:foreground="#00000000" android:layout_centerInParent="true">
<ImageView android:id="@id/app_thumbnail_image" android:layout_width="137.0dip" android:layout_height="217.0dip" android:layout_marginTop="10.0dip" android:layout_marginBottom="20.0dip" />
</FrameLayout>
<ImageView android:gravity="center_horizontal" android:id="@id/app_icon" android:layout_width="50.0dip" android:layout_height="wrap_content" android:layout_marginLeft="5.0dip" android:layout_marginTop="10.0dip" android:scaleType="centerInside" android:adjustViewBounds="true" android:maxWidth="35.0dip" android:maxHeight="35.0dip" android:layout_below="@id/app_thumbnail" />
<TextView android:textSize="@dimen/status_bar_recents_app_label_text_size" android:textColor="@color/status_bar_recents_app_label_color" android:ellipsize="marquee" android:gravity="center" android:id="@id/app_label" android:paddingTop="0.0dip" android:fadingEdge="none" android:fadingEdgeLength="0.0dip" android:layout_width="70.0dip" android:layout_height="fill_parent" android:scrollHorizontally="true" android:singleLine="true" android:layout_toRightOf="@id/app_icon" android:layout_below="@id/app_thumbnail" />
<TextView android:textSize="@dimen/status_bar_recents_app_description_text_size" android:ellipsize="marquee" android:id="@id/app_description" android:visibility="gone" android:fadingEdge="horizontal" android:fadingEdgeLength="@dimen/status_bar_recents_text_fading_edge_length" android:layout_width="@dimen/status_bar_recents_app_label_width" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/status_bar_recents_app_label_left_margin" android:layout_marginTop="40.0dip" android:scrollHorizontally="true" android:singleLine="true" android:layout_below="@id/app_label" android:layout_alignParentBottom="true" />
</RelativeLayout>
</FrameLayout>
- /res/layout-land/status_bar_recent_panel.xml
Delete the whole lines, and replace with this :
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.recent.RecentsPanelView android:id="@id/recents_root" android:background="@drawable/sense_land" android:layout_width="fill_parent" android:layout_height="fill_parent" systemui:recentItemLayout="@layout/status_bar_recent_item"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<View android:id="@id/recents_transition_background" android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="fill_parent" />
<FrameLayout android:id="@id/recents_bg_protect" android:background="#00000000" android:clipChildren="false" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_alignParentBottom="true">
<ImageView android:id="@id/recents_transition_placeholder_icon" android:visibility="invisible" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<com.android.systemui.recent.RecentsHorizontalScrollView android:layout_gravity="bottom|right|center" android:orientation="horizontal" android:id="@id/recents_container" android:scrollbars="none" android:fadingEdge="horizontal" android:fadingEdgeLength="@dimen/status_bar_recents_scroll_fading_edge_length" 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>
<TextView android:textSize="20.0dip" android:textColor="@color/status_bar_recents_app_label_color" android:gravity="center_horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="5.0dip" android:text="@string/recent_apps_title" />
<ImageView android:layout_gravity="top|right|center" android:id="@id/recents_clear" android:clickable="true" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_notify_clear" />
</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>
- /res/layout-port/status_bar_recent_item.xml
Delete the whole lines, and replace with this :
Code:
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout android:paddingLeft="@dimen/status_bar_recents_item_padding" android:paddingRight="@dimen/status_bar_recents_item_padding" android:layout_width="wrap_content" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<RelativeLayout android:layout_gravity="center_vertical" android:id="@id/recent_item" android:paddingTop="@*android:dimen/status_bar_height" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerInParent="true">
<FrameLayout android:id="@id/app_thumbnail" android:background="#00000000" android:visibility="invisible" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="15.0dip" android:layout_marginRight="15.0dip" android:foreground="#00000000" android:layout_centerInParent="true">
<ImageView android:id="@id/app_thumbnail_image" android:layout_width="192.0dip" android:layout_height="305.0dip" android:layout_marginTop="15.0dip" android:layout_marginBottom="15.0dip" />
</FrameLayout>
<View android:id="@id/recents_callout_line" android:background="@drawable/recents_callout_line" android:layout_width="@dimen/status_bar_recents_app_label_width" android:layout_height="1.0dip" android:layout_marginLeft="@dimen/status_bar_recents_app_label_left_margin" android:layout_marginTop="3.0dip" android:layout_marginRight="3.0dip" android:layout_toLeftOf="@id/app_thumbnail" android:layout_below="@id/app_label" android:layout_alignParentLeft="true" />
<ImageView android:gravity="center_horizontal" android:id="@id/app_icon" android:layout_width="192.0dip" android:layout_height="wrap_content" android:layout_marginTop="57.0dip" android:scaleType="centerInside" android:adjustViewBounds="true" android:maxWidth="@dimen/status_bar_recents_app_icon_max_width" android:maxHeight="@dimen/status_bar_recents_app_icon_max_height" android:layout_below="@id/app_thumbnail" />
<TextView android:textSize="@dimen/status_bar_recents_app_label_text_size" android:textColor="@color/status_bar_recents_app_label_color" android:ellipsize="marquee" android:gravity="center_horizontal" android:id="@id/app_label" android:paddingTop="0.0dip" android:fadingEdge="none" android:fadingEdgeLength="0.0dip" android:layout_width="192.0dip" android:layout_height="fill_parent" android:layout_marginTop="7.0dip" android:scrollHorizontally="true" android:singleLine="true" android:layout_below="@id/app_icon" android:layout_alignParentBottom="true" />
<TextView android:textSize="@dimen/status_bar_recents_app_description_text_size" android:ellipsize="marquee" android:id="@id/app_description" android:fadingEdge="horizontal" android:fadingEdgeLength="@dimen/status_bar_recents_text_fading_edge_length" android:layout_width="@dimen/status_bar_recents_app_label_width" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/status_bar_recents_app_label_left_margin" android:layout_marginTop="40.0dip" android:scrollHorizontally="true" android:singleLine="true" android:layout_below="@id/app_label" android:layout_alignParentBottom="true" />
</RelativeLayout>
</FrameLayout>
- /res/layout-port/status_bar_recent_panel.xml
Delete the whole lines, and replace with this :
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.recent.RecentsPanelView android:id="@id/recents_root" android:background="@drawable/sense_port" android:layout_width="fill_parent" android:layout_height="fill_parent" systemui:recentItemLayout="@layout/status_bar_recent_item"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<View android:id="@id/recents_transition_background" android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="fill_parent" />
<FrameLayout android:id="@id/recents_bg_protect" android:background="#00000000" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_centerVertical="true">
<ImageView android:id="@id/recents_transition_placeholder_icon" android:visibility="invisible" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<com.android.systemui.recent.RecentsHorizontalScrollView android:layout_gravity="bottom|left|center" android:id="@id/recents_container" android:scrollbars="none" android:fadingEdge="none" android:fadingEdgeLength="0.0dip" android:clipChildren="false" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginRight="0.0dip" android:stackFromBottom="true" android:divider="@null">
<LinearLayout android:orientation="horizontal" android:id="@id/recents_linear_layout" android:clipChildren="false" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="wrap_content" />
</com.android.systemui.recent.RecentsHorizontalScrollView>
<TextView android:textSize="20.0dip" android:textColor="@color/status_bar_recents_app_label_color" android:gravity="center_horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="43.0dip" android:text="@string/recent_apps_title" />
<ImageView android:layout_gravity="top|right|center" android:id="@id/recents_clear" android:clickable="true" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_notify_clear" />
</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>
- Next, Download this Sense4_resources
Exstract it and put it to
- res/drawable-nodpi
Done and recompile.
for CyanogenMod 10.1
STEP - 3
- /res/values/bools.xml
Code:
<bool name="config_recents_thumbnail_image_fits_to_xy">[COLOR="Red"]true[/COLOR]</bool>
- /res/values/strings.xml
add this line to the end
Code:
<string name="recent_apps_title">Recent apps</string>
- /res/values/ids.xml
add this line to the end
Code:
<item type="id" name="recents_transition_background" />
<item type="id" name="recents_transition_placeholder_icon" />
- /res/layout/status_bar_no_recent_apps
Code:
<TextView android:textSize="20.0dip" android:textColor="@*android:color/[COLOR="Red"]white[/COLOR]" android:gravity="center_horizontal" android:layout_gravity="center" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/status_bar_no_recent_apps" />
- /res/layout/status_bar_recent_item.xml
Delete the whole lines, and replace with this :
Code:
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout android:paddingLeft="@dimen/status_bar_recents_item_padding" android:paddingRight="@dimen/status_bar_recents_item_padding" android:layout_width="wrap_content" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<RelativeLayout android:layout_gravity="center_vertical" android:id="@id/recent_item" android:paddingTop="@*android:dimen/status_bar_height" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerInParent="true">
<FrameLayout android:id="@id/app_thumbnail" android:background="#00000000" android:visibility="invisible" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="15.0dip" android:layout_marginRight="15.0dip" android:foreground="#00000000" android:layout_centerInParent="true">
<ImageView android:id="@id/app_thumbnail_image" android:layout_width="192.0dip" android:layout_height="305.0dip" android:layout_marginTop="25.0dip" android:layout_marginBottom="15.0dip" />
</FrameLayout>
<View android:id="@id/recents_callout_line" android:background="@drawable/recents_callout_line" android:layout_width="@dimen/status_bar_recents_app_label_width" android:layout_height="1.0dip" android:layout_marginLeft="@dimen/status_bar_recents_app_label_left_margin" android:layout_marginTop="3.0dip" android:layout_marginRight="3.0dip" android:layout_toLeftOf="@id/app_thumbnail" android:layout_below="@id/app_label" android:layout_alignParentLeft="true" />
<ImageView android:gravity="center_horizontal" android:id="@id/app_icon" android:layout_width="192.0dip" android:layout_height="wrap_content" android:layout_marginTop="27.0dip" android:scaleType="centerInside" android:adjustViewBounds="true" android:maxWidth="@dimen/status_bar_recents_app_icon_max_width" android:maxHeight="@dimen/status_bar_recents_app_icon_max_height" android:layout_below="@id/app_thumbnail" />
<TextView android:textSize="@dimen/status_bar_recents_app_label_text_size" android:textColor="@color/status_bar_recents_app_label_color" android:ellipsize="marquee" android:gravity="center_horizontal" android:id="@id/app_label" android:paddingTop="0.0dip" android:fadingEdge="none" android:fadingEdgeLength="0.0dip" android:layout_width="192.0dip" android:layout_height="fill_parent" android:layout_marginTop="7.0dip" android:scrollHorizontally="true" android:singleLine="true" android:layout_below="@id/app_icon" android:layout_alignParentBottom="true" />
<TextView android:textSize="@dimen/status_bar_recents_app_description_text_size" android:ellipsize="marquee" android:id="@id/app_description" android:fadingEdge="horizontal" android:fadingEdgeLength="@dimen/status_bar_recents_text_fading_edge_length" android:layout_width="@dimen/status_bar_recents_app_label_width" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/status_bar_recents_app_label_left_margin" android:layout_marginTop="30.0dip" android:scrollHorizontally="true" android:singleLine="true" android:layout_below="@id/app_label" android:layout_alignParentBottom="true" />
</RelativeLayout>
</FrameLayout>
- /res/layout/status_bar_recent_panel.xml
Delete the whole lines, and replace with this :
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.recent.RecentsPanelView android:id="@id/recents_root" android:background="@drawable/sense_port" android:layout_width="fill_parent" android:layout_height="fill_parent" systemui:recentItemLayout="@layout/status_bar_recent_item"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<View android:id="@id/recents_transition_background" android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="fill_parent" />
<FrameLayout android:id="@id/recents_bg_protect" android:background="#00000000" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_centerVertical="true">
<ImageView android:id="@id/recents_transition_placeholder_icon" android:visibility="invisible" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<com.android.systemui.recent.RecentsHorizontalScrollView android:layout_gravity="bottom|left|center" android:id="@id/recents_container" android:scrollbars="none" android:fadingEdge="none" android:fadingEdgeLength="0.0dip" android:clipChildren="false" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginRight="0.0dip" android:stackFromBottom="true" android:divider="@null">
<LinearLayout android:orientation="horizontal" android:id="@id/recents_linear_layout" android:clipChildren="false" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="wrap_content" />
</com.android.systemui.recent.RecentsHorizontalScrollView>
<TextView android:textSize="18.0dip" android:textColor="@color/status_bar_recents_app_label_color" android:gravity="center_horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="43.0dip" android:text="@string/recent_apps_title" />
<ImageView android:layout_gravity="top|right|center" android:id="@id/recents_clear" android:clickable="true" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_notify_clear" />
</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>
- /res/layout-land/status_bar_recent_item.xml
Delete the whole lines, and replace with this :
Code:
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout android:paddingLeft="@dimen/status_bar_recents_item_padding" android:paddingRight="@dimen/status_bar_recents_item_padding" android:layout_width="wrap_content" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<RelativeLayout android:layout_gravity="center_vertical" android:id="@id/recent_item" android:paddingTop="@*android:dimen/status_bar_height" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerInParent="true">
<FrameLayout android:id="@id/app_thumbnail" android:background="#00000000" android:visibility="invisible" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="15.0dip" android:layout_marginRight="15.0dip" android:foreground="#00000000" android:layout_centerInParent="true">
<ImageView android:id="@id/app_thumbnail_image" android:layout_width="137.0dip" android:layout_height="217.0dip" android:layout_marginTop="10.0dip" android:layout_marginBottom="20.0dip" />
</FrameLayout>
<ImageView android:gravity="center_horizontal" android:id="@id/app_icon" android:layout_width="50.0dip" android:layout_height="wrap_content" android:layout_marginLeft="5.0dip" android:layout_marginTop="10.0dip" android:scaleType="centerInside" android:adjustViewBounds="true" android:maxWidth="35.0dip" android:maxHeight="35.0dip" android:layout_below="@id/app_thumbnail" />
<TextView android:textSize="@dimen/status_bar_recents_app_label_text_size" android:textColor="@color/status_bar_recents_app_label_color" android:ellipsize="marquee" android:gravity="center" android:id="@id/app_label" android:paddingTop="0.0dip" android:fadingEdge="none" android:fadingEdgeLength="0.0dip" android:layout_width="70.0dip" android:layout_height="fill_parent" android:scrollHorizontally="true" android:singleLine="true" android:layout_toRightOf="@id/app_icon" android:layout_below="@id/app_thumbnail" />
<TextView android:textSize="@dimen/status_bar_recents_app_description_text_size" android:ellipsize="marquee" android:id="@id/app_description" android:visibility="gone" android:fadingEdge="horizontal" android:fadingEdgeLength="@dimen/status_bar_recents_text_fading_edge_length" android:layout_width="@dimen/status_bar_recents_app_label_width" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/status_bar_recents_app_label_left_margin" android:layout_marginTop="40.0dip" android:scrollHorizontally="true" android:singleLine="true" android:layout_below="@id/app_label" android:layout_alignParentBottom="true" />
</RelativeLayout>
</FrameLayout>
- /res/layout-land/status_bar_recent_panel.xml
Delete the whole lines, and replace with this :
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.recent.RecentsPanelView android:id="@id/recents_root" android:background="@drawable/sense_land" android:layout_width="fill_parent" android:layout_height="fill_parent" systemui:recentItemLayout="@layout/status_bar_recent_item"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<View android:id="@id/recents_transition_background" android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="fill_parent" />
<FrameLayout android:id="@id/recents_bg_protect" android:background="#00000000" android:clipChildren="false" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_alignParentBottom="true">
<ImageView android:id="@id/recents_transition_placeholder_icon" android:visibility="invisible" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<com.android.systemui.recent.RecentsHorizontalScrollView android:layout_gravity="bottom|right|center" android:orientation="horizontal" android:id="@id/recents_container" android:scrollbars="none" android:fadingEdge="horizontal" android:fadingEdgeLength="@dimen/status_bar_recents_scroll_fading_edge_length" 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>
<TextView android:textSize="18.0dip" android:textColor="@color/status_bar_recents_app_label_color" android:gravity="center_horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="5.0dip" android:text="@string/recent_apps_title" />
<ImageView android:layout_gravity="top|right|center" android:id="@id/recents_clear" android:clickable="true" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_notify_clear" />
</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>
- Next, Download this Sense4_resources
Exstract it and put it to
- res/drawable-nodpi
Done and recompile.
Reserved 4
thank you very much for this guide.
i'm trying to apply it on cm9 but when i decompile systemui.apk with apktools i get some errors and in the decompiled folder many files are missing. So I can't go further. How can solve that?
thanks again
s.goten said:
thank you very much for this guide.
i'm trying to apply it on cm9 but when i decompile systemui.apk with apktools i get some errors and in the decompiled folder many files are missing. So I can't go further. How can solve that?
thanks again
Click to expand...
Click to collapse
can you post the logchat ?
so we can see which error
here is the log
thanks for your support
s.goten said:
here is the log
thanks for your support
Click to expand...
Click to collapse
have you install the correct frmaewrok-res.apk
Adi Aisiteru Reborn said:
have you install the correct frmaewrok-res.apk
Click to expand...
Click to collapse
solved!!!! adding the framework-res path it works!!!
now i'm trying to follow the guide
thank you very much
---------- Post added at 05:12 PM ---------- Previous post was at 04:23 PM ----------
done! you're guide works great on cm9 rc9.
just a question: when I open recent apps screen, it happens that appears a little swipe animation of the apps on the left.
it's a nice effect but i don't know if it's normal or just the result of something wrong in my steps for modding system files.
s.goten said:
solved!!!! adding the framework-res path it works!!!
now i'm trying to follow the guide
thank you very much
---------- Post added at 05:12 PM ---------- Previous post was at 04:23 PM ----------
done! you're guide works great on cm9 rc9.
just a question: when I open recent apps screen, it happens that appears a little swipe animation of the apps on the left.
it's a nice effect but i don't know if it's normal or just the result of something wrong in my steps for modding system files.
Click to expand...
Click to collapse
Did you mean They dancing .lolls
Yahh , thats normal n nice
Sent from my GT-I8150 using xda app-developers app
it's my LogChat. can you fix it?
Ok, i did all this and when try to open recents, it force closes. Will you help if i attach SystemUi.apk??
Error
Hi, I can't compile systemui.apk. I have installed the correct framework-res.apk
My log said aproblem releated to AndroidManifest.xml (I can't upload the picture)
Some clue?
Thanks in advanced. It's a Systemui.apk from a SlimBean 3.1.1 (android 4.1.2).
Tnx for the guide it worked like a charm.:laugh:
Thanks, I like this mod
GT-I8150 cihazımdan Tapatalk 2 ile gönderildi
I'm trying your MOD on Nexus 4, CM10.1, but I'm getting a wierd result... the thumbnails are a bit small, and the screen is "ending" before its edge.
What values can I try to make the thumbnails larger, and to fix that ending (or whatever it's called)?
Thanks!
gasparzim said:
I'm trying your MOD on Nexus 4, CM10.1, but I'm getting a wierd result... the thumbnails are a bit small, and the screen is "ending" before its edge.
What values can I try to make the thumbnails larger, and to fix that ending (or whatever it's called)?
Thanks!
Click to expand...
Click to collapse
I guess that's becoz of your device is XHDPI and not HDPI as stated on OP
If that so, you must resize all dimens/height/weight of the guide in all XML.
But no need for the smali
Good luck
Sent from my GT-I8150 using xda app-developers app
Adi Aisiteru Reborn said:
I guess that's becoz of your device is XHDPI and not HDPI as stated on OP
If that so, you must resize all dimens/height/weight of the guide in all XML.
But no need for the smali
Good luck
Sent from my GT-I8150 using xda app-developers app
Click to expand...
Click to collapse
Thanks, I will give it a try
Thanks! It work perfectly on CM10.1
(some theming )
Hey guys, i just modded our stock kitkat rom based on asian to remove the carrier label and cell broadcast from statusbar. I will share my flashable zip and also the method to do this. My big thanks to @siddarth.gtm and @ vikasb32 for helping me out on this!!
Code:
[SIZE="4"][COLOR="Red"]This mod is based on stock deodexed rom and wont work on odexed ones![/COLOR][/SIZE]
How to do:
1.Decompile ur systemui.apk and open res/layout/msim_signal_cluster_view.xml (to remove SIM numbers in statusbar):
2.Now find this line:
Code:
<TextView android:layout_gravity="bottom|right|center" android:id="@id/mobile_slot_label" android:layout_width="wrap_content" android:layout_height="wrap_content" style="@style/TextAppearance.StatusBar.SimSlotLabel" />
and change to:
Code:
<TextView android:layout_gravity="bottom|right|center" android:id="@id/mobile_slot_label" android:layout_width="[COLOR="Red"]0.0dip[/COLOR]" android:layout_height="[COLOR="Red"]0.0dip[/COLOR]" style="@style/TextAppearance.StatusBar.SimSlotLabel" />
also change:
Code:
<TextView android:layout_gravity="bottom|right|center" android:id="@id/mobile_slot_label_2" android:layout_width="wrap_content" android:layout_height="wrap_content" style="@style/TextAppearance.StatusBar.SimSlotLabel" />
to:
Code:
<TextView android:layout_gravity="bottom|right|center" android:id="@id/mobile_slot_label_2" android:layout_width="[COLOR="Red"]0.0dip[/COLOR]" android:layout_height="[COLOR="Red"]0.0dip[/COLOR]" style="@style/TextAppearance.StatusBar.SimSlotLabel" />
3.Now for the carrier label part open res/layout/statusbar_expanded.xml:
find these lines and change the width and height like the above method to 0.0dip:
Code:
[LIST=1]
[*]<TextView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Network.SimSlotLabel" android:gravity="center" android:id="@id/carrier_slot_id" android:paddingRight="3.0dip" android:visibility="gone"
[*]<TextView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Network" android:gravity="center" android:id="@id/carrier_label" android:visibility="gone"
[*]<TextView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Network" android:ellipsize="marquee" android:gravity="center" android:layout_gravity="center_horizontal" android:id="@id/cellbroadcastLabel" android:focusable="true" android:focusableInTouchMode="true" android:visibility="gone"
[/LIST]
and also for
Code:
[LIST=1]
[*]<TextView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Network.SimSlotLabel" android:gravity="center" android:id="@id/carrier_slot_id_2" android:paddingRight="3.0dip" android:visibility="gone"
[*]<TextView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Network" android:gravity="center" android:id="@id/carrier_label_2" android:visibility="gone"
[*]<TextView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Network" android:ellipsize="marquee" android:gravity="center" android:layout_gravity="center_horizontal" android:id="@id/cellbroadcastLabel_2" android:focusable="true" android:focusableInTouchMode="true" android:visibility="gone"
[/LIST]
4.Recompile and ur done!!
Here is the Flashable zip for deodexed roms
CarrierLabel&SIM Number.zip
Click to expand...
Click to collapse
I dont ask for donations but please do press thanks button a click of a button is never gonna hurt!!
yeshwanthvshenoy said:
Hey guys, i just modded our stock kitkat rom based on asian to remove the carrier label and cell broadcast from statusbar. I will share my flashable zip and also the method to do this. My big thanks to @siddarth.gtm and @ vikasb32 for helping me out on this!!
Code:
[SIZE="4"][COLOR="Red"]This mod is based on stock deodexed rom and wont work on odexed ones![/COLOR][/SIZE]
How to do:
1.Decompile ur systemui.apk and open res/layout/msim_signal_cluster_view.xml (to remove SIM numbers in statusbar):
2.Now find this line:
Code:
<TextView android:layout_gravity="bottom|right|center" android:id="@id/mobile_slot_label" android:layout_width="wrap_content" android:layout_height="wrap_content" style="@style/TextAppearance.StatusBar.SimSlotLabel" />
and change to:
Code:
<TextView android:layout_gravity="bottom|right|center" android:id="@id/mobile_slot_label" android:layout_width="[COLOR="Red"]0.0dip[/COLOR]" android:layout_height="[COLOR="Red"]0.0dip[/COLOR]" style="@style/TextAppearance.StatusBar.SimSlotLabel" />
also change:
Code:
<TextView android:layout_gravity="bottom|right|center" android:id="@id/mobile_slot_label_2" android:layout_width="wrap_content" android:layout_height="wrap_content" style="@style/TextAppearance.StatusBar.SimSlotLabel" />
to:
Code:
<TextView android:layout_gravity="bottom|right|center" android:id="@id/mobile_slot_label_2" android:layout_width="[COLOR="Red"]0.0dip[/COLOR]" android:layout_height="[COLOR="Red"]0.0dip[/COLOR]" style="@style/TextAppearance.StatusBar.SimSlotLabel" />
3.Now for the carrier label part open res/layout/statusbar_expanded.xml:
find these lines and change the width and height like the above method to 0.0dip:
Code:
[LIST=1]
[*]<TextView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Network.SimSlotLabel" android:gravity="center" android:id="@id/carrier_slot_id" android:paddingRight="3.0dip" android:visibility="gone"
[*]<TextView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Network" android:gravity="center" android:id="@id/carrier_label" android:visibility="gone"
[*]<TextView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Network" android:ellipsize="marquee" android:gravity="center" android:layout_gravity="center_horizontal" android:id="@id/cellbroadcastLabel" android:focusable="true" android:focusableInTouchMode="true" android:visibility="gone"
[/LIST]
and also for
Code:
[LIST=1]
[*]<TextView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Network.SimSlotLabel" android:gravity="center" android:id="@id/carrier_slot_id_2" android:paddingRight="3.0dip" android:visibility="gone"
[*]<TextView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Network" android:gravity="center" android:id="@id/carrier_label_2" android:visibility="gone"
[*]<TextView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Network" android:ellipsize="marquee" android:gravity="center" android:layout_gravity="center_horizontal" android:id="@id/cellbroadcastLabel_2" android:focusable="true" android:focusableInTouchMode="true" android:visibility="gone"
[/LIST]
4.Recompile and ur done!!
I dont ask for donations but please do press thanks button a click of a button is never gonna hurt!!
Click to expand...
Click to collapse
Screenshot?
Sent from my XT1033 using Tapatalk
rajibie said:
Screenshot?
Click to expand...
Click to collapse
thanks for reminding i have made the attachment check OP and a kind request please dont quote full OP just quote the author is enough! and btw kindly hit the thanks button!
yeshwanthvshenoy said:
Hey guys, i just modded our stock kitkat rom based on asian to remove the carrier label and cell broadcast from statusbar. I will share my flashable zip and also the method to do this. My big thanks to @siddarth.gtm and @ vikasb32 for helping me out on this!!
Code:
[SIZE="4"][COLOR="Red"]This mod is based on stock deodexed rom and wont work on odexed ones![/COLOR][/SIZE]
How to do:
1.Decompile ur systemui.apk and open res/layout/msim_signal_cluster_view.xml (to remove SIM numbers in statusbar):
2.Now find this line:
Code:
<TextView android:layout_gravity="bottom|right|center" android:id="@id/mobile_slot_label" android:layout_width="wrap_content" android:layout_height="wrap_content" style="@style/TextAppearance.StatusBar.SimSlotLabel" />
and change to:
Code:
<TextView android:layout_gravity="bottom|right|center" android:id="@id/mobile_slot_label" android:layout_width="[COLOR="Red"]0.0dip[/COLOR]" android:layout_height="[COLOR="Red"]0.0dip[/COLOR]" style="@style/TextAppearance.StatusBar.SimSlotLabel" />
also change:
Code:
<TextView android:layout_gravity="bottom|right|center" android:id="@id/mobile_slot_label_2" android:layout_width="wrap_content" android:layout_height="wrap_content" style="@style/TextAppearance.StatusBar.SimSlotLabel" />
to:
Code:
<TextView android:layout_gravity="bottom|right|center" android:id="@id/mobile_slot_label_2" android:layout_width="[COLOR="Red"]0.0dip[/COLOR]" android:layout_height="[COLOR="Red"]0.0dip[/COLOR]" style="@style/TextAppearance.StatusBar.SimSlotLabel" />
3.Now for the carrier label part open res/layout/statusbar_expanded.xml:
find these lines and change the width and height like the above method to 0.0dip:
Code:
[LIST=1]
[*]<TextView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Network.SimSlotLabel" android:gravity="center" android:id="@id/carrier_slot_id" android:paddingRight="3.0dip" android:visibility="gone"
[*]<TextView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Network" android:gravity="center" android:id="@id/carrier_label" android:visibility="gone"
[*]<TextView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Network" android:ellipsize="marquee" android:gravity="center" android:layout_gravity="center_horizontal" android:id="@id/cellbroadcastLabel" android:focusable="true" android:focusableInTouchMode="true" android:visibility="gone"
[/LIST]
and also for
Code:
[LIST=1]
[*]<TextView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Network.SimSlotLabel" android:gravity="center" android:id="@id/carrier_slot_id_2" android:paddingRight="3.0dip" android:visibility="gone"
[*]<TextView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Network" android:gravity="center" android:id="@id/carrier_label_2" android:visibility="gone"
[*]<TextView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Network" android:ellipsize="marquee" android:gravity="center" android:layout_gravity="center_horizontal" android:id="@id/cellbroadcastLabel_2" android:focusable="true" android:focusableInTouchMode="true" android:visibility="gone"
[/LIST]
4.Recompile and ur done!!
I dont ask for donations but please do press thanks button a click of a button is never gonna hurt!!
Click to expand...
Click to collapse
Thanks for the DIY steps, it's rare to find a post with a DIY and I enjoyed it. You have my thanks :good: :victory:
Can u mention how to remove sim logo ? I have broken sim no1 so i cant use it i want to disable it for ever =) >>
thanks in advance !
Odexed Please
Odexed When????
Romiui said:
Can u mention how to remove sim logo ? I have broken sim no1 so i cant use it i want to disable it for ever =) >>
thanks in advance !
Click to expand...
Click to collapse
u want to disable sim 2 signal icon? there is already a mod for that check this thread
yeshwanthvshenoy said:
u want to disable sim 2 signal icon? there is already a mod for that check this thread
Click to expand...
Click to collapse
I read this !!
I said I need to disable sim 1 not sim 2
Sim 2 already running in my phone
The only problem with sim 1 broken !!!
Romiui said:
I read this !!
I said I need to disable sim 1 not sim 2
Sim 2 already running in my phone
The only problem with sim 1 broken !!!
Click to expand...
Click to collapse
my guide says exactly that to remove both sims if u do it for one then only one will be removed from statusbar bro!
Do it yourself
Romiui said:
I read this !!
I said I need to disable sim 1 not sim 2
Sim 2 already running in my phone
The only problem with sim 1 broken !!!
Click to expand...
Click to collapse
in msim_signal_cluster_view.xml
Code:
<ImageView android:layout_gravity="bottom|left|center" android:id="@id/mobile_sim" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:layout_gravity="bottom|right|center" android:id="@id/mobile_signal" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<com.android.systemui.statusbar.AnimatedImageView android:layout_gravity="bottom|right|center" android:id="@id/mobile_roaming" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:layout_gravity="bottom|left|center" android:id="@id/mobile_type" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<com.android.systemui.statusbar.AnimatedImageView android:layout_gravity="bottom|left|center" android:id="@id/mobile_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" />
change all wrap_content to 0.0dip
sidharth.gtm said:
in msim_signal_cluster_view.xml
Code:
<ImageView android:layout_gravity="bottom|left|center" android:id="@id/mobile_sim" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:layout_gravity="bottom|right|center" android:id="@id/mobile_signal" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<com.android.systemui.statusbar.AnimatedImageView android:layout_gravity="bottom|right|center" android:id="@id/mobile_roaming" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:layout_gravity="bottom|left|center" android:id="@id/mobile_type" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<com.android.systemui.statusbar.AnimatedImageView android:layout_gravity="bottom|left|center" android:id="@id/mobile_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" />
change all wrap_content to 0.0dip
Click to expand...
Click to collapse
aha !! thats called solution =d ..
I'll Try it today !
Thank u
Edit: working Perfect But still there is gap ! How to remove it =D ..
i believe its here some where :
<View android:id="@id/spacer" android:layout_width="8.0dip" android:layout_height="8.0dip" />
<FrameLayout android:layout_width="wrap_content" android:layout_height="wrap_content">
<View android:visibility="invisible" android:layout_width="6.0dip" android:layout_height="6.0dip" />
<FrameLayout android:id="@id/mobile_combo_sub2" android:layout_width="wrap_content" android:layout_height="wrap_content">
Click to expand...
Click to collapse
How to open xml file and edit?????
I tried notepad,wordpad and few others software but i failed to view the contents of the XML file please help
Bhavyasaran said:
I tried notepad,wordpad and few others software but i failed to view the contents of the XML file please help
Click to expand...
Click to collapse
try notepad ++
HELP ME
I was unable to remove 2nd sim icon in CRdroid rom this is the best available rom for motorola moto g XT1033...........please modify systemUI.APK for this rom........http://forum.xda-developers.com/sho...ying::crying::crying::crying::crying::crying:
Bhavyasaran said:
I was unable to remove 2nd sim icon in CRdroid rom this is the best available rom for motorola moto g XT1033...........please modify systemUI.APK for this rom........http://forum.xda-developers.com/sho...ying::crying::crying::crying::crying::crying:
Click to expand...
Click to collapse
send the systemui i ll do it for u
http://d-h.st/hjH ................ remove 2nd sim icon and number from 1st sim icon...........thank you my friend..
http://d-h.st/6lF ................ remove 2nd sim icon and number from 1st sim icon...........thank you my friend..
Bhavyasaran said:
http://d-h.st/hjH ................ remove 2nd sim icon and number from 1st sim icon...........thank you my friend..
Click to expand...
Click to collapse
yeshwanthvshenoy said:
send the systemui i ll do it for u
Click to expand...
Click to collapse
Hey bro, can you plz remove de sim1 and 2 numbers in CM 11? The SystemUI.apk is attached
Bhavyasaran said:
http://d-h.st/6lF ................ remove 2nd sim icon and number from 1st sim icon...........thank you my friend..
Click to expand...
Click to collapse
nArdow said:
Hey bro, can you plz remove de sim1 and 2 numbers in CM 11? The SystemUI.apk is attached
Click to expand...
Click to collapse
i ll do both on june 14th guys exams so kinda busy
yeshwanthvshenoy said:
i ll do both on june 14th guys exams so kinda busy
Click to expand...
Click to collapse
All right bro, thanks a lot! I'll be waiting =P
Sent from my Moto G using XDA Free mobile app