This will guide will show you how to replace the touchwiz signal style with that of standard android AOSP style.
Preview
{
"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"
}
I assume the reader has basic knowledge of de-compiling and recompiling APK files, if you do not know how to do this use the search feature on XDA as this is covered in a ton of post's and really isn't that hard to do with some patience.
Step 1) Decompile systemui.apk
Step 2) Navigate to
HTML:
res/layout/tw_signal_cluster_view.xml
Step 3) Delete everything here and replace it with this
HTML:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.SignalClusterView android:orientation="horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content"
xmlns:android="http://schemas.android.com/apk/res/android">
<FrameLayout android:id="@id/wifi_combo" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="-6.0dip">
<ImageView android:id="@id/wifi_signal" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:layout_gravity="bottom|center" android:id="@id/wifi_inout" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>
<View android:id="@id/spacer" android:visibility="gone" android:layout_width="6.0dip" android:layout_height="6.0dip" />
<LinearLayout android:gravity="center" android:orientation="horizontal" android:id="@id/new_mobile_combo" android:layout_width="wrap_content" android:layout_height="wrap_content">
<FrameLayout android:layout_width="wrap_content" android:layout_height="wrap_content">
<View android:visibility="gone" android:layout_width="6.0dip" android:layout_height="6.0dip" />
<FrameLayout android:id="@id/mobile_combo" android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:id="@id/mobile_type" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:id="@id/mobile_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:id="@id/mobile_roaming" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>
</FrameLayout>
<FrameLayout android:id="@id/separate_mobile" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="-18.0dip">
<ImageView android:id="@id/separate_mobile_type" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>
<ImageView android:id="@id/mobile_signal" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</LinearLayout>
<ImageView android:id="@id/airplane" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:layout_gravity="bottom|center" android:id="@id/separate_mobile_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="-23.0dip" />
</com.android.systemui.statusbar.SignalClusterView>
4) Replace desired icon's in
HTML:
res/drawable-xhdpi
this is my standard AOSP signal icon's that I use in my ROM Dandroid, get it here
5) Recompile with apktool
6) Open up the old systemui and new systemui with 7zip and copy over the meta-inf folder and androidmanifest.xml to the new systemUI
7) Push to system and enjoy
cheers
Dan
Dan man!!! Thank you for posting the signal mod, been trying to figure that one out for a while!
scotteb said:
Dan man!!! Thank you for posting the signal mod, been trying to figure that one out for a while!
Click to expand...
Click to collapse
np bro
Related
After a short working time, I succeed in making this mod QuickPanel
and as I did not see posted around here, I wanted to share with you
For those who want to use it in your themes
Manually put in system / app
{
"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"
}
SystemUI.apk Gingerbread JVB
http://CRISKELO.grupoandroid.com/gb/MODS/SystemUI.apk
There is an application to be installed
You push System / app
With rootexplorer
restart mobile
thx crisKelo
App not installed
How do we?
Sent from my GT-I9000 using XDA Premium App
how did you remove the text from quick panel? would be appreciated if you could offer instructions.
I would guess with a root explorer or something similar
Vanto said:
App not installed
How do we?
Sent from my GT-I9000 using XDA Premium App
Click to expand...
Click to collapse
craigyb said:
I would guess with a root explorer or something similar
Click to expand...
Click to collapse
So I didn't quite follow you there? Install or replace your apk/app?!
Sent from my GT-I9000 using Tapatalk
XlAfbk said:
how did you remove the text from quick panel? would be appreciated if you could offer instructions.
Click to expand...
Click to collapse
res/layout/quickpanel_quick_settings.xml
HTML:
<?xml version="1.0" encoding="UTF-8"?>
<com.android.systemui.statusbar.quickpanel.QuickSettingsView android:orientation="horizontal" android:id="@id/quickpanel_quick_settings" android:background="@drawable/quickpanel_quick_settings_background" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0"
xmlns:android="http://schemas.android.com/apk/res/android">
<FrameLayout android:layout_width="fill_parent" android:layout_height="54.0dip" android:layout_weight="1.0">
<ImageView android:layout_gravity="center_horizontal" android:id="@id/quickpanel_wifi_btn_icon" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="2.669983dip" android:src="@drawable/quickpanel_icon_wifi_off" />
<com.android.systemui.statusbar.quickpanel.WifiSettingButton android:textSize="1.0dip" android:textStyle="normal" android:textColor="#00000000" android:gravity="center_horizontal" android:id="@id/quickpanel_wifi_btn_text" android:paddingTop="54.669983dip" android:layout_width="fill_parent" android:layout_height="fill_parent" android:text="@string/quickpanel_wifi_text" android:shadowDx="1.0" android:shadowDy="1.0" />
<ImageView android:layout_gravity="bottom|center" android:id="@id/quickpanel_wifi_btn_status_icon" android:paddingLeft="2.3299866dip" android:paddingRight="2.3299866dip" android:layout_width="fill_parent" android:layout_height="5.3299866dip" android:layout_marginBottom="4.5dip" android:src="@drawable/quickpanel_icon_off" android:scaleType="fitXY" />
</FrameLayout>
<FrameLayout android:layout_width="fill_parent" android:layout_height="54.0dip" android:layout_weight="1.0">
<ImageView android:layout_gravity="center_horizontal" android:id="@id/quickpanel_bt_btn_icon" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="2.669983dip" android:src="@drawable/quickpanel_icon_bluetooth_off" />
<com.android.systemui.statusbar.quickpanel.BluetoothSettingButton android:textSize="1.0dip" android:textStyle="normal" android:textColor="#00000000" android:gravity="center_horizontal" android:id="@id/quickpanel_bt_btn_text" android:paddingTop="54.669983dip" android:layout_width="fill_parent" android:layout_height="fill_parent" android:text="@string/quickpanel_bluetooth_text" android:shadowDx="1.0" android:shadowDy="1.0" />
<ImageView android:layout_gravity="bottom|center" android:id="@id/quickpanel_bt_btn_status_icon" android:paddingLeft="2.3299866dip" android:paddingRight="2.3299866dip" android:layout_width="fill_parent" android:layout_height="5.3299866dip" android:layout_marginBottom="4.5dip" android:src="@drawable/quickpanel_icon_off" android:scaleType="fitXY" />
</FrameLayout>
<FrameLayout android:layout_width="fill_parent" android:layout_height="54.0dip" android:layout_weight="1.0">
<ImageView android:layout_gravity="center_horizontal" android:id="@id/quickpanel_gps_btn_icon" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="2.669983dip" android:src="@drawable/quickpanel_icon_gps_off" />
<com.android.systemui.statusbar.quickpanel.GpsSettingButton android:textSize="1.0dip" android:textStyle="normal" android:textColor="#00000000" android:gravity="center_horizontal" android:id="@id/quickpanel_gps_btn_text" android:paddingTop="54.669983dip" android:layout_width="fill_parent" android:layout_height="fill_parent" android:text="@string/quickpanel_gps_text" android:shadowDx="1.0" android:shadowDy="1.0" />
<ImageView android:layout_gravity="bottom|center" android:id="@id/quickpanel_gps_btn_status_icon" android:paddingLeft="2.3299866dip" android:paddingRight="2.3299866dip" android:layout_width="fill_parent" android:layout_height="5.3299866dip" android:layout_marginBottom="4.5dip" android:src="@drawable/quickpanel_icon_off" android:scaleType="fitXY" />
</FrameLayout>
<FrameLayout android:layout_width="fill_parent" android:layout_height="54.0dip" android:layout_weight="1.0">
<ImageView android:layout_gravity="center_horizontal" android:id="@id/quickpanel_sound_btn_icon" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="2.669983dip" android:src="@drawable/quickpanel_icon_sound_on_on" />
<com.android.systemui.statusbar.quickpanel.SoundSettingButton android:textSize="1.0dip" android:textStyle="normal" android:textColor="#00000000" android:gravity="center_horizontal" android:id="@id/quickpanel_sound_btn_text" android:paddingTop="54.669983dip" android:layout_width="fill_parent" android:layout_height="fill_parent" android:text="@string/quickpanel_sound_text" android:shadowDx="1.0" android:shadowDy="1.0" />
<ImageView android:layout_gravity="bottom|center" android:id="@id/quickpanel_sound_btn_status_icon" android:paddingLeft="2.3299866dip" android:paddingRight="2.3299866dip" android:layout_width="fill_parent" android:layout_height="5.3299866dip" android:layout_marginBottom="4.5dip" android:src="@drawable/quickpanel_icon_on" android:scaleType="fitXY" />
</FrameLayout>
<FrameLayout android:layout_width="fill_parent" android:layout_height="54.0dip" android:layout_weight="1.0">
<ImageView android:layout_gravity="center_horizontal" android:id="@id/quickpanel_rotation_btn_icon" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="2.669983dip" android:src="@drawable/quickpanel_icon_rotation_off" />
<com.android.systemui.statusbar.quickpanel.AutoRotationSettingButton android:textSize="1.0dip" android:textStyle="normal" android:textColor="#00000000" android:gravity="center_horizontal" android:id="@id/quickpanel_rotation_btn_text" android:paddingTop="44.669983dip" android:layout_width="fill_parent" android:layout_height="fill_parent" android:text="@string/quickpanel_rotation_text" android:shadowDx="1.0" android:shadowDy="1.0" />
<ImageView android:layout_gravity="bottom|center" android:id="@id/quickpanel_rotation_btn_status_icon" android:paddingLeft="2.3299866dip" android:paddingRight="2.3299866dip" android:layout_width="fill_parent" android:layout_height="5.3299866dip" android:layout_marginBottom="4.5dip" android:src="@drawable/quickpanel_icon_off" android:scaleType="fitXY" />
</FrameLayout>
</com.android.systemui.statusbar.quickpanel.QuickSettingsView>
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Make text (android: textColor = "# 00000000") transparent
Redic cell size (android: layout_height = "54.0dip)
Then compare the XML to the original but that's all
Post Error
thx. finally got around doing it. i removed both text and bar.
Thanks
But, how to completely remove these shortcuts ?
XlAfbk said:
thx. finally got around doing it. i removed both text and bar.
Click to expand...
Click to collapse
Congratulations
Very good looking
You could put some transparency on the bottom down
XlAfbk said:
thx. finally got around doing it. i removed both text and bar.
Click to expand...
Click to collapse
Can you post your .apk? I like
I9000M darkyV10.rc5.3 darkcore2.1 UGKC1 BMC
thanks mate
XlAfbk said:
thx. finally got around doing it. i removed both text and bar.
Click to expand...
Click to collapse
It's possible to share your theme please ? (SystemUI.apk for example)
Thank you
here you go. gingerbread-like theme with CRT off, overscroll animation and battery %. Just use whatever files you want to use, I put all of my custom files in.
Zip is NOT a CWM-recovery file but just a compilation of all files in the theme!
http://www.multiupload.com/MYP98C972U
Nice. Love the stripped UI. Thanks
What are the mods on the other .apks?
I9000M darkyV10.rc5.3 darkcore2.1 UGKC1 BMC
Settings and MediaProvider have changed icons, nothing else. twframework has top toolbar and checkboxes/radio buttons in some touchwiz apps, e.g. task manager, contacts.
framework has a lot of changed images, progress bar, status items, crt animation, menu color (white text on black bg)
Tanks. I'll check it out.
I9000M darkyV10.rc5.3 darkcore2.1 UGKC1 BMC
Excellent mod. Thank you.
Here is my quick menu now, with your mod:
which version of apk tool are you guys using, i'm getting errors when decompiling with 1.3.2 or 1.3.1 !
I am adding custom bubbles to my convo thread and cannot get the sent to do what i want.
The received do not extend the length as that is waht i want
But the sent do. I tried changing the android:layout_alignParentLeft="true"> to false but then my sent messages disappear.
Here is a screen of how it currently looks
{
"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"
}
any help is much appreciated.
Here is the xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.mms.ui.MessageListItem android:orientation="horizontal" android:id="@id/msg_list_item_send" android:layout_width="fill_parent" android:layout_height="wrap_content"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:orientation="vertical" android:id="@id/mms_layout_view_parent" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0">
<RelativeLayout android:layout_width="fill_parent" android:layout_height="wrap_content">
<view android:id="@id/avatar" android:layout_width="@dimen/avatar_width_height" android:layout_height="@dimen/avatar_width_height" android:layout_alignParentRight="true" class="com.android.mms.ui.QuickContactDivot" position="left_upper"
xmlns:android="http://schemas.android.com/apk/res/android" />
<LinearLayout android:orientation="vertical" android:id="@id/message_block" android:background="@drawable/wp2" android:layout_width="0.0dip" android:layout_height="wrap_content" android:minHeight="@dimen/avatar_width_height" android:layout_toLeftOf="@id/avatar" android:layout_alignParentLeft="true">
<TextView android:textAppearance="?android:textAppearanceSmall" android:textSize="16.0sp" android:textColor="#ffb0c4de" android:gravity="right" android:autoLink="all" android:linksClickable="false" android:id="@id/text_view" android:paddingLeft="@dimen/message_item_text_padding_left_right" android:paddingTop="@dimen/message_item_text_padding_top" android:paddingRight="@dimen/message_item_text_padding_left_right" android:layout_width="fill_parent" android:layout_height="wrap_content" />
<LinearLayout android:gravity="right" android:orientation="horizontal" android:paddingRight="@dimen/message_item_text_padding_left_right" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginBottom="8.0dip">
<ImageView android:id="@id/locked_indicator" android:paddingRight="3.0dip" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_lock_message_sms" />
<ImageView android:id="@id/delivered_indicator" android:paddingRight="3.0dip" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_sms_mms_delivered" />
<ImageView android:id="@id/details_indicator" android:paddingRight="3.0dip" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_sms_mms_details" />
<TextView android:textAppearance="?android:textAppearanceSmall" android:textColor="#ffb0c4de" android:id="@id/date_view" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</LinearLayout>
<ViewStub android:id="@id/mms_layout_view_stub" android:layout="@layout/mms_layout_view" android:layout_width="fill_parent" android:layout_height="wrap_content" />
</LinearLayout>
</RelativeLayout>
</LinearLayout>
<ViewStub android:layout_gravity="center_vertical" android:id="@id/mms_downloading_view_stub" android:layout="@layout/mms_downloading_view" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</com.android.mms.ui.MessageListItem>
Somewhere, you have a layout set to "wrap content" instead of "fill parent". This causes it to only stretch to fit the contents of the message instad of all the way across like you want it.
It won't be in the XML you uploaded. It will be in the "message_list_item_recv.xml"
Try changing that XML at line 9- I'll bet android:layout_width is set to wrap_content instead of fill_parent. Change it.
artvandelay440 said:
Somewhere, you have a layout set to "wrap content" instead of "fill parent". This causes it to only stretch to fit the contents of the message instad of all the way across like you want it.
It won't be in the XML you uploaded. It will be in the "message_list_item_recv.xml"
Try changing that XML at line 9- I'll bet android:layout_width is set to wrap_content instead of fill_parent. Change it.
Click to expand...
Click to collapse
That was the send.xml that I posted.
i tired your changes and it did not work
artvandelay440 said:
Somewhere, you have a layout set to "wrap content" instead of "fill parent". This causes it to only stretch to fit the contents of the message instad of all the way across like you want it.
It won't be in the XML you uploaded. It will be in the "message_list_item_recv.xml"
Try changing that XML at line 9- I'll bet android:layout_width is set to wrap_content instead of fill_parent. Change it.
Click to expand...
Click to collapse
In the image the one that says "test" is not correct The one that says "working" is correct
Oh, in that case, take the xml you posted and make this change. Scroll to the end and you'll see where "fill_parent" needs to be replaced with "wrap_content".
Change
Code:
<TextView android:textAppearance="?android:textAppearanceSmall" android:textSize="16.0sp" android:textColor="#ffb0c4de" android:gravity="right" android:autoLink="all" android:linksClickable="false" android:id="@id/text_view" android:paddingLeft="@dimen/message_item_text_padding_left_right" android:paddingTop="@dimen/message_item_text_padding_top" android:paddingRight="@dimen/message_item_text_padding_left_right" android:layout_width="fill_parent" android:layout_height="wrap_content" />
to
Code:
<TextView android:textAppearance="?android:textAppearanceSmall" android:textSize="16.0sp" android:textColor="#ffb0c4de" android:gravity="right" android:autoLink="all" android:linksClickable="false" android:id="@id/text_view" android:paddingLeft="@dimen/message_item_text_padding_left_right" android:paddingTop="@dimen/message_item_text_padding_top" android:paddingRight="@dimen/message_item_text_padding_left_right" android:layout_width="wrap_content" android:layout_height="wrap_content" />
artvandelay440 said:
Oh, in that case, take the xml you posted and make this change. Scroll to the end and you'll see where "fill_parent" needs to be replaced with "wrap_content".
Change
Code:
<TextView android:textAppearance="?android:textAppearanceSmall" android:textSize="16.0sp" android:textColor="#ffb0c4de" android:gravity="right" android:autoLink="all" android:linksClickable="false" android:id="@id/text_view" android:paddingLeft="@dimen/message_item_text_padding_left_right" android:paddingTop="@dimen/message_item_text_padding_top" android:paddingRight="@dimen/message_item_text_padding_left_right" android:layout_width="fill_parent" android:layout_height="wrap_content" />
to
Code:
<TextView android:textAppearance="?android:textAppearanceSmall" android:textSize="16.0sp" android:textColor="#ffb0c4de" android:gravity="right" android:autoLink="all" android:linksClickable="false" android:id="@id/text_view" android:paddingLeft="@dimen/message_item_text_padding_left_right" android:paddingTop="@dimen/message_item_text_padding_top" android:paddingRight="@dimen/message_item_text_padding_left_right" android:layout_width="wrap_content" android:layout_height="wrap_content" />
Click to expand...
Click to collapse
All that did was make my text alignment off. Still not working.
Here is my apk
Maybe need to set text right to left?
Sent from my Galaxy Nexus using Tapatalk 2
So this is the message_list_item_send.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.mms.ui.MessageListItem android:orientation="horizontal" android:id="@id/msg_list_item_send" android:layout_width="fill_parent"
android:layout_height="wrap_content"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:orientation="vertical" android:id="@id/mms_layout_view_parent" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_weight="1.0">
<RelativeLayout android:layout_width="wrap_content" android:layout_height="wrap_content">
<view android:id="@id/avatar" android:layout_width="@dimen/avatar_width_height" android:layout_height="@dimen/avatar_width_height"
android:layout_alignParentRight="true" class="com.android.mms.ui.QuickContactDivot" position="left_upper"
xmlns:android="http://schemas.android.com/apk/res/android" />
<LinearLayout android:orientation="vertical" android:id="@id/message_block" android:background="@drawable/wp2" android:layout_width="0.0dip"
android:layout_height="wrap_content" android:minHeight="@dimen/avatar_width_height" android:layout_toLeftOf="@id/avatar"
android:layout_alignParentLeft="true">
<TextView android:textAppearance="?android:textAppearanceSmall" android:textSize="16.0sp" android:textColor="@color/light_text"
android:gravity="right" android:autoLink="all" android:linksClickable="false" android:id="@id/text_view"
android:paddingLeft="@dimen/message_item_text_padding_left_right" android:paddingTop="@dimen/message_item_text_padding_top"
android:paddingRight="@dimen/message_item_text_padding_left_right" android:layout_width="fill_parent" android:layout_height="wrap_content" />
<LinearLayout android:gravity="right" android:orientation="horizontal" android:paddingRight="@dimen/message_item_text_padding_left_right"
android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginBottom="8.0dip">
<ImageView android:id="@id/locked_indicator" android:paddingRight="3.0dip" android:visibility="gone" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:src="@drawable/ic_lock_message_sms" />
<ImageView android:id="@id/delivered_indicator" android:paddingRight="3.0dip" android:visibility="gone"
android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_sms_mms_delivered" />
<ImageView android:id="@id/details_indicator" android:paddingRight="3.0dip" android:visibility="gone" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:src="@drawable/ic_sms_mms_details" />
<TextView android:textAppearance="?android:textAppearanceSmall" android:textColor="@color/text_hairline" android:id="@id/date_view"
android:layout_width="wrap_content" android:layout_height="wrap_content" />
</LinearLayout>
<ViewStub android:id="@id/mms_layout_view_stub" android:layout="@layout/mms_layout_view" android:layout_width="fill_parent"
android:layout_height="wrap_content" />
</LinearLayout>
</RelativeLayout>
</LinearLayout>
<ViewStub android:layout_gravity="center_vertical" android:id="@id/mms_downloading_view_stub" android:layout="@layout/mms_downloading_view"
android:layout_width="wrap_content" android:layout_height="wrap_content" />
</com.android.mms.ui.MessageListItem>
What do i need to edit so the image does not stretch across the screen?
Lol
i have the same issue.
Mine is that the bubbles are across the screen and dont fit to the text, i want the opposite
i want the bubbles to fit to the text, go Dl my xml files and give me yours
they are in the "How to theme sms" topic, lasts posts.
:cyclops:
made it
i have finally made it.
Make sure that your "align parent left" is on "false" in the 6 & 8 line
6 makes the body/layout align to the left if ON
8 makes the text align to the left if ON.
There are a few things I changed about the layout of the lock screen:
1. Taller Minimized Widgets:
{
"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"
}
2. Removed Unlock Icon and Outer Ring:
3. Smaller Margins:
4. Music Player (black background only under title and controls):
I used the framework file from MR1 build 1 to create this.
View attachment AOKP_Lock_Screen.zip Use ZipThemer (get it for free on Google Play) to create a flashable zip.
Tutorial:
1. Decompile framework-res.apk
2. Modify the following files (green = add/change this text, red = remove this text):
ic_lockscreen_outerring.xml in \res\drawable
Code:
<?xml version="1.0" encoding="utf-8"?>
<shape android:shape="oval"
xmlns:android="http://schemas.android.com/apk/res/android">
<size android:height="@dimen/keyguard_lockscreen_outerring_diameter" android:width="@dimen/keyguard_lockscreen_outerring_diameter" />
<solid android:color="#00000000" />
<stroke android:width="[COLOR="LimeGreen"]0.0dip[/COLOR]" android:color="#1affffff" />
</shape>
ic_lockscreen_player_background.9.png in \res\drawable-xhdpi
Open with Photoshop, GIMP, etc... Delete the image inside the bounding boxes (make it a transparent image).
ic_lockscreen_unlock_normal.png in \res\drawable-xhdpi
Open with Photoshop, GIMP, etc... Delete the image (make it a transparent image).
keyguard_transport_control_view.xml in \res\layout
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.internal.policy.impl.keyguard.KeyguardTransportControlView android:gravity="center_horizontal" android:id="@id/keyguard_transport_control" android:layout_width="wrap_content" android:layout_height="wrap_content"
xmlns:android="http://schemas.android.com/apk/res/android">
<FrameLayout android:layout_width="fill_parent" android:layout_height="fill_parent" android:foreground="[COLOR="Lime"]#00000000[/COLOR]" android:contentDescription="@string/keygaurd_accessibility_media_controls">
<ImageView android:layout_gravity="fill" android:id="@id/albumart" android:layout_width="fill_parent" android:layout_height="fill_parent" android:scaleType="centerCrop" android:adjustViewBounds="false" />
</FrameLayout>
<LinearLayout android:layout_gravity="bottom" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">
<TextView android:textAppearance="?textAppearanceMedium" android:ellipsize="end" android:gravity="center_horizontal" android:id="@id/title" android:layout_width="fill_parent" android:layout_height="wrap_content" [COLOR="lime"]android:background="#cc000000"[/COLOR] [COLOR="Lime"]android:padding="2.0dip"[/COLOR] [COLOR="Red"]android:layout_marginTop="8.0dip"[/COLOR] android:singleLine="[COLOR="lime"]false[/COLOR]" [COLOR="Red"]android:layout_marginStart="16.0dip" android:layout_marginEnd="16.0dip"[/COLOR] />
<LinearLayout android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content" [COLOR="Lime"]android:background="#cc000000" [/COLOR][COLOR="red"]android:layout_marginTop="5.0dip"[/COLOR]>
<FrameLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_weight="1.0">
<ImageView android:layout_gravity="center" android:id="@id/btn_prev" android:background="?selectableItemBackground" android:padding="[COLOR="lime"]5.0dip[/COLOR]" android:clickable="true" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_media_previous" android:contentDescription="@string/lockscreen_transport_prev_description" />
</FrameLayout>
<FrameLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_weight="1.0">
<ImageView android:layout_gravity="center" android:id="@id/btn_play" android:background="?selectableItemBackground" android:padding="[COLOR="lime"]5.0dip[/COLOR]" android:clickable="true" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_media_play" android:contentDescription="@string/lockscreen_transport_play_description" />
</FrameLayout>
<FrameLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_weight="1.0">
<ImageView android:layout_gravity="center" android:id="@id/btn_next" android:background="?selectableItemBackground" android:padding="[COLOR="lime"]5.0dip[/COLOR]" android:clickable="true" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_media_next" android:contentDescription="@string/lockscreen_transport_next_description" />
</FrameLayout>
</LinearLayout>
</LinearLayout>
</com.android.internal.policy.impl.keyguard.KeyguardTransportControlView>
keyguard_host_view.xml in \res\layout-port
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.internal.policy.impl.keyguard.KeyguardHostView androidprv:gravity="center_horizontal" androidprv:orientation="vertical" androidprv:id="@id/keyguard_host_view" androidprv:layout_width="fill_parent" androidprv:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:androidprv="http://schemas.android.com/apk/res/android">
<com.android.internal.policy.impl.keyguard.SlidingChallengeLayout androidprv:id="@id/sliding_layout" androidprv:layout_width="fill_parent" androidprv:layout_height="fill_parent">
<FrameLayout androidprv:layout_width="fill_parent" androidprv:layout_height="wrap_content" androidprv:layout_childType="pageDeleteDropTarget">
<include androidprv:layout_gravity="top|center" androidprv:id="@id/keyguard_widget_pager_delete_target" androidprv:layout_width="wrap_content" androidprv:layout_height="wrap_content" layout="@layout/keyguard_widget_remove_drop_target" />
</FrameLayout>
<FrameLayout androidprv:layout_width="fill_parent" androidprv:layout_height="fill_parent" androidprv:layout_childType="widgets">
<include androidprv:layout_gravity="center" androidprv:id="@id/app_widget_container" androidprv:layout_width="fill_parent" androidprv:layout_height="fill_parent" layout="@layout/keyguard_widget_pager" />
</FrameLayout>
<View androidprv:background="#99000000" androidprv:layout_width="fill_parent" androidprv:layout_height="fill_parent" androidprv:layout_childType="scrim" />
<com.android.internal.policy.impl.keyguard.KeyguardSecurityContainer androidprv:gravity="bottom|center" androidprv:id="@id/keyguard_security_container" androidprv:padding="0.0dip" androidprv:layout_width="wrap_content" androidprv:layout_height="wrap_content" androidprv:layout_maxHeight="[COLOR="Lime"]300.0dip[/COLOR]" androidprv:layout_childType="challenge">
<com.android.internal.policy.impl.keyguard.KeyguardSecurityViewFlipper androidprv:gravity="center" androidprv:id="@id/view_flipper" androidprv:paddingTop="@dimen/keyguard_security_view_margin" androidprv:clipChildren="false" androidprv:clipToPadding="false" androidprv:layout_width="fill_parent" androidprv:layout_height="fill_parent" />
</com.android.internal.policy.impl.keyguard.KeyguardSecurityContainer>
<ImageButton androidprv:background="@null" androidprv:focusable="true" androidprv:layout_width="fill_parent" androidprv:layout_height="@dimen/kg_widget_pager_bottom_padding" androidprv:src="@drawable/keyguard_expand_challenge_handle" androidprv:scaleType="center" androidprv:contentDescription="@string/keyguard_accessibility_expand_lock_area" androidprv:layout_childType="expandChallengeHandle" />
</com.android.internal.policy.impl.keyguard.SlidingChallengeLayout>
</com.android.internal.policy.impl.keyguard.KeyguardHostView>
keyguard_widget_pager.xml in \res\layout-port
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.internal.policy.impl.keyguard.KeyguardWidgetPager android:id="@id/app_widget_container" android:paddingLeft="[COLOR="lime"]5.0dip[/COLOR]" android:paddingTop="[COLOR="lime"]5.0dip[/COLOR]" android:paddingRight="[COLOR="lime"]5.0dip[/COLOR]" android:paddingBottom="@dimen/kg_widget_pager_bottom_padding" android:clipToPadding="false" android:pageSpacing="10.0dip"
xmlns:androidprv="http://schemas.android.com/apk/res/android"
xmlns:android="http://schemas.android.com/apk/res/android" />
3. Recompile
4. Copy the modified files from the compiled framework-re.apk into the ZipThemer zip file that is attached above.
Nice dude!!
Sent from my Galaxy Nexus using xda premium
Wow, I wish I wasn't flip flopping from CM to AOKP and back so I could try this...
Sent from my Nexus 7 using Tapatalk HD
If I have time and remember, I'll add a quick guide to the OP tomorrow so people can make their own version for whatever ROM they want.
This made my SGS3 happy = )
creeve4 said:
If I have time and remember, I'll add a quick guide to the OP tomorrow so people can make their own version for whatever ROM they want.
Click to expand...
Click to collapse
Yes please
Sent from my Galaxy Nexus
Updated with tutorial
i have nexus 4 and i can't flash the zip after ZipThemer... please help
Sagi363 said:
i have nexus 4 and i can't flash the zip after ZipThemer... please help
Click to expand...
Click to collapse
More info please. What errors are you getting?
creeve4 said:
More info please. What errors are you getting?
Click to expand...
Click to collapse
image:
Did you configure Edify scripting before creating the flashable zip with ZipThemer?
creeve4 said:
Did you configure Edify scripting before creating the flashable zip with ZipThemer?
Click to expand...
Click to collapse
Thank you, now it works
Flashable zip
do you have a flashable zip for Gnex Toro VZW with all the mods included?
Nope, you'll need to install ZipThemer and make your own.
HELP
I've tried decompiling the apk but ran into several JAVA issues in my PC.....any way you can post the recompiled APK
youngmack2k4 said:
I've tried decompiling the apk but ran into several JAVA issues in my PC.....any way you can post the recompiled APK
Click to expand...
Click to collapse
[UTIL][Dec 28 2012] Apktool v1.5.1 - a tool for reverse engineering apk files
Before decompiling (assuming you are running Windows) delete any .apk files in C:\Users\user.name\apktool\framework\
How to add PagedView to lockscreen.
As most of you all know the android 4.2+ has implemented an awesome new Lockscreen on wich u can swipe pages to show widgets and such.
Currently i have managed to create working pageview but for now without Widgets.
However you can add some custom stuff though .
i had added DigitalClok -> AnalogClock -> Device Info.
but you would be able to change it like what you want as you can add unlimited LinearLayouts for adding new views.
{
"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"
}
Basicly this mod is very easy to add.
What is inside the resources.zip ?
SwipeLock Smalis for Framework.jar
Basicly what you would need to do is:
Download Resources Attachement.
Extract it
Decompile you’re framework.jar
Go to the extract smali folder from the resources.zip and copy the smali folder to the smali folder of you’re framework.jar.
Compile framework.jar
Now we are going to add it to the frameworks location/allocate the text.
Decompile framework-res.apk
Find a lockscreen layout to you’re likes. (“zzz_keyguard_screen_clockwidget.xml” <- on this one i have NOT tested as in my test app when i used a Lockscreen overlay i couldnt swipe the pages so its likely this one not works but on the GB ones it does
so instead i used “keyguard_screen_tab_unlock.xml” ofcourse you would be able to add this in other lock layouts aswell.
Open the layout you wanted and simply add this line above the clock layout or where you want
I put this code above my clock code ( i setted minheight to 300.0dip so u would be able to swipe it at this height)
Code:
<com.spacecaker.swipelock.ui.SwipeView android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="wrap_content" android:minHeight="300.0dip" android:overScrollMode="never">
And below you're clock layout
Code:
</com.spacecaker.swipelock.ui.SwipeView>
So now we have that now we need to put the clock layout inside a LinearLayout
Like this
Code:
<LinearLayout android:orientation="vertical" android:minHeight="300.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_alignParentTop="true">
[COLOR="Magenta"] <com.android.internal.widget.DigitalClock android:id="@id/time" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="20.0dip" android:layout_marginTop="30.0dip" android:layout_below="@id/carrier">
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="72.0sp" android:ellipsize="none" android:id="@id/timeDisplay" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" android:shadowColor="#c0000000" android:shadowDx="0.0" android:shadowDy="0.0" android:shadowRadius="3.0" />
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="22.0sp" android:ellipsize="none" android:id="@id/am_pm" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="8.0dip" android:singleLine="true" android:shadowColor="#c0000000" android:shadowDx="0.0" android:shadowDy="0.0" android:shadowRadius="3.0" android:layout_toRightOf="@id/timeDisplay" android:layout_alignBaseline="@id/timeDisplay" />
</com.android.internal.widget.DigitalClock>[/COLOR]
</LinearLayout>
So it would end up looking like this:
Code:
<com.spacecaker.swipelock.ui.SwipeView android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="wrap_content" android:minHeight="300.0dip" android:overScrollMode="never">
<LinearLayout android:orientation="vertical" android:minHeight="300.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_alignParentTop="true">
<com.android.internal.widget.DigitalClock android:id="@id/time" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="20.0dip" android:layout_marginTop="30.0dip" android:layout_below="@id/carrier">
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="72.0sp" android:ellipsize="none" android:id="@id/timeDisplay" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" android:shadowColor="#c0000000" android:shadowDx="0.0" android:shadowDy="0.0" android:shadowRadius="3.0" />
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="22.0sp" android:ellipsize="none" android:id="@id/am_pm" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="8.0dip" android:singleLine="true" android:shadowColor="#c0000000" android:shadowDx="0.0" android:shadowDy="0.0" android:shadowRadius="3.0" android:layout_toRightOf="@id/timeDisplay" android:layout_alignBaseline="@id/timeDisplay" />
</com.android.internal.widget.DigitalClock>
</LinearLayout>
</com.spacecaker.swipelock.ui.SwipeView>
Now we add another LinearLayout for you're second Page i used the universal AnalogClock like this
Code:
<AnalogClock android:layout_gravity="center" android:layout_width="wrap_content" android:layout_height="wrap_content" />
So now we again add a LinearLayout so it ends up looking like this:
Code:
<LinearLayout android:orientation="vertical" android:minHeight="300.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_alignParentTop="true">
[COLOR="Magenta"]<AnalogClock android:layout_gravity="center" android:layout_width="wrap_content" android:layout_height="wrap_content" />[/COLOR]
</LinearLayout>
The end Layout would look like something like this:
Code:
<com.spacecaker.swipelock.ui.SwipeView android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="wrap_content" android:minHeight="300.0dip" android:overScrollMode="never">
<LinearLayout android:orientation="vertical" android:minHeight="400.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_alignParentTop="true">
<com.android.internal.widget.DigitalClock android:id="@id/time" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="20.0dip" android:layout_marginTop="30.0dip" android:layout_below="@id/carrier">
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="72.0sp" android:ellipsize="none" android:id="@id/timeDisplay" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" android:shadowColor="#c0000000" android:shadowDx="0.0" android:shadowDy="0.0" android:shadowRadius="3.0" />
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="22.0sp" android:ellipsize="none" android:id="@id/am_pm" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="8.0dip" android:singleLine="true" android:shadowColor="#c0000000" android:shadowDx="0.0" android:shadowDy="0.0" android:shadowRadius="3.0" android:layout_toRightOf="@id/timeDisplay" android:layout_alignBaseline="@id/timeDisplay" />
</com.android.internal.widget.DigitalClock>
</LinearLayout>
<LinearLayout android:orientation="vertical" android:minHeight="400.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_alignParentTop="true">
<AnalogClock android:layout_gravity="center" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</LinearLayout>
</com.spacecaker.swipelock.ui.SwipeView>
To Add More pages just add another LinearLayout with something inside
Now Compile framework-res.apk
Now zip the files together and make sure these are set properly.
framework-res.apk inside /system/framework/**
And then ofcourse you’re modified framework.jar inside /system/framework/**
Now you are done
Happy modding
On what roms can u apply this mod ?
Basicly it can be applied to ALL Roms atleast if u know what u are doing.
If you wanna see how i moddified mine take a look here https://github.com/spacecaker/git_status_xp/commit/f85c304142f577e3a933a60ef3d61cbb2c0e89ac
That shows u what changes i did ^^ its on GingerBread SlidingTab Lockscreen just added it for making it look bit easier.
A list of helper,idea givers,and such
RomanBB
Pineapleowl
Mariozawa
BroadComCM
SpaceCaker
Sources? Yes We have!
https://github.com/spacecaker/SwipeLock
Try it without Modding?
Yes you can
In the Screenshots i had used HoloLocker as an example
So you can try it on you"re phone aswell
Note: the minheight might be to much for low res phones so i am sorry if the layout is cut.
awesome sir
nice work could u reference a installed apps widget??? would like to add chronus digital with weather
Edit: is their a way to make it stay on whatever screen u swipe to after locking??
Great tutorial Space! :good:
great tutorial!!!!!!one little help if you want this is is my keyguard_screen_tab_unlock its from ICS rom can you add in this analog clock and device info to make one little start and to see where to put layouts and then i will add other layout if i want thanks!!!!!
(i was rename xml in txt to upload it)
i decompiled systemui.apk
next which png/xml has to be mod to remove the line in statusbar
{
"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"
}
systemui file
Search for something similar to this in \res\layout\status_bar.xml file.
Code:
<View android:gravity="right" android:background="@drawable/status_bar_hr" android:layout_width="fill_parent" android:layout_height="0.5dip" android:maxWidth="200.0dip" />
Remove this line or try to change android:layout_height to "0.0dip".
kosmita1993 said:
Search for something similar to this in \res\layout\status_bar.xml file.
Code:
<View android:gravity="right" android:background="@drawable/status_bar_hr" android:layout_width="fill_parent" android:layout_height="0.5dip" android:maxWidth="200.0dip" />
Remove this line or try to change android:layout_height to "0.0dip".
Click to expand...
Click to collapse
can't find similar to this in status_bar.xml
can you help which line to be modified
<View android:gravity="right" android:background="@drawable/status_bar_hr" android:layout_width="fill_parent" android:layout_height="0.5dip" android:maxWidth="200.0dip" />
Click to expand...
Click to collapse
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.phone.PhoneStatusBarView android:orientation="vertical" android:id="@id/status_bar" android:focusable="true" android:fitsSystemWindows="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<FrameLayout android:layout_width="fill_parent" android:layout_height="fill_parent">
<ImageView android:id="@id/opaque_bg" android:layout_width="fill_parent" android:layout_height="fill_parent" android:src="@drawable/status_bar_opaque_background" android:scaleType="fitXY" />
<ImageView android:id="@id/transparent_bg" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="fill_parent" android:src="@drawable/status_bar_transparent_background" android:scaleType="fitXY" />
<ImageView android:id="@id/light_bg" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="fill_parent" android:src="@drawable/status_bar_light_background" android:scaleType="fitXY" />
<ImageView android:id="@id/lights_out_bg" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="fill_parent" android:src="@drawable/status_bar_lights_out_background" android:scaleType="fitXY" />
</FrameLayout>
<ImageView android:id="@id/notification_lights_out" android:paddingBottom="2.0dip" android:visibility="gone" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="fill_parent" android:src="@drawable/ic_sysbar_lights_out_dot_small" android:scaleType="center" android:paddingStart="6.0dip" />
<LinearLayout android:orientation="horizontal" android:id="@id/status_bar_contents" android:layout_width="fill_parent" android:layout_height="fill_parent" android:paddingStart="6.0dip" android:paddingEnd="6.0dip">
<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.IconPartitioner android:id="@id/notification_icon_area" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0">
<com.android.systemui.statusbar.phone.IconMerger android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/notificationIcons" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentStart="true" />
<LinearLayout android:orientation="horizontal" android:id="@id/system_icon_area" android:layout_width="wrap_content" android:layout_height="fill_parent">
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/statusIcons" android:layout_width="wrap_content" android:layout_height="fill_parent" />
</LinearLayout>
</com.android.systemui.statusbar.phone.IconPartitioner>
<LinearLayout android:gravity="center" android:orientation="horizontal" android:id="@id/signal_battery_cluster" android:layout_width="wrap_content" android:layout_height="fill_parent" android:paddingStart="2.0dip">
<include android:id="@id/signal_cluster" android:layout_width="wrap_content" android:layout_height="wrap_content" layout="@layout/signal_cluster_view" />
<TextView android:layout_gravity="left|center" android:id="@id/battery_text" android:paddingLeft="4.0dip" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/status_bar_settings_settings_button" android:singleLine="true" style="@style/SystemBarNotificationText" />
<ImageView android:id="@id/battery" android:layout_width="wrap_content" android:layout_height="wrap_content" android:paddingStart="4.0dip" />
</LinearLayout>
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="start|center" android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:paddingStart="6.0dip" />
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:id="@id/ticker" android:animationCache="false" android:layout_width="fill_parent" android:layout_height="fill_parent" android:paddingStart="6.0dip">
<ImageSwitcher android:id="@id/tickerIcon" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:layout_marginEnd="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:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0" android:paddingEnd="10.0dip">
<TextView android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" android:textAlignment="viewStart" />
<TextView android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" android:textAlignment="viewStart" />
</com.android.systemui.statusbar.phone.TickerView>
</LinearLayout>
<ImageView android:layout_gravity="top|left|center" android:id="@id/rounded_corner_ul" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/rounded_corner_ul" />
<ImageView android:layout_gravity="top|right|center" android:id="@id/rounded_corner_ur" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/rounded_corner_ur" />
</com.android.systemui.statusbar.phone.PhoneStatusBarView>
Wow bro, that systemui is beast, can you post it here please?
paper13579 said:
Wow bro, that systemui is beast, can you post it here please?
Click to expand...
Click to collapse
I already shared systemui.apk in 1 post
Sent from my C2004 using XDA Premium 4 mobile app
Oh sorry, i didn't see that, thank you so much. Just one last thing, i want to change the height of the statusbar to make it bigger. I already decompiledbthe systemui.apk, now what? Please tell me if you know. Thanks
For change height, you must recompile your framework.apk also.