Due to the request from few dev/cookers, i would like to show, how this mod can be achieved!
{
"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"
}
Moderators: Before people scream on me, you can move this thread, if doesn't belongs here!
Decompile both SystemUI and framework-res,apk using apktool
framework-res.apk
- /res/values/dimens.xml : change thumbnail size to..
Code:
<dimen name="thumbnail_height">305.0dip</dimen>
<dimen name="thumbnail_width">192.0dip</dimen>
Change the dip values the way you want, but for galaxy note the above dip's fits correctly.
After this compile back and this is the only chnage needs to be done in framework-res.apk
* SystemUI.apk
- /res/values/bools.xml
PHP:
<bool name="config_recents_thumbnail_image_fits_to_xy">true</bool>
- /res/values/drawables.xml
PHP:
<item type="drawable" name="status_bar_recents_background_solid">#ff33b1e1</item>
Now you can change any background you want, by modifying the values of #ff33b1e1...but i prefer this value #b3000000
- /res/layout/status_bar_no_recent_apps.xml
Replace the entire code with this one!
PHP:
<?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">
<Button android:textSize="@dimen/status_bar_recents_app_label_text_size" android:layout_gravity="center" android:id="@id/no_recent_apps_launch_button" android:visibility="invisible" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="55.0dip" android:text="@string/status_bar_recent_launch_task_manager_title" />
<TextView android:textSize="20.0dip" android:textColor="@android:color/holo_blue_light" android:gravity="center_horizontal" android:layout_gravity="center" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/status_bar_no_recent_apps" />
</FrameLayout>
- /res/layout-port/status_bar_recent_item.xml
Replace the entire code with this one!
PHP:
<?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:foreground="#00000000" android:layout_centerInParent="true">
<ImageView android:id="@id/app_thumbnail_image" android:paddingTop="60.0dip" android:layout_width="212.0dip" android:layout_height="455.0dip" android:layout_marginTop="30.0dip" android:scaleType="centerInside" />
</FrameLayout>
<ImageView android:gravity="center_horizontal" android:id="@id/app_icon" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="405.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" />
<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="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="3.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="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
Replace the entire code with this one
PHP:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.recent.RecentsPanelView android:id="@id/recents_root" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<FrameLayout android:id="@id/recents_bg_protect" android:background="@drawable/status_bar_recents_background" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_centerVertical="true">
<ImageView android:gravity="center" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginTop="0.0dip" android:src="@drawable/status_bar_recents_background" />
<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="#ffe5e5e5" 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" />
<Button android:textSize="@dimen/status_bar_recents_app_label_text_size" android:layout_gravity="bottom|center" android:id="@id/recents_launch_button" android:visibility="invisible" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/status_bar_recent_launch_task_manager_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/tw_status_bar_recent_panel.xml
Replace the entire code with this one
PHP:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.recent.RecentsPanelView android:id="@id/recents_root" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<FrameLayout android:id="@id/recents_bg_protect" android:background="@drawable/status_bar_recents_background" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_centerVertical="true">
<ImageView android:gravity="center" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginTop="0.0dip" android:src="@drawable/status_bar_recents_background" />
<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="#ffe5e5e5" 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" />
<Button android:textSize="@dimen/status_bar_recents_app_label_text_size" android:layout_gravity="bottom|center" android:id="@id/recents_launch_button" android:visibility="invisible" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/status_bar_recent_launch_task_manager_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>
UP TO HERE WE HAVE DONE THE CODING FOR PORTRAIT MODE, FOR LANDSCAPE FOLLOW THE BELLOW STEPS
- /res/layout-land/status_bar_recent_item.xml
Replace the entire code with this one!
PHP:
<?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:foreground="#00000000" android:layout_centerInParent="true">
<ImageView android:id="@id/app_thumbnail_image" android:layout_width="120.0dip" android:layout_height="320.0dip" android:scaleType="centerInside" />
</FrameLayout>
<ImageView android:gravity="center_horizontal" android:id="@id/app_icon" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="225.0dip" android:scaleType="centerInside" android:adjustViewBounds="true" android:maxWidth="20.0dip" android:maxHeight="20.0dip" />
<TextView android:textSize="20.0dip" 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="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="0.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="none" android:fadingEdgeLength="0.0dip" 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="3.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
Replace the entire code with this one!
PHP:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.recent.RecentsPanelView android:id="@id/recents_root" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<FrameLayout android:id="@id/recents_bg_protect" android:background="@drawable/status_bar_recents_background" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_centerVertical="true">
<ImageView android:gravity="center" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginTop="0.0dip" android:src="@drawable/status_bar_recents_background" />
<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="#ffe5e5e5" android:gravity="center_horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="15.0dip" android:text="@string/recent_apps_title" />
<Button android:textSize="@dimen/status_bar_recents_app_label_text_size" android:layout_gravity="bottom" android:id="@id/recents_launch_button" android:visibility="invisible" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/status_bar_recent_launch_task_manager_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-land/tw_status_bar_recent_panel.xml
Replace the entire code with this one!
PHP:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.recent.RecentsPanelView android:id="@id/recents_root" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<FrameLayout android:id="@id/recents_bg_protect" android:background="@drawable/status_bar_recents_background" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_centerVertical="true">
<ImageView android:gravity="center" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginTop="0.0dip" android:src="@drawable/status_bar_recents_background" />
<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="#ffe5e5e5" android:gravity="center_horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="15.0dip" android:text="@string/recent_apps_title" />
<Button android:textSize="@dimen/status_bar_recents_app_label_text_size" android:layout_gravity="bottom" android:id="@id/recents_launch_button" android:visibility="invisible" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/status_bar_recent_launch_task_manager_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>
Now open res/values/id.xml and add this one at the end of the file!
PHP:
<item type="id" name="no_recent_apps_launch_button">false</item>
Now open res/values/strings.xml and add this one at the end of the file!
PHP:
<string name="recent_apps_title">Recent apps</string>
Now compile the systemui.apk and you will have windows style task manager / recent apps...if you would like to have the sense style with reflection background, then please download the file from here which i made it for criskelo (http://forum.xda-developers.com/showthread.php?p=27593864#post27593864) and compare the code, you will know how to get it. The code is located in
systemui\smali\com\android\systemui\recent\RecentsPanelView.smali
of @redroid done lot of hard work to find the code , LOL...you can find the code from here
http://forum.xda-developers.com/showpost.php?p=28701323&postcount=28
Credits!
To all the developers around here and my special thanks to @evilisto
Feel Helped, Press Thanks!
Nice ))
now something that belongs here...thanks mate!
@grgsiocl This is fantastic. I realised that you only have the cwm for Criskelo's rom. I was hoping that you could be kind enough to create the cwm for other roms, maybe Cassie's XtraliteRom ICS 4.5 and SVA ICS 5.2? Thanking you in advance.
I remember seeing in nexus thread that someone had ported windows mango to it.
Is it possible to do it here too? ??
zard said:
@grgsiocl This is fantastic. I realised that you only have the cwm for Criskelo's rom. I was hoping that you could be kind enough to create the cwm for other roms, maybe Cassie's XtraliteRom ICS 4.5 and SVA ICS 5.2? Thanking you in advance.
Click to expand...
Click to collapse
just now created a mod for cassies and sent a PM to the developer..let me wait for his nod though!
Rulinglionadi said:
I remember seeing in nexus thread that someone had ported windows mango to it.
Is it possible to do it here too? ??
Click to expand...
Click to collapse
may be possible, but i am not in to that at the moment...it would be feasible for us to port jellybean as early as possible...frayyab has already made working (almost) jelly bean for s3, so we need to wait till he completes...not many of here are int in porting windows OS
grgsiocl said:
may be possible, but i am not in to that at the moment...it would be feasible for us to port jellybean as early as possible...frayyab has already made working (almost) jelly bean for s3, so we need to wait till he completes...not many of here are int in porting windows OS
Click to expand...
Click to collapse
true...but i see MIUI threads coming up...would be nice to mix MIUI,JB and Windows 8 together... :laugh:
Nice to see this...any way im also from kurnool....can you give me your gtalk or fb username. . .
grgsiocl said:
just now created a mod for cassies and sent a PM to the developer..let me wait for his nod though!
Click to expand...
Click to collapse
Still no response from cassies developer? Spent my time to setup my Note with his latest rom the way I liked it and now, it's just missing this mod. ;-)
Sent from my GT-N7000 using Tapatalk 2
grgsiocl said:
just now created a mod for cassies and sent a PM to the developer..let me wait for his nod though!
Click to expand...
Click to collapse
I hear hes working on the next update...so it might be added in it.
zard said:
Still no response from cassies developer? Spent my time to setup my Note with his latest rom the way I liked it and now, it's just missing this mod. ;-)
Sent from my GT-N7000 using Tapatalk 2
Click to expand...
Click to collapse
i have sent a PM, but he is pretty busy in making a ROM for s3, so he might include it in next version...personally i have note tested, but you want to test , then flash the zip from recovery!
http://www.mediafire.com/?11f39377ozwrcvz
Please do make a backup of ROM incase if something goes wrong which is very rare...or else make a copy of my zip and rename something like original_cassie and copy the systemui.apk and framework-res.apk in the corresponding folders. if the my mod doesnt work, then you can flash back the original zip!
grgsiocl said:
i have sent a PM, but he is pretty busy in making a ROM for s3, so he might include it in next version...personally i have note tested, but you want to test , then flash the zip from recovery!
http://www.mediafire.com/?11f39377ozwrcvz
Please do make a backup of ROM incase if something goes wrong which is very rare...or else make a copy of my zip and rename something like original_cassie and copy the systemui.apk and framework-res.apk in the corresponding folders. if the my mod doesnt work, then you can flash back the original zip!
Click to expand...
Click to collapse
Cool, works fine, just that the 15 toggles mod from http://forum.xda-developers.com/showthread.php?t=1620625 will not work anymore. Guess both mods are using the same apks. Any possibility of helping to add to the all blue 15 toggles mod? Thanks.
Sent from my GT-N7000 using Tapatalk 2
zard said:
Cool, works fine, just that the 15 toggles mod from http://forum.xda-developers.com/showthread.php?t=1620625 will not work anymore. Guess both mods are using the same apks. Any possibility of helping to add to the all blue 15 toggles mod? Thanks.
Sent from my GT-N7000 using Tapatalk 2
Click to expand...
Click to collapse
Ok thanks for the feedback...I will include it by today evening...till that time, you can flash your original file
grgsiocl said:
Ok thanks for the feedback...I will include it by today evening...till that time, you can flash your original file
Click to expand...
Click to collapse
No worries. I am keeping your sense mod and waiting for your update. The sense mod is used more frequently than the 15 toggles mod. ;-)
Thanks.
Sent from my GT-N7000 using Tapatalk 2
grgsiocl said:
Ok thanks for the feedback...I will include it by today evening...till that time, you can flash your original file
Click to expand...
Click to collapse
zard said:
No worries. I am keeping your sense mod and waiting for your update. The sense mod is used more frequently than the 15 toggles mod. ;-)
Thanks.
Sent from my GT-N7000 using Tapatalk 2
Click to expand...
Click to collapse
Looks like something might have crop up, hope it's not too serious. Hope you can resolve it soon. Thanks.
Sent from my GT-N7000 using Tapatalk 2
zard said:
Looks like something might have crop up, hope it's not too serious. Hope you can resolve it soon. Thanks.
Sent from my GT-N7000 using Tapatalk 2
Click to expand...
Click to collapse
Have asked the 15 toggles developer to help out. Hope he will help. Thanks.
http://forum.xda-developers.com/showthread.php?p=28214909
Sent from my GT-N7000 using Tapatalk 2
nice copy paste
Gues instead of only my ROM every rom will be the same again..
Robbie Hood said:
nice copy paste
Gues instead of only my ROM every rom will be the same again..
Click to expand...
Click to collapse
its even the same in goa rom also my friend(check the ver 2.0)...just sharing the mod and also the mod was ported from nexus...you can search the xda, you will get the results...well yes i did mentioned in the other thread, that only code i obtained from the alliance rom is to change the background image, by changing the nandroid11.png which is located in systemui....that also i changed it and assigned the code to take the background of status bar solid background......no offence
i meant it might be nice to link where you got it from instead of makin it look like you made this
but copy paste for popularity seems hot
Related
{
"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"
}
As you can see, I've managed to center the clock and switch the notification and system icons around.
So I've only tested this mod on CM7 and HDPI.
I can't see why it wouldn't work on other gingerbread roms, pretty certain all gingerbread have the same type of statusbar.xml to play around with.
Things you need -
APKmanager
Notepad++
rootexplorer
How to do it: Use rootexplorer to grab your systemui located system>app.
Decompile it with APKmanager, go into the layout folder and edit the statusbar.xml.
For those who want to just edit the clock here is the code to do it.
find the
<com.android.systemui.statusbar.Clock' delete that whole line and paste this above the linear layout
(edit:I updated the clock code to help centering, it'll now be centered for any screensize.)
Code:
<LinearLayout android:gravity="center" android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.systemui.statusbar.Clock android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:textSize="15.0sp" android:typeface="normal" android:textStyle="normal" android:textColor="#ffffffff" 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>
If you want the whole mod, heres a copy of my XML
Code:
<?xml version="1.0" encoding="UTF-8"?>
<com.android.systemui.statusbar.StatusBarView android:background="@drawable/statusbar_background" android:focusable="true" android:descendantFocusability="afterDescendants" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<com.android.systemui.statusbar.Clock android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:textSize="15.0sp" android:typeface="normal" android:textStyle="normal" android:textColor="#ffffffff" android:gravity="center" android:paddingLeft="145.0dip" android:paddingTop="3.0px" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:layout_weight="1.0" />
<LinearLayout android:gravity="left" android:orientation="horizontal" android:id="@id/statusIcons" android:paddingLeft="5.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" />
<LinearLayout android:orientation="horizontal" android:id="@id/icons" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.systemui.statusbar.IconMerger android:gravity="right" android:orientation="horizontal" android:id="@id/notificationIcons" android:paddingLeft="40.0dip" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0" />
</LinearLayout>
<com.android.systemui.statusbar.CmBatteryText android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:textSize="15.0sp" android:typeface="normal" android:textStyle="normal" android:gravity="center" android:orientation="horizontal" android:paddingLeft="297.0dip" android:paddingTop="2.5px" android:layout_width="wrap_content" android:layout_height="fill_parent" />
<com.android.systemui.statusbar.CmBatteryMiniIcon android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/CmBatteryMiniIcon" android:layout_width="0.0px" android:layout_height="0.0px" />
<ImageButton android:id="@id/status_home" android:background="@drawable/ic_statusbar_home" android:visibility="gone" android:layout_width="0.0dip" android:layout_height="fill_parent" />
<ImageButton android:id="@id/status_menu" android:background="@drawable/ic_statusbar_menu" android:visibility="gone" android:layout_width="0.0dip" android:layout_height="fill_parent" />
<ImageButton android:id="@id/status_back" android:background="@drawable/ic_statusbar_back" android:paddingRight="6.0dip" android:visibility="gone" android:layout_width="0.0dip" android:layout_height="fill_parent" />
<LinearLayout android:orientation="horizontal" android:id="@id/ticker" android:background="@drawable/statusbar_background" 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="wrap_content" android:layout_height="fill_parent" android:layout_marginRight="8.0dip">
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="25.0dip" android:layout_height="25.0dip" />
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="25.0dip" android:layout_height="25.0dip" />
</ImageSwitcher>
<com.android.systemui.statusbar.TickerView android:id="@id/tickerText" android:paddingTop="5.0px" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0">
<TextView android:textAppearance="@android:style/TextAppearance.StatusBar.Ticker" android:textSize="12.0sp" android:typeface="normal" android:textStyle="normal" android:textColor="#ffffffff" android:paddingTop="4.0px" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
<TextView android:textAppearance="@android:style/TextAppearance.StatusBar.Ticker" android:textSize="12.0sp" android:typeface="normal" android:textStyle="normal" android:textColor="#ffffffff" android:paddingTop="4.0px" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
</com.android.systemui.statusbar.TickerView>
</LinearLayout>
<com.android.systemui.statusbar.DateView android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:textColor="#ffffffff" android:gravity="left|center" android:id="@id/date" android:background="@drawable/statusbar_background" android:paddingLeft="6.0px" android:paddingRight="6.0px" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
</com.android.systemui.statusbar.StatusBarView>
You will need to change things to fit your own statusbar.xml. I'm on a old nightly for CM7 so it won't have as many things. So you'll have to play around and see what fits.
Once you edited, save the xml, compile with APKmanager, press Y to both questions, then deleted the resources file and statusbar.xml in the KEEP folder, sign it and then make a flashable zip and flash it over. Or replace the systemui with rootexplorer.
-----
Bugs to far: I can't seem to get the notification icons go all the way to the right side, It's not so bad because i've got the battery in place and the gap from the edge fits the battery perfectly, but it's annoying if you don't have the battery % on. I'm sure it's possible to alter it, I'm just not so great with XML.
Also the notifications overlap the clock when they get to the middle, I know how to fix that one, but just to lazy to bother as I never have that many notifications going on. The width of the notification display just needs changing.
Play around with it. Let me know how it goes.
-------
Notification mod now
Right, I've now themed the pulldown menu, I'm currently using images from the MEIZU theme as I was testing it out.
This is done by editting the status_bar_expanded.xml, replace lines that match yours.
Code:
<?xml version="1.0" encoding="UTF-8"?>
<com.android.systemui.statusbar.ExpandedView android:orientation="vertical" android:focusable="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:orientation="vertical" android:background="@drawable/title_bar_portrait" android:paddingTop="3.0dip" android:paddingRight="3.0dip" android:paddingBottom="5.0dip" android:layout_width="fill_parent" android:layout_height="0.0px">
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content">
<com.android.systemui.statusbar.CarrierLabel android:textAppearance="?android:textAppearanceLarge" android:textColor="@color/carrier_label_text_color" android:layout_gravity="center_vertical" android:paddingLeft="4.0dip" android:paddingBottom="1.0dip" android:layout_width="0.5dip" android:layout_height="0.0px" android:layout_marginLeft="5.0dip" android:layout_marginTop="1.0dip" android:layout_weight="1.0" />
</LinearLayout>
</LinearLayout>
<FrameLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0">
<ScrollView android:id="@id/scroll" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="fill_parent" android:overScrollMode="ifContentScrolls">
<com.android.systemui.statusbar.NotificationLinearLayout android:orientation="vertical" android:id="@id/notificationLinearLayout" android:layout_width="fill_parent" android:layout_height="wrap_content">
<TextView android:textAppearance="@style/TextAppearance.StatusBar.Title" android:gravity="center" android:id="@id/noNotificationsTitle" android:background="@drawable/shade_header_background" android:paddingLeft="5.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/status_bar_no_notifications_title" />
<TextView android:textAppearance="@style/TextAppearance.StatusBar.Title" android:gravity="center" android:id="@id/ongoingTitle" android:background="@drawable/shade_header_background" android:paddingLeft="5.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/status_bar_ongoing_events_title" />
<LinearLayout android:orientation="vertical" android:id="@id/ongoingItems" android:layout_width="fill_parent" android:layout_height="wrap_content" />
<TextView android:textAppearance="@style/TextAppearance.StatusBar.Title" android:gravity="center" android:id="@id/latestTitle" android:background="@drawable/shade_header_background" android:paddingLeft="5.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/status_bar_latest_events_title" />
<LinearLayout android:orientation="vertical" android:id="@id/latestItems" android:layout_width="fill_parent" android:layout_height="wrap_content" />
</com.android.systemui.statusbar.NotificationLinearLayout>
</ScrollView>
<ImageView android:layout_width="fill_parent" android:layout_height="fill_parent" android:src="@drawable/title_bar_shadow" android:scaleType="fitXY" />
</FrameLayout>
<LinearLayout android:orientation="vertical" android:background="@drawable/title_bar_portrait" android:layout_width="fill_parent" android:layout_height="35.0px">
<TextView android:gravity="center" android:textSize="14.0sp" android:textStyle="bold" android:textColor="#a6a6a6" android:id="@id/clear_all_button" android:paddingTop="3.0dip" android:layout_width="480.0px" android:layout_height="fill_parent" android:scaleType="fitXY" android:text="@string/status_bar_clear_all_button" style="\?android:attr/buttonStyle" />
</LinearLayout>
<com.android.systemui.statusbar.powerwidget.PowerWidget android:id="@id/exp_power_stat" android:background="@drawable/title_bar_portrait" android:layout_width="fill_parent" android:layout_height="wrap_content" />
</com.android.systemui.statusbar.ExpandedView>
nice work - but you got many smilies in your code
may you should use the code-tags
Wouldn't it be possible to add this into a theme chooser apk ?
This is really interesting. Will have a look how to get it on miui rom. Thanks for sharing!
Sent from my GT-I9000 using XDA Premium App
just tried this.. and my statusbar disapeared
Will continue to work on it.
Hmm weird.. Just tried to push the old SystemUI.apk to the phone (The original).. Rebooted, and the status bar is still gone :-?
EDIT: Nope, it's here again
EDIT 2: Just tried decompiling the APK, and compiling it again without making any changes. Then pushing it to the device and rebooting. My statusbar is still disapearing.
Am I doing something wrong? (Using apktool instead of APKmanager, 'cause im on a mac)
Che123 said:
nice work - but you got many smilies in your code
may you should use the code-tags
Wouldn't it be possible to add this into a theme chooser apk ?
Click to expand...
Click to collapse
There, added codetags
and I don't think so. I don't think the theme chooser has the same statusbar.xml. I haven't really looked tbh, though.
whooper90 said:
just tried this.. and my statusbar disapeared
Will continue to work on it.
Hmm weird.. Just tried to push the old SystemUI.apk to the phone (The original).. Rebooted, and the status bar is still gone :-?
EDIT: Nope, it's here again
EDIT 2: Just tried decompiling the APK, and compiling it again without making any changes. Then pushing it to the device and rebooting. My statusbar is still disapearing.
Am I doing something wrong? (Using apktool instead of APKmanager, 'cause im on a mac)
Click to expand...
Click to collapse
Hmm, are you signing the APK? I've only done it on aPKmanager, so not sure! also only done it with flashing the APK via recovery, too. I know in APKmanager you need to choose the systemapp options, does apktool have that? never used it, so not sure.
Taine0 said:
Hmm, are you signing the APK? I've only done it on aPKmanager, so not sure! also only done it with flashing the APK via recovery, too. I know in APKmanager you need to choose the systemapp options, does apktool have that? never used it, so not sure.
Click to expand...
Click to collapse
Nope, not signing the apk. Maybe I should try that.
APKtool doesn't have systemapp options. It's pretty basic, it's only possible to compile/decompile without very many options.
whooper90 said:
Nope, not signing the apk. Maybe I should try that.
APKtool doesn't have systemapp options. It's pretty basic, it's only possible to compile/decompile without very many options.
Click to expand...
Click to collapse
systemui.apk needs to be signed to work, so that could be your problem.
Taine0 said:
systemui.apk needs to be signed to work, so that could be your problem.
Click to expand...
Click to collapse
Hmm.. signed the APK using test-keys.. Same result..
You don't happen to know a way to create a flashable .zip without apkmanager?
Could this be made into a flash zip? I can never get these things to work right and would feel safer using a zip
Sent from my DROID X2 using XDA App
whooper90 said:
Hmm.. signed the APK using test-keys.. Same result..
You don't happen to know a way to create a flashable .zip without apkmanager?
Click to expand...
Click to collapse
I used uotkitchen for my flashable zip. I got it when I used it for the transparent status bar patch, Just upload your systemui.apk
SwiftLegend said:
Could this be made into a flash zip? I can never get these things to work right and would feel safer using a zip
Sent from my DROID X2 using XDA App
Click to expand...
Click to collapse
I can't make it a flashable zip because every rom uses a different setup in the statusbar.xml. So it'll just result in crashing your statusbar.
Taine0 said:
I can't make it a flashable zip because every rom uses a different setup in the statusbar.xml. So it'll just result in crashing your statusbar.
Click to expand...
Click to collapse
but it should be compatible with the same rom?
Would you mind to share your CM7 systemui.apk?
Che123 said:
but it should be compatible with the same rom?
Would you mind to share your CM7 systemui.apk?
Click to expand...
Click to collapse
Nope, it's even worse for CM7, every nightly seems different from what I've seen. My version is from nightly 24, so any version of CM7 after that will have a different systemui.apk.
Taine0 said:
Nope, it's even worse for CM7, every nightly seems different from what I've seen. My version is from nightly 24, so any version of CM7 after that will have a different systemui.apk.
Click to expand...
Click to collapse
I see...damn. thx anyway
Seems like i have to do this on my own..
got it working
decompiling the APK, edit the statusbar.xml file, compiling again, putting it into an empty CWM3 edify zip file, and flashing!
Now my clock is on the right , and everything else on the left.. Next step, to get the clock centered
hmm. I've edited the line you're telling us to, but I'm getting different result
Here's my status_bar.xml file:
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.CmStatusBarView android:background="@drawable/statusbar_background" android:focusable="true" android:descendantFocusability="afterDescendants" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:orientation="horizontal" android:id="@id/icons" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.systemui.statusbar.IconMerger android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/notificationIcons" android:paddingLeft="6.0dip" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0" android:layout_alignParentLeft="true" />
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/statusIcons" android:paddingRight="1.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentRight="true" />
<com.android.systemui.statusbar.CmBatteryText android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:gravity="center_vertical" android:orientation="horizontal" android:paddingRight="2.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" />
<com.android.systemui.statusbar.CmBatteryMiniIcon android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/CmBatteryMiniIcon" android:layout_width="wrap_content" android:layout_height="fill_parent" />
<com.android.systemui.statusbar.Clock android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:textSize="15.0sp" android:typeface="normal" android:textStyle="normal" android:textColor="#ffffffff" android:gravity="center" android:paddingLeft="145.0dip" android:paddingTop="3.0px" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:layout_weight="1.0" />
<LinearLayout android:orientation="horizontal" android:id="@id/buttons" android:layout_width="wrap_content" android:layout_height="fill_parent">
<ImageButton android:id="@id/status_edge_left" android:background="@drawable/ic_statusbar_edge_right_bottom" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageButton android:id="@id/status_home" android:background="@drawable/ic_statusbar_home_bottom" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageButton android:id="@id/status_sep1" android:background="@drawable/ic_statusbar_sep_bottom" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageButton android:id="@id/status_menu" android:background="@drawable/ic_statusbar_menu_bottom" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageButton android:id="@id/status_sep2" android:background="@drawable/ic_statusbar_sep_bottom" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageButton android:id="@id/status_back" android:background="@drawable/ic_statusbar_back_bottom" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageButton android:id="@id/status_sep3" android:background="@drawable/ic_statusbar_sep_bottom" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageButton android:id="@id/status_search" android:background="@drawable/ic_statusbar_search_bottom" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageButton android:id="@id/status_sep4" android:background="@drawable/ic_statusbar_sep_bottom" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageButton android:id="@id/status_quick_na" android:background="@drawable/ic_statusbar_na_up_bottom" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageButton android:id="@id/status_sep5" android:background="@drawable/ic_statusbar_sep_bottom" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageButton android:id="@id/status_hide" android:background="@drawable/ic_statusbar_hide_bottom" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageButton android:id="@id/status_edge_right" android:background="@drawable/ic_statusbar_edge_left_bottom" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</LinearLayout>
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:id="@id/ticker" android:paddingLeft="6.0dip" android:animationCache="false" android:layout_width="fill_parent" android:layout_height="fill_parent">
<ImageSwitcher android:id="@id/tickerIcon" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginRight="8.0dip">
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="25.0dip" android:layout_height="25.0dip" />
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="25.0dip" android:layout_height="25.0dip" />
</ImageSwitcher>
<com.android.systemui.statusbar.TickerView android:id="@id/tickerText" android:paddingTop="2.0dip" android:paddingRight="10.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0">
<TextView android:textAppearance="@android:style/Theme.Holo.Wallpaper" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
<TextView android:textAppearance="@android:style/Theme.Holo.Wallpaper" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
</com.android.systemui.statusbar.TickerView>
</LinearLayout>
<com.android.systemui.statusbar.DateView android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:gravity="left|center" android:id="@id/date" android:background="@drawable/statusbar_background" android:paddingLeft="6.0px" android:paddingRight="6.0px" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
</com.android.systemui.statusbar.CmStatusBarView>
Didn't work for me i couldnt create the flashable zip correctly so i pushed the apk to the phone with adb. I also tried just copying it in there and my status bar was missing both times
donhu said:
Didn't work for me i couldnt create the flashable zip correctly so i pushed the apk to the phone with adb. I also tried just copying it in there and my status bar was missing both times
Click to expand...
Click to collapse
Same for me
Used this zip: http://www.multiupload.com/ELFHMGUBLE
Open it with winrar (don't extract it), replace the SystemUI.apk file in /system/app/ with the one you've compiled. Then save the zip file again. (DON'T extract at any time, cause that will break the signing of the zip file).
Now you can flash through recovery
whooper90 said:
hmm. I've edited the line you're telling us to, but I'm getting different result
Here's my status_bar.xml file:
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.CmStatusBarView android:background="@drawable/statusbar_background" android:focusable="true" android:descendantFocusability="afterDescendants" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:orientation="horizontal" android:id="@id/icons" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.systemui.statusbar.IconMerger android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/notificationIcons" android:paddingLeft="6.0dip" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0" android:layout_alignParentLeft="true" />
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/statusIcons" android:paddingRight="1.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentRight="true" />
<com.android.systemui.statusbar.CmBatteryText android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:gravity="center_vertical" android:orientation="horizontal" android:paddingRight="2.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" />
<com.android.systemui.statusbar.CmBatteryMiniIcon android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/CmBatteryMiniIcon" android:layout_width="wrap_content" android:layout_height="fill_parent" />
<com.android.systemui.statusbar.Clock android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:textSize="15.0sp" android:typeface="normal" android:textStyle="normal" android:textColor="#ffffffff" android:gravity="center" android:paddingLeft="145.0dip" android:paddingTop="3.0px" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:layout_weight="1.0" />
<LinearLayout android:orientation="horizontal" android:id="@id/buttons" android:layout_width="wrap_content" android:layout_height="fill_parent">
<ImageButton android:id="@id/status_edge_left" android:background="@drawable/ic_statusbar_edge_right_bottom" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageButton android:id="@id/status_home" android:background="@drawable/ic_statusbar_home_bottom" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageButton android:id="@id/status_sep1" android:background="@drawable/ic_statusbar_sep_bottom" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageButton android:id="@id/status_menu" android:background="@drawable/ic_statusbar_menu_bottom" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageButton android:id="@id/status_sep2" android:background="@drawable/ic_statusbar_sep_bottom" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageButton android:id="@id/status_back" android:background="@drawable/ic_statusbar_back_bottom" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageButton android:id="@id/status_sep3" android:background="@drawable/ic_statusbar_sep_bottom" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageButton android:id="@id/status_search" android:background="@drawable/ic_statusbar_search_bottom" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageButton android:id="@id/status_sep4" android:background="@drawable/ic_statusbar_sep_bottom" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageButton android:id="@id/status_quick_na" android:background="@drawable/ic_statusbar_na_up_bottom" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageButton android:id="@id/status_sep5" android:background="@drawable/ic_statusbar_sep_bottom" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageButton android:id="@id/status_hide" android:background="@drawable/ic_statusbar_hide_bottom" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageButton android:id="@id/status_edge_right" android:background="@drawable/ic_statusbar_edge_left_bottom" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</LinearLayout>
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:id="@id/ticker" android:paddingLeft="6.0dip" android:animationCache="false" android:layout_width="fill_parent" android:layout_height="fill_parent">
<ImageSwitcher android:id="@id/tickerIcon" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginRight="8.0dip">
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="25.0dip" android:layout_height="25.0dip" />
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="25.0dip" android:layout_height="25.0dip" />
</ImageSwitcher>
<com.android.systemui.statusbar.TickerView android:id="@id/tickerText" android:paddingTop="2.0dip" android:paddingRight="10.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0">
<TextView android:textAppearance="@android:style/Theme.Holo.Wallpaper" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
<TextView android:textAppearance="@android:style/Theme.Holo.Wallpaper" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
</com.android.systemui.statusbar.TickerView>
</LinearLayout>
<com.android.systemui.statusbar.DateView android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:gravity="left|center" android:id="@id/date" android:background="@drawable/statusbar_background" android:paddingLeft="6.0px" android:paddingRight="6.0px" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
</com.android.systemui.statusbar.CmStatusBarView>
Click to expand...
Click to collapse
Move the clock line to above the linear layout. that way it'll be in the center. At the moment it's getting shoved aside by the notifications.
whooper90 said:
Same for me
Used this zip: http://www.multiupload.com/ELFHMGUBLE
Open it with winrar (don't extract it), replace the SystemUI.apk file in /system/app/ with the one you've compiled. Then save the zip file again. (DON'T extract at any time, cause that will break the signing of the zip file).
Now you can flash through recovery
Click to expand...
Click to collapse
did everything you said as well and still no bar the zip file worked though so thanks for that
Taine0 said:
Move the clock line to above the linear layout. that way it'll be in the center. At the moment it's getting shoved aside by the notifications.
Click to expand...
Click to collapse
Thanks! That did the trick
Share more nice things like this
WP7(Mango?) app switcher is like 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 i made similar thing by modifying ics app switcher layout.
preview :
flashable mod is originally posted in nexus s theme forum.
[MOD] Change ICS App Switcher to Windows Phone 7 Style
this mod is related to framework-res.apk and SystemUI.apk so making universal version for any devices is difficult. so i write this simple guide for other rom / device users.
-----------------------------------------------------------------------------
* framework-res.apk
- /res/values/dimens.xml : change thumbnail size to..
Code:
<dimen name="thumbnail_height">305.0dip</dimen>
<dimen name="thumbnail_width">192.0dip</dimen>
these values are wvga devices only. if you have mdpi or xhdpi device, you have to adjust these values suitable to your screen size.
* SystemUI.apk
- /res/values/bools.xml
Code:
<bool name="config_recents_thumbnail_image_fits_to_xy">true</bool>
- /res/values/drawables.xml
Code:
<item type="drawable" name="status_bar_recents_background_solid">#ff33b1e1</item>
- /res/layout/status_bar_no_recent_apps.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout android:background="@drawable/status_bar_recents_background_solid" 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="@color/status_bar_recents_app_label_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" />
</FrameLayout>
- /res/layout-port/status_bar_recent_item.xml
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="@drawable/recents_thumbnail_bg" android:visibility="invisible" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="5.0dip" android:foreground="@drawable/recents_thumbnail_fg" android:layout_centerInParent="true">
<ImageView android:id="@id/app_thumbnail_image" android:layout_width="192.0dip" android:layout_height="305.0dip" />
<ImageView android:id="@id/app_icon" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/status_bar_recents_app_icon_left_margin" android:layout_marginTop="0.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_alignParentLeft="true" android:layout_alignParentTop="true" />
</FrameLayout>
<TextView android:textSize="@dimen/status_bar_recents_app_label_text_size" android:textColor="@color/status_bar_recents_app_label_color" android:ellipsize="marquee" android:id="@id/app_label" android:paddingTop="0.0dip" 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="fill_parent" android:layout_marginLeft="@dimen/status_bar_recents_app_label_left_margin" android:layout_marginTop="100.0dip" android:scrollHorizontally="true" android:singleLine="true" android:layout_below="@id/app_thumbnail" android:layout_alignLeft="@id/app_thumbnail" 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="40.0dip" android:scrollHorizontally="true" android:singleLine="true" android:layout_below="@id/app_label" android:layout_alignLeft="@id/app_thumbnail" android:layout_alignParentBottom="true" />
</RelativeLayout>
</FrameLayout>
- /res/layout-port/status_bar_recent_panel.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.recent.RecentsPanelView android:id="@id/recents_root" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<FrameLayout android:id="@id/recents_bg_protect" android: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>
</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>
and you'd better to edit landscape layout too..
- /res/layout-land/status_bar_recent_item.xml
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">
<FrameLayout android:id="@id/app_thumbnail" android:background="@drawable/recents_thumbnail_bg" android:visibility="invisible" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/status_bar_recents_thumbnail_left_margin" android:layout_marginTop="@dimen/status_bar_recents_thumbnail_top_margin" android:foreground="@drawable/recents_thumbnail_fg" android:layout_alignParentLeft="true" android:layout_alignParentTop="true">
<ImageView android:id="@id/app_thumbnail_image" android:layout_width="115.0dip" android:layout_height="183.0dip" />
</FrameLayout>
<ImageView android:id="@id/app_icon" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/status_bar_recents_app_icon_left_margin" android:layout_marginTop="@dimen/status_bar_recents_app_icon_top_margin" 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_alignParentLeft="true" android:layout_alignParentTop="true" />
<TextView android:textSize="@dimen/status_bar_recents_app_label_text_size" android:textColor="@color/status_bar_recents_app_label_color" android:ellipsize="marquee" android:id="@id/app_label" 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="@dimen/status_bar_recents_text_description_padding" android:scrollHorizontally="true" android:singleLine="true" android:layout_below="@id/app_thumbnail" android:layout_alignLeft="@id/app_thumbnail" />
<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_marginTop="@dimen/status_bar_recents_text_description_padding" android:scrollHorizontally="true" android:singleLine="true" android:layout_below="@id/app_label" android:layout_alignLeft="@id/app_thumbnail" />
</RelativeLayout>
</FrameLayout>
- /res/layout-land/status_bar_recent_panel.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.recent.RecentsPanelView android:id="@id/recents_root" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<FrameLayout android:id="@id/recents_bg_protect" android:background="@drawable/status_bar_recents_background" android:clipChildren="false" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_alignParentBottom="true">
<com.android.systemui.recent.RecentsHorizontalScrollView android:layout_gravity="bottom|left|center" android:orientation="horizontal" android:id="@id/recents_container" android:scrollbars="none" android:fadingEdge="none" android:fadingEdgeLength="0.0dip" android:clipChildren="false" android:clipToPadding="false" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginRight="@dimen/status_bar_recents_right_glow_margin" android:stackFromBottom="true" android:divider="@null">
<LinearLayout android:orientation="horizontal" android:id="@id/recents_linear_layout" android:clipChildren="false" android:clipToPadding="false" android:layout_width="wrap_content" android:layout_height="fill_parent" />
</com.android.systemui.recent.RecentsHorizontalScrollView>
</FrameLayout>
<include android:id="@id/recents_no_apps" android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="fill_parent" layout="@layout/status_bar_no_recent_apps" />
</com.android.systemui.recent.RecentsPanelView>
-----------------------------------------------------------------------------
Thanks to brucekey in rootzwiki
(this mod is based on his WEBAOKP mod.)
-----------------------------------------------------------------------------
Looks good bro!! I hope you don't mind BUT I put this mod in my thread over in the EVO section. I gave you full credit for this MOD but I just wanted to share it with my peeps over there.....THANKS AGAIN for everything that you do in the Android community!
beautiful...
Doesn't work
I am unable to decompile and compile with apktool, apk manager and APK multitool.
Can I upload the framework-res.apk and systemui.apk and someone do it for me?
It might be something about Windows 8 that the sdk doesn't like
Hi, is there any way how to make launcher show up in this taskswitcher? Thanks
can you port for samsung galaxy s2 please
nice!!!
Sent from my LT18i
I will really love to have this mod....but can anyone tell me plz what will be the values for qvga screen....????
Thanks
Sent from my GT-I5500 using Tapatalk
Please?
Could someone compile these two for me?
http://www.mediafire.com/download.php?1cr5p09pxcyamw7
Made it work after a while. is there a way to make the thumbnail look less blurry?
evilisto, is there anyway to move the text for the pages down? I resized my pages because of my screen resolution(540x960). But as you can see they are not below the pages. Also can you change the color of the text? Thanks for the write up, I like the a lot all ready.
netwokz said:
evilisto, is there anyway to move the text for the pages down? I resized my pages because of my screen resolution(540x960). But as you can see they are not below the pages. Also can you change the color of the text? Thanks for the write up, I like the a lot all ready.
Click to expand...
Click to collapse
wanna share wallpaper?
herpderp © aint got money to pay to my fish
spacecaker said:
wanna share wallpaper?
herpderp © aint got money to pay to my fish
Click to expand...
Click to collapse
Lol, yeah np. http://i.imgur.com/Bduqs.jpg
whats the dip of mdpi screens i cant figure that out
herpderp © aint got money to pay to my fish
spacecaker said:
whats the dip of mdpi screens i cant figure that out
herpderp © aint got money to pay to my fish
Click to expand...
Click to collapse
Do you mean DPI? If so then I found THIS article. It states MDPI is 160.
netwokz said:
evilisto, is there anyway to move the text for the pages down? I resized my pages because of my screen resolution(540x960). But as you can see they are not below the pages. Also can you change the color of the text? Thanks for the write up, I like the a lot all ready.
Click to expand...
Click to collapse
see this line :
- /res/layout-port/status_bar_recent_item.xml
Code:
<TextView android:textSize="@dimen/status_bar_recents_app_label_text_size" android:textColor="@color/status_bar_recents_app_label_color" android:ellipsize="marquee" android:id="@id/app_label" android:paddingTop="0.0dip" 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="fill_parent" android:layout_marginLeft="@dimen/status_bar_recents_app_label_left_margin" [COLOR="Blue"][B]android:layout_marginTop="100.0dip"[/B][/COLOR] android:scrollHorizontally="true" android:singleLine="true" android:layout_below="@id/app_thumbnail" android:layout_alignLeft="@id/app_thumbnail" android:layout_alignParentBottom="true" />
android:layout_marginTop="100.0dip"
if you use bigger value in this, app label text goes down.
spacecaker said:
whats the dip of mdpi screens i cant figure that out
Click to expand...
Click to collapse
1.0dip is 1 pixel on lcd.density=160. so if your device's default lcd.density is 240, 1.0dip is 1.5 pixel on your phone screen.
then you can calculate all values for your screen size..
hmm i hate dip
cant get the good ones even after calculating
what if i do your dip : 66%
herpderp © aint got money to pay to my fish
spacecaker said:
hmm i hate dip
cant get the good ones even after calculating
what if i do your dip : 66%
Click to expand...
Click to collapse
that's not a good idea because screen ratio is different..
evilisto said:
that's not a good idea because screen ratio is different..
Click to expand...
Click to collapse
damm -_-
i never understand dip
herpderp © aint got money to pay to my fish
can u add the dip for mdpi xhdpi and ldpi ?
herpderp © aint got money to pay to my fish
OP, what is the dip of S II at 240 dpi (stock value) ??
{
"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"
}
UPDATE NEW SMALI FILES AND LINES ON 2ND POST *TEST AND WORK ON FROYO ROM, GB ROM & MTK DEVICE (WORK ON KITKAT)
I just wanna share how to add speed meter (0.00k/s) data on statusbar simple and fastway
1.Basic knowledge how to compile/decompile using Apktool/Apkmanager/
Tickle My Android(I try it and so easy) Credits to Ticklefish
2.Brain and brave :laugh:
Method :
-Download smali.zip attachment and extract it
-Decompile your SystemUI.apk
-In your smali,,copy/paste extract file
systemUi/smali/here = smali/fx/dzolcp
-Then go to res/layout/status_bar.xml and add this line (copy from here)
Code:
<fx.dzolcp.Speed android:textAppearance="@style/TextAppearance.StatusBar.Speed" android:gravity="left|center" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
-Example
Code:
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Kecil" android:gravity="center" android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
<LinearLayout android:gravity="right|center" android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1.0" android:layout_alignParentRight="true">
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/statusIcons" android:layout_width="wrap_content" android:layout_height="fill_parent" />
<ImageView android:layout_gravity="center_vertical" android:id="@id/stat_no_sim" android:paddingLeft="4.0dip" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" />
[COLOR="Red"]<fx.dzolcp.Speed android:textAppearance="@style/TextAppearance.StatusBar.Speed" android:gravity="left|center" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />[/COLOR]
<LinearLayout android:gravity="center" android:orientation="horizontal" android:id="@id/signal_battery_cluster" android:paddingLeft="1.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" />
</LinearLayout>
</LinearLayout>
</LinearLayout>
-Save and close file.
-Then open res/values/styles.xml
edit this at the end of line or you can copy/paste from here
Code:
<style name="TextAppearance.StatusBar.Speed" parent="@style/TextAppearance.StatusBar.Clock">
<item name="android:textSize">14.0dip</item>
<item name="android:textColor">#ffffffff</item>
</style>
</resources>
-Save and close file.
-Recompile back your SystemUi.apk..
-And let me know the result :good:
Status_bar.xml for SCREENSHOT
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.phone.PhoneStatusBarView android:orientation="vertical" android:background="@drawable/status_bar_background" android:focusable="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<LinearLayout android:orientation="horizontal" android:id="@id/icons" android:paddingLeft="3.0dip" android:paddingRight="3.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent">
<LinearLayout android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1.0">
<TextView android:textAppearance="@style/TextAppearance.StatusBar.Kecil" android:layout_gravity="left|center" android:id="@id/battery_text" android:paddingLeft="3.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/status_bar_settings_settings_button" android:singleLine="true" style="@style/StatusBarNotificationText" />
<ImageView android:layout_gravity="center_vertical" android:id="@id/battery" android:paddingLeft="3.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" 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>
<DigitalClock android:textAppearance="@style/TextAppearance.StatusBar.Kecil" android:gravity="center" android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
<LinearLayout android:gravity="right|center" android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1.0" android:layout_alignParentRight="true">
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/statusIcons" android:layout_width="wrap_content" android:layout_height="fill_parent" />
<ImageView android:layout_gravity="center_vertical" android:id="@id/stat_no_sim" android:paddingLeft="4.0dip" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" />
[COLOR="Red"]<fx.dzolcp.Speed android:textAppearance="@style/TextAppearance.StatusBar.Speed" android:gravity="left|center" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />[/COLOR]
<LinearLayout android:gravity="center" android:orientation="horizontal" android:id="@id/signal_battery_cluster" android:paddingLeft="1.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" />
</LinearLayout>
</LinearLayout>
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:id="@id/ticker" android:paddingLeft="6.0dip" android:animationCache="false" android:layout_width="fill_parent" android:layout_height="fill_parent">
<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>
CREDITS TO : REPENCIS For his 0.00k/s smali files
CREDITS TO : ROMWIZ For his nice video tutorial
CREDITS TO : TICKLEFISH For his AWESOME Tools
CREDITS TO : SANJAY KUMAR For his FROYO tutorial
CREDITS TO : BLUE SHARKY For his fix SystemUI FC's tutorial
CREDITS TO : SIEUAN For MTK Devices mod
CREDITS TO : TABOO5200 For latest version - Modified smali's
Not modded for any user anymore * Please include your device name and android version if you want Me to Re-Mod your SystemUI
*Try to upload here via XDA attachment uploader and not to link to any download server out of XDA unless there is no more option
NEW SMALI FILES AND LINES
This new smali will show the KB/s meter only appear when you have data or wifi connection
NEW VERSION *MODIFIED SMALI'S - TEST ONLY ON GB
http://forum.xda-developers.com/showpost.php?p=48333101&postcount=793
FOR FROYO ROM
http://forum.xda-developers.com/showthread.php?t=2400335
FOR GB ROM
http://forum.xda-developers.com/showpost.php?p=44893138&postcount=191
FOR MTK DEVICE
http://forum.xda-developers.com/showpost.php?p=45963193&postcount=682
FIX FC FOR JB
http://forum.xda-developers.com/showpost.php?p=45710770&postcount=636
Copy this line to res/layout/status_bar.xml
Code:
<com.android.systemui.statusbar.policy.Traffic android:textAppearance="@style/TextAppearance.StatusBar.Traffic" android:gravity="left|center" android:id="@id/traffic" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
this line to add in res/values/ids.xml
Code:
<item type="id" name="traffic">false</item>
and this one as usual res/values/styles.xml
Code:
<style name="TextAppearance.StatusBar.Traffic" parent="@style/TextAppearance.StatusBar.Clock">
<item name="android:textSize">14.0dip</item>
<item name="android:textStyle">normal</item>
<item name="android:textColor">#ffffffff</item>
<item name="android:textAllCaps">false</item>
</style>
Status_bar.xml for SCREENSHOT
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.phone.PhoneStatusBarView android:orientation="vertical" android:background="@drawable/status_bar_custom_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">
<ViewFlipper android:id="@id/status_bar_flipper" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent">
<RelativeLayout 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="fill_parent" android:layout_height="fill_parent" android:layout_weight="1.0" android:layout_alignParentLeft="true">
<ImageView android:gravity="right|center" android:id="@id/battery" android:paddingLeft="4.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" />
<TextView android:textAppearance="@style/TextAppearance.StatusBar.Traffic" android:layout_gravity="left|center" android:id="@id/battery_text" android:paddingLeft="4.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/status_bar_settings_settings_button" android:singleLine="true" style="@style/StatusBarNotificationText" />
<LinearLayout android:orientation="horizontal" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0">
<com.android.systemui.statusbar.StatusBarIconView android:id="@id/moreIcon" android:visibility="gone" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="fill_parent" android:src="@drawable/stat_notify_more" />
<com.android.systemui.statusbar.phone.IconMerger android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/notificationIcons" android:layout_width="fill_parent" android:layout_height="fill_parent" />
</LinearLayout>
</LinearLayout>
<DigitalClock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="center" android:id="@id/center_clock" android:layout_width="fill_parent" android:layout_height="fill_parent" android:singleLine="true" android:layout_alignParentLeft="true" android:layout_alignParentRight="true" />
<RelativeLayout android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1.0" android:layout_alignParentRight="true">
<LinearLayout android:orientation="horizontal" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentRight="true">
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/statusIcons" android:layout_width="wrap_content" android:layout_height="fill_parent" />
<ImageView android:layout_gravity="center_vertical" android:id="@id/stat_no_sim" android:paddingLeft="4.0dip" android:visibility="gone" 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">
[COLOR="Blue"] <com.android.systemui.statusbar.policy.Traffic android:textAppearance="@style/TextAppearance.StatusBar.Traffic" android:gravity="right|center" android:id="@id/traffic" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" /> [/COLOR]
<include android:id="@id/signal_cluster" android:layout_width="wrap_content" android:layout_height="wrap_content" layout="@layout/signal_cluster_view" />
</LinearLayout>
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="left|center" android:id="@id/clock" android:paddingLeft="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
</LinearLayout>
</RelativeLayout>
</RelativeLayout>
<LinearLayout android:orientation="horizontal" android:id="@id/ticker" android:paddingLeft="6.0dip" android:animationCache="false" android:layout_width="fill_parent" android:layout_height="fill_parent">
<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>
</LinearLayout>
<RelativeLayout android:layout_width="fill_parent" android:layout_height="@*android:dimen/status_bar_height" android:layout_alignParentLeft="true">
<DigitalClock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="left|center" android:paddingLeft="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
<LinearLayout android:gravity="right|center" android:orientation="horizontal" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentRight="true">
<com.serajr.dataspeedmeter.DataSpeedMeter android:textAppearance="@style/TextAppearance.StatusBar.Traffic" android:gravity="center" android:id="@id/data_speed_meter" android:layout_width="wrap_content" android:layout_height="fill_parent" />
<View android:layout_width="8.0dip" android:layout_height="fill_parent" />
<include android:id="@id/signal_cluster_2" android:layout_width="wrap_content" android:layout_height="wrap_content" layout="@layout/signal_cluster_view" />
<View android:layout_width="4.0dip" android:layout_height="fill_parent" />
</LinearLayout>
</RelativeLayout>
</ViewFlipper>
</com.android.systemui.statusbar.phone.PhoneStatusBarView>
biopsin said:
New smali : Works even better, no more traffic spam in catlog..excellent work!
Click to expand...
Click to collapse
copy the smali files to this
smali/com/android/systemui/statusbar/policy/here
Ticklefish said:
Yup, that's pretty much it.
framework-res.apk is what I call a "resource apk". It contains information that is needed to be able to decompile certain system apk's.
To make matters more confusing, the creator of apktool (the tool used by most people to decompile apk files) calls these sort of files "framework apk's".
Hopefully you'll start experimenting with decompiling apk's yourself before too long and you'll understand what this is all about. I was a newbie when I registered here and none of this made any sense to me at all! But keep with it, and it will all become second nature to you.
Click to expand...
Click to collapse
nice work, thanks.
i'll try
Hai mate, finally you share it in this section
Good ,. :good:
Work very nice on my CM10.1
Adi Aisiteru Reborn said:
Hai mate, finally you share it in this section
Good ,. :good:
Work very nice on my CM10.1
Click to expand...
Click to collapse
Yeah bro,, what apktool version did you using that you can compile cm10.1?
I always failed.. Can you post few ss here Cm10.1 with k/s meter?? Will be more awesome master
dzolcp said:
Yeah bro,, what apktool version did you using that you can compile cm10.1?
I always failed.. Can you post few ss here Cm10.1 with k/s meter?? Will be more awesome master
Click to expand...
Click to collapse
SCREENSHOT on My CM10.1
And I included it in my combine Mod
My Combine Mod Thread : http://forum.xda-developers.com/showthread.php?t=2234074
you , ticklefish, & repencis Got Credit :good:
PS : I dont use Apk tool , I usually use Apk Multi tool : http://forum.xda-developers.com/showthread.php?t=1310151
:good::good:
I always fail to try this mod for AOKP CM10, can you help me
EDIT : yeahhh finally i can use this mod..
thanks Adi Aisiteru Reborn and dzolcp for tutor....
Awesome, it works great on my ROM for the G300
Thanks for the tutorial
Can I do this without PC??
How to do it??
kyan31 said:
Awesome, it works great on my ROM for the G300
Thanks for the tutorial
Click to expand...
Click to collapse
Well Done Master!
riotaruna said:
I always fail to try this mod for AOKP CM10, can you help me
EDIT : yeahhh finally i can use this mod..
thanks Adi Aisiteru Reborn and dzolcp for tutor....
Click to expand...
Click to collapse
Congrats!!
faridevan said:
Can I do this without PC??
How to do it??
Click to expand...
Click to collapse
No you cant brovv..this require your pc should have latest Java and you should know the basic how to use apktool for compile/decompile
Hi can u make with this systeui.apk i do not have pc....
http://db.tt/vccuaRlx
Sent from my GT-I9001 using xda premium
Hey dev, I got SystemUI FC after doing this. I'm not sure where to copy extracted files. Can you be more specific? Thanks in advance.
ril z said:
Hey dev, I got SystemUI FC after doing this. I'm not sure where to copy extracted files. Can you be more specific? Thanks in advance.
Click to expand...
Click to collapse
After decompile you will fine a smali folder..open the smali folder and paste the extract file,, Done
should be like this :
smali/fx/dzolcp/Speed
abhimukesh25 said:
Hi can u make with this systeui.apk i do not have pc....
http://db.tt/vccuaRlx
Sent from my GT-I9001 using xda premium
Click to expand...
Click to collapse
Done.
*PLEASE RENAME BACK TO SystemUI.apk
dzolcp said:
Done.
*PLEASE RENAME BACK TO SystemUI.apk
Click to expand...
Click to collapse
One question how to move 0.0k/s mod right to left....?
Sent from my GT-I9001 using xda premium
dzolcp said:
After decompile you will fine a smali folder..open the smali folder and paste the extract file,, Done
should be like this :
smali/fx/dzolcp/Speed
Click to expand...
Click to collapse
Do you mean to paste along with com folder? Cause I saw com folder in the path. So in the end we're gonna have com folder and fx folder in the same folder, right?
Sent from my GT-I9300 EX using xda premium
ril z said:
Do you mean to paste along with com folder? Cause I saw com folder in the path. So in the end we're gonna have com folder and fx folder in the same folder, right?
Sent from my GT-I9300 EX using xda premium
Click to expand...
Click to collapse
Yes,
The fx files is together with com files but separate,,dont paste inside com folder,,but same path starting from smali/com/bla bla/bla bla bla
smali/fx/dzolcp/bla bla bla
Hope you understand..
Sent from my WT19i using xda premium
Not Working! Unable to Recompile. Shows some error !
#Samsung JB!
dzolcp said:
Yes,
The fx files is together with com files but separate,,dont paste inside com folder,,but same path starting from smali/com/bla bla/bla bla bla
smali/fx/dzolcp/bla bla bla
Hope you understand..
Sent from my WT19i using xda premium
Click to expand...
Click to collapse
Hello dev, it's still not working. If you don't mind, please do take a look into this SystemUI of mine http://goo.gl/mAu1M and tell me what I did wrong. Thanks in advance. I tried to edit status bar to show seconds in status bar as well but not working.
Sent from my GT-I9300 EX using xda premium
Nice!
can I use it with 7zip a copy/paste.?
When I'm at home, I nearly always have the WiFi on. I have email to check, comics to read, people to talk to..and, of course, the XDA forum to look at.
The trouble is, I don't really like the way I have two separate icons for my network signal and for my WiFi.
{
"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"
}
Since they're showing signal strength, I figured I may as well merge the two together.
A few minutes with an xml editor and a graphics package later and it was done.
And now I'm going to show you how to do it yourself!
What You Need:
To do this, it's pretty simple. But you will need a few things..
An Android phone or tablet (obviously) running ICS or later
A PC with your devices drivers installed (worth installing any PC suite, if available)
A USB cable to connect your device to your PC
A program that uses apktool. I recommend using Tickle My Android, which is fast, user-friendly and very powerful...but it's up to you. And you'll also need...
..some patience.
Got all that? Excellent! Then let us begin!
Now, before we do any modding of any sort, we need to make a backup so it really helps if you have a recovery installed as well.
We need to edit some of the files contained within system/app/SystemUI.apk. So to do that, we need to decompile it. That's where your apktool-based program comes in. There's a few of those so you'll need to refer to the instructions for that particular program.
Once it's been decompiled, we need to edit layout\signal_cluster_view.xml.
You can edit xml files with MS Notepad, but if you're going to be doing a lot of this, I suggest installing Notepad++. It's specifically designed to editing code and it's free!
This is the code we're faced with:
Code:
<?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">
<ImageView android:id="@id/no_sim" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<View android:id="@id/no_sim_spacer" android:visibility="gone" android:layout_width="6.0dip" android:layout_height="6.0dip" />
<FrameLayout android:id="@id/wifi_combo" android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:id="@id/wifi_signal" android:layout_width="wrap_content" android:layout_height="wrap_content" android:scaleType="center" android:layout_alignParentRight="true" android:layout_centerVertical="true" />
<ImageView android:layout_gravity="bottom|center" android:id="@id/wifi_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>
<View android:id="@id/spacer" android:visibility="gone" android:layout_width="0.0dip" android:layout_height="6.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" />
<LinearLayout android:orientation="horizontal" android:id="@id/mobile_separate" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content">
<FrameLayout android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:id="@id/mobile_separate_type" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:id="@id/mobile_separate_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>
<FrameLayout android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:id="@id/mobile_separate_roaming" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:id="@id/mobile_separate_signal" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>
</LinearLayout>
<FrameLayout android:id="@id/mobile_combo" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:id="@id/mobile_signal" 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:layout_gravity="bottom|right|center" android:id="@id/mobile_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>
</FrameLayout>
<ImageView android:id="@id/airplane" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</com.android.systemui.statusbar.SignalClusterView>
Looks intimidating, doesn't it? If you've never faced xml before, this may look completely incomprehensible to you. But don't worry. It makes sense..and you don't actually need to understand any of it.
This is the portion of code that displays the WiFi icons:
Code:
[COLOR="RoyalBlue"] <FrameLayout android:id="@id/wifi_combo" android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:id="@id/wifi_signal" android:layout_width="wrap_content" android:layout_height="wrap_content" android:scaleType="center" android:layout_alignParentRight="true" android:layout_centerVertical="true" />
<ImageView android:layout_gravity="bottom|center" android:id="@id/wifi_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>[/COLOR]
And this is the portion of code that displays the signal icons:
Code:
[COLOR="Red"] <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" />
<LinearLayout android:orientation="horizontal" android:id="@id/mobile_separate" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content">
<FrameLayout android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:id="@id/mobile_separate_type" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:id="@id/mobile_separate_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>
<FrameLayout android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:id="@id/mobile_separate_roaming" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:id="@id/mobile_separate_signal" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>
</LinearLayout>
<FrameLayout android:id="@id/mobile_combo" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:id="@id/mobile_signal" 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:layout_gravity="bottom|right|center" android:id="@id/mobile_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>
</FrameLayout>[/COLOR]
Currently the WiFi code is above the signal code, which means the WiFi icons are displayed on the left of the signal icons.
For this mod, we want the WiFi icons to be on the right]/i] of the signal icons. So, to do that, let's just swap the two portions of code..
Code:
<?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">
<ImageView android:id="@id/no_sim" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<View android:id="@id/no_sim_spacer" android:visibility="gone" android:layout_width="6.0dip" android:layout_height="6.0dip" />
<View android:id="@id/spacer" android:visibility="gone" android:layout_width="0.0dip" android:layout_height="6.0dip" />
[COLOR="Red"] <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" />
<LinearLayout android:orientation="horizontal" android:id="@id/mobile_separate" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content">
<FrameLayout android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:id="@id/mobile_separate_type" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:id="@id/mobile_separate_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>
<FrameLayout android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:id="@id/mobile_separate_roaming" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:id="@id/mobile_separate_signal" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>
</LinearLayout>
<FrameLayout android:id="@id/mobile_combo" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:id="@id/mobile_signal" 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:layout_gravity="bottom|right|center" android:id="@id/mobile_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>
</FrameLayout>
[/COLOR][COLOR="royalblue"] <FrameLayout android:id="@id/wifi_combo" android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:id="@id/wifi_signal" android:layout_width="wrap_content" android:layout_height="wrap_content" android:scaleType="center" android:layout_alignParentRight="true" android:layout_centerVertical="true" />
<ImageView android:layout_gravity="bottom|center" android:id="@id/wifi_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>[/COLOR]
<ImageView android:id="@id/airplane" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</com.android.systemui.statusbar.SignalClusterView>
Please don't just copy and paste this code into your xml file. That will only work if your rom is the same as the one I got this code from. You'll need to change your actual xml yourself.
Now we've put the icons in the right place, we need to change what the WiFi icons actually look like.
Download the attachment, extract it and add the icons to whichever drawable folder your devices uses. This may take a little trial and error. The Xperia Z is a xxhdpi device, so just add them to drawable-xxhdpi. If you're using a different device, you might need to put these icons in a different folder.
You'll be asked if you want to overwrite the existing files. Just say 'yes'!
And that's all the modding we need to do. Now you need to recompile, sort out the signature, the compression rate, etc. Again, refer to your compiling programs instructions.
Push, flash or manually move your modded SystemUI.apk back to your phone, wait for it to think about everything..then marvel as your statusbar looks that little bit neater and your WiFi icon looks like it's part of your signal icon.
Enjoy!
Because so many people have different roms, firmware versions, odexed/deodexed apks, recoveries, versions of recoveries, types or recoveries, etc..
I've decided not to offer modded files anymore. It just causes too much hassle when it turns out they work on some peoples devices but not on others.
Instead, I'll be showing you how to make the mods yourselves. It takes a bit longer but it's worth putting the effort in.
If you know how to mod your device, you can do all kinds of things....you might even come up with a mod that no-one else has!
Great tutorial, keeps my notification bar clean.
can you edit it thanks:silly:
Code:
<?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">
<ImageView android:id="@id/wifi_signal" android:layout_width="wrap_content" android:layout_height="wrap_content" android:scaleType="center" android:layout_alignParentRight="true" android:layout_centerVertical="true" />
<ImageView android:layout_gravity="bottom|center" android:id="@id/wifi_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>
<View android:id="@id/spacer" android:visibility="gone" android:layout_width="0.0dip" android:layout_height="6.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" android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:id="@id/mobile_signal" 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:layout_gravity="bottom|right|center" android:id="@id/mobile_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>
</FrameLayout>
</com.android.systemui.statusbar.SignalClusterView>
ReadReadz said:
can you edit it thanks:silly:
Code:
<?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">
<ImageView android:id="@id/wifi_signal" android:layout_width="wrap_content" android:layout_height="wrap_content" android:scaleType="center" android:layout_alignParentRight="true" android:layout_centerVertical="true" />
<ImageView android:layout_gravity="bottom|center" android:id="@id/wifi_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>
<View android:id="@id/spacer" android:visibility="gone" android:layout_width="0.0dip" android:layout_height="6.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" android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:id="@id/mobile_signal" 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:layout_gravity="bottom|right|center" android:id="@id/mobile_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>
</FrameLayout>
</com.android.systemui.statusbar.SignalClusterView>
Click to expand...
Click to collapse
Yup. It's much the same as the code in the op but with a few icons left out.
Give this a whirl:
Code:
<?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">
<View android:id="@id/spacer" android:visibility="gone" android:layout_width="0.0dip" android:layout_height="6.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" android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:id="@id/mobile_signal" 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:layout_gravity="bottom|right|center" android:id="@id/mobile_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>
</FrameLayout>
<FrameLayout android:id="@id/wifi_combo" android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:id="@id/wifi_signal" android:layout_width="wrap_content" android:layout_height="wrap_content" android:scaleType="center" android:layout_alignParentRight="true" android:layout_centerVertical="true" />
<ImageView android:layout_gravity="bottom|center" android:id="@id/wifi_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>
</com.android.systemui.statusbar.SignalClusterView>
Sent from my Xperia Z using XDA Premium
..Have you tried Tickle My Android yet?
Great Tutorial from tha Great Master...... Thumbsup!!!
for Xperia P,U, Sola, Arc S, Arc, Neo V, Neo its drawable-hdpi
T, TX, V, S, SL, Ion, Acro S
whalesplaho said:
Great Tutorial from tha Great Master...... Thumbsup!!!
for Xperia P,U, Sola, Arc S, Arc, Neo V, Neo its drawable-hdpi
T, TX, V, S, SL, Ion, Acro S
Click to expand...
Click to collapse
Thanks, whales!
Sent from my Xperia Z using XDA Premium
..Have you tried Tickle My Android yet?
Ticklefish said:
Thanks, whales!
Sent from my Xperia Z using XDA Premium
..Have you tried Tickle My Android yet?
Click to expand...
Click to collapse
Yhu rock man... trying it out now!!
Ticklefish said:
When I'm at home, I nearly always have the WiFi on. I have email to check, comics to read, people to talk to..and, of course, the XDA forum to look at.
The trouble is, I don't really like the way I have two separate icons for my network signal and for my WiFi.
Since they're showing signal strength, I figured I may as well merge the two together.
A few minutes with an xml editor and a graphics package later and it was done.
And now I'm going to show you how to do it yourself!
What You Need:
To do this, it's pretty simple. But you will need a few things..
An Android phone or tablet (obviously) running ICS or later
A PC with your devices drivers installed (worth installing any PC suite, if available)
A USB cable to connect your device to your PC
A program that uses apktool. I recommend using Tickle My Android, which is fast, user-friendly and very powerful...but it's up to you. And you'll also need...
..some patience.
Got all that? Excellent! Then let us begin!
Now, before we do any modding of any sort, we need to make a backup so it really helps if you have a recovery installed as well.
We need to edit some of the files contained within system/app/SystemUI.apk. So to do that, we need to decompile it. That's where your apktool-based program comes in. There's a few of those so you'll need to refer to the instructions for that particular program.
Once it's been decompiled, we need to edit layout\signal_cluster_view.xml.
You can edit xml files with MS Notepad, but if you're going to be doing a lot of this, I suggest installing Notepad++. It's specifically designed to editing code and it's free!
This is the code we're faced with:
Code:
<?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">
<ImageView android:id="@id/no_sim" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<View android:id="@id/no_sim_spacer" android:visibility="gone" android:layout_width="6.0dip" android:layout_height="6.0dip" />
<FrameLayout android:id="@id/wifi_combo" android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:id="@id/wifi_signal" android:layout_width="wrap_content" android:layout_height="wrap_content" android:scaleType="center" android:layout_alignParentRight="true" android:layout_centerVertical="true" />
<ImageView android:layout_gravity="bottom|center" android:id="@id/wifi_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>
<View android:id="@id/spacer" android:visibility="gone" android:layout_width="0.0dip" android:layout_height="6.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" />
<LinearLayout android:orientation="horizontal" android:id="@id/mobile_separate" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content">
<FrameLayout android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:id="@id/mobile_separate_type" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:id="@id/mobile_separate_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>
<FrameLayout android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:id="@id/mobile_separate_roaming" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:id="@id/mobile_separate_signal" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>
</LinearLayout>
<FrameLayout android:id="@id/mobile_combo" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:id="@id/mobile_signal" 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:layout_gravity="bottom|right|center" android:id="@id/mobile_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>
</FrameLayout>
<ImageView android:id="@id/airplane" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</com.android.systemui.statusbar.SignalClusterView>
Looks intimidating, doesn't it? If you've never faced xml before, this may look completely incomprehensible to you. But don't worry. It makes sense..and you don't actually need to understand any of it.
This particular xml defines the layout of your WiFi and mobile signal icons. Without going into a lot of detail, the WiFi icon is defined first then the mobile signal icons. And what we're going to do is swap the WiFi and signal icons around.
You'll see why in a little while!
This will give us this code here:
Code:
<?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">
<ImageView android:id="@id/no_sim" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<View android:id="@id/no_sim_spacer" android:visibility="gone" android:layout_width="6.0dip" android:layout_height="6.0dip" />
<View android:id="@id/spacer" android:visibility="gone" android:layout_width="0.0dip" android:layout_height="6.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" />
<LinearLayout android:orientation="horizontal" android:id="@id/mobile_separate" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content">
<FrameLayout android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:id="@id/mobile_separate_type" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:id="@id/mobile_separate_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>
<FrameLayout android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:id="@id/mobile_separate_roaming" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:id="@id/mobile_separate_signal" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>
</LinearLayout>
<FrameLayout android:id="@id/mobile_combo" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:id="@id/mobile_signal" 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:layout_gravity="bottom|right|center" android:id="@id/mobile_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>
</FrameLayout>
<FrameLayout android:id="@id/wifi_combo" android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:id="@id/wifi_signal" android:layout_width="wrap_content" android:layout_height="wrap_content" android:scaleType="center" android:layout_alignParentRight="true" android:layout_centerVertical="true" />
<ImageView android:layout_gravity="bottom|center" android:id="@id/wifi_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>
<ImageView android:id="@id/airplane" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</com.android.systemui.statusbar.SignalClusterView>
Like I said, you'll see why we've done this very soon..
But first we need to change our WiFi icons. Download the attachment, extract it and add the icons to whichever drawable folder your devices uses. This may take a little trial and error. The Xperia Z is a xxhdpi device, so just add them to drawable-xxhdpi. You'll be asked if you want to overwrite the existing files. Just say 'yes'!
And that's all the modding we need to do. Now you need to recompile, sort out the signature, the compression rate, etc. Again, refer to your compiling programs instructions.
Push, flash or manually move your modded SystemUI.apk back to your phone, wait for it to think about everything..then marvel as your statusbar looks that little bit neater and your WiFi icon looks like it's part of your signal icon.
Enjoy!
Click to expand...
Click to collapse
Is there anyway you can make a flasable zip for this ??
Sent from my C6603 using xda premium
MRL3GS said:
Is there anyway you can make a flasable zip for this ??
Sent from my C6603 using xda premium
Click to expand...
Click to collapse
please don't quote op.
@Ticklefish thank you again . It work perfect :good::good::highfive:
Can you make separate the data to signal icon?
If I can't visit here again,
I give you my email for your response. I giue to you my SystemUI thanks
Sent from my MyPhone A848i Duo using xda app-developers app
MRL3GS said:
Is there anyway you can make a flasable zip for this ??
Sent from my C6603 using xda premium
Click to expand...
Click to collapse
It can be made, yes. There are tools out there, like my Tickle My Android, that can help you make zips. Or you can just make your own.
I won't be making them though, as I mentioned in my second post. I did that in a few other threads and there are just too many roms, recovery types and everything else to keep track of.
That's why this is a tutorial, so people can find out how to do all this themselves.
sorryimtaken06 said:
Can you make separate the data to signal icon?
If I can't visit here again,
I give you my email for your response. I giue to you my SystemUI thanks
Sent from my MyPhone A848i Duo using xda app-developers app
Click to expand...
Click to collapse
The data and signal icons can be quite easily separated. That's not a problem, it's just a case of editing the xml in the op.
However, the problem is what the icons look like. Currently, the data icons are meant to fit in the top-left of the signal icons. If they're separate, they'll look silly.
So, you just need to think about what the data icons will actually look like. It's not a code problem..it's an art problem! lol
Well I followed this tutorial on xperia neo v (2011 xperia) but the wifi and signal icons too huge. Its because z has a bigger resolution and icons on status bar. Jst some code modifications will work but I really dont know what codes. @Ticklefish can you help me with it? Thanks for this amazing tutorial.
Sent from my MT11i using Tapatalk 2
maybe I want the icon used in Samsung in their TouchWiz UI. is that possible?
Sent from my MyPhone A848i Duo using xda app-developers app
koradiavatsal said:
Well I followed this tutorial on xperia neo v (2011 xperia) but the wifi and signal icons too huge. Its because z has a bigger resolution and icons on status bar. Jst some code modifications will work but I really dont know what codes. @Ticklefish can you help me with it? Thanks for this amazing tutorial.
Sent from my MT11i using Tapatalk 2
Click to expand...
Click to collapse
Which folder did you put the wifi icons into?
sorryimtaken06 said:
maybe I want the icon used in Samsung in their TouchWiz UI. is that possible?
Sent from my MyPhone A848i Duo using xda app-developers app
Click to expand...
Click to collapse
Yup. Easily. All you need is the Samsung icons and you can overwrite your current ones with them.
Ticklefish said:
Which folder did you put the wifi icons into?
Yup. Easily. All you need is the Samsung icons and you can overwrite your current ones with them.
Click to expand...
Click to collapse
Drawable HDPI
koradiavatsal said:
Drawable HDPI
Click to expand...
Click to collapse
Hmm.. Can you give me a screenshot please?
Sent from my Xperia Z using XDA Premium
..Have you tried Tickle My Android yet?
Ticklefish said:
Hmm.. Can you give me a screenshot please?
Sent from my Xperia Z using XDA Premium
..Have you tried Tickle My Android yet?
Click to expand...
Click to collapse
Sure ill give as soon as i m home in a few hours!
Sent from my Xperia Neo V using Tapatalk 2
Installation Aborted, stock .253
EmeraldTimer said:
Installation Aborted, stock .253
Click to expand...
Click to collapse
Meaning?
Sent from my Xperia Z using XDA Premium
..Have you tried Tickle My Android yet?
Hello Guys,Hope everyone is fine
Today iam going to guide you how to add quickpanel button on statusbar to change layouts with cool sliding animation.
First of all this is not my work I would like to thank XDA Recognized Themer @b16h22 For allowing me to make this guide.
So lets start..
1. First of all download the attached files and merge with your SystemUI.apk
2. Now open statusbar.expanded and add these codes on the top lines anywhere where you want the switching button.
Code:
<com.panel.Button android:id="@id/button" android:layout_width="wrap_content" android:layout_height="wrap_content"/>
3 And then add this code anywhere..
Code:
<com.panel.Panel android:id="@id/panel" android:layout_width="fill_parent" android:layout_height="fill_parent">
<LinearLayout android:layout_width="wrap_content" android:layout_height="fill_parent">
Your First layout
</LinearLayout>
<LinearLayout android:layout_width="wrap_content" android:layout_height="fill_parent">
Your Second Layout
</LinearLayout>
</com.panel.Panel>
4.Now open ids.xml and add these in the last above resources .
Code:
<item type="id" name="panel">false</item>
<item type="id" name="button">false</item>
5.Recompile your SystemUI.apk.
6.Decompile it again.
7.Now open public.xml in values folder
8.Search for panel and copy its id
11.Now open Panel.smali in smali/com/panel/panel and search for 0x7f09004d and replace it with panel id .
12.Similarly,
13.Open public.xml in values folder
14.Search for button and copy its id
15.Now open Button.smali in smali/com/panel/Button and search for 0x7f09004e and replace it with Button id .
16.Also,
17.Open public.xml in values folder
18.Search for btn drawable and copy its id.
19.Now open Button.smali in smali/com/panel/Button and search for 0x7f020190 and replace it with btn id .
20.Now compile your SystemUI.apk
And done.
Screenshots
{
"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"
}
Click to expand...
Click to collapse
san122 said:
Hello Guys,Hope everyone is fine
Click to expand...
Click to collapse
recompiling problem after add ur smali files
Aleemk9 said:
recompiling problem after add ur smali files
Click to expand...
Click to collapse
Make sure u have placed ids in the ids.xml in values folder.
Aleemk9 said:
recompiling problem after add ur smali files
Click to expand...
Click to collapse
If you still have a recompiling problem, it helps if you share what the error message is that you get. Then we can say what's going wrong.
Sent from my C6603 using Tapatalk
Got only switch but no quickpanel buttons ............ do i did some thing worng.
princemouli said:
Got only switch but no quickpanel buttons ............ do i did some thing worng.
Click to expand...
Click to collapse
That depends...what two views were you trying to switch between?
Ticklefish said:
That depends...what two views were you trying to switch between?
Click to expand...
Click to collapse
i got a icon for qucikpanal buttuns but no quickicons as shown in the screen shoots provided in the guide...
for clear understanding see the screen shots i uploaded...
princemouli said:
i got a icon for qucikpanal buttuns but no quickicons as shown in the screen shoots provided in the guide...
for clear understanding see the screen shots i uploaded...
Click to expand...
Click to collapse
Place to linearlayouts bw com.pane....
And
</com.panel.....>
Sent from my GT-S5360 using Tapatalk 2
san122 said:
Place to linearlayouts bw com.pane....
And
</com.panel.....>
Sent from my GT-S5360 using Tapatalk 2
Click to expand...
Click to collapse
brother still not working please check this....
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.phone.ExpandedView android:orientation="vertical" android:focusable="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<FrameLayout android:id="@id/toolBarSwitchPanel" android:background="@drawable/notification_header_bg" android:layout_width="fill_parent" android:layout_height="103.0dip">
<include layout="@layout/zzz_toolbar_view" />
<include layout="@layout/zzz_toolbar_indicator" />
</FrameLayout>
<View android:background="@drawable/status_bar_hr" android:layout_width="fill_parent" android:layout_height="2.0dip" />
<RelativeLayout android:background="@drawable/notification_header_bg" android:paddingTop="3.0dip" android:paddingRight="3.0dip" android:paddingBottom="5.0dip" android:layout_width="fill_parent" android:layout_height="52.0dip">
<com.android.systemui.statusbar.policy.DateView android:textAppearance="@style/TextAppearance.StatusBar.Date" android:gravity="left|center" android:id="@id/date" android:paddingLeft="16.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:layout_alignParentLeft="true" />
<ImageView android:id="@id/settings_button" android:paddingLeft="8.0dip" android:paddingRight="8.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/ic_notify_quicksettings" android:layout_toRightOf="@id/date" android:contentDescription="@string/accessibility_settings_button" />
<ImageView android:id="@id/clear_all_button" android:paddingLeft="8.0dip" android:paddingRight="8.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/ic_notify_clear" android:layout_alignParentRight="true" android:contentDescription="@string/accessibility_clear_all" />
<com.panel.Button android:id="@id/button" android:paddingRight="8.0dip" android:paddingLeft="8.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentRight="true" />
</RelativeLayout>
<View android:background="@drawable/status_bar_hr" android:layout_width="fill_parent" android:layout_height="2.0dip" />
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:paddingTop="20.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content">
<in.jmkl.dcsms.statusbargreper.SlideBrightness android:layout_width="fill_parent" android:layout_height="wrap_content" />
</LinearLayout>
<com.panel.Panel android:id="@id/panel" android:layout_width="fill_parent" android:layout_height="fill_parent">
<LinearLayout android:layout_width="wrap_content" android:layout_height="fill_parent">
Your First layout
</LinearLayout>
<LinearLayout android:layout_width="wrap_content" android:layout_height="fill_parent">
Your Second Layout
</LinearLayout>
</com.panel.Panel>
<FrameLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0">
<TextView android:textAppearance="@*android:style/TextAppearance.Large" android:gravity="left" android:layout_gravity="top" android:id="@id/noNotificationsTitle" android:padding="8.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/status_bar_no_notifications_title" />
<ScrollView android:id="@id/scroll" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="fill_parent" android:overScrollMode="ifContentScrolls">
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">
<com.android.systemui.statusbar.policy.NotificationRowLayout android:id="@id/latestItems" android:layout_width="fill_parent" android:layout_height="wrap_content" systemui:rowHeight="@dimen/notification_height" />
</LinearLayout>
</ScrollView>
<ImageView android:layout_width="fill_parent" android:layout_height="fill_parent" android:src="@drawable/title_bar_shadow" android:scaleType="fitXY" />
</FrameLayout>
</com.android.systemui.statusbar.phone.ExpandedView>[CODE]
[/CODE]
princemouli said:
brother still not working please check this....
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.phone.ExpandedView android:orientation="vertical" android:focusable="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<FrameLayout android:id="@id/toolBarSwitchPanel" android:background="@drawable/notification_header_bg" android:layout_width="fill_parent" android:layout_height="103.0dip">
<include layout="@layout/zzz_toolbar_view" />
<include layout="@layout/zzz_toolbar_indicator" />
</FrameLayout>
<View android:background="@drawable/status_bar_hr" android:layout_width="fill_parent" android:layout_height="2.0dip" />
<RelativeLayout android:background="@drawable/notification_header_bg" android:paddingTop="3.0dip" android:paddingRight="3.0dip" android:paddingBottom="5.0dip" android:layout_width="fill_parent" android:layout_height="52.0dip">
<com.android.systemui.statusbar.policy.DateView android:textAppearance="@style/TextAppearance.StatusBar.Date" android:gravity="left|center" android:id="@id/date" android:paddingLeft="16.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:layout_alignParentLeft="true" />
<ImageView android:id="@id/settings_button" android:paddingLeft="8.0dip" android:paddingRight="8.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/ic_notify_quicksettings" android:layout_toRightOf="@id/date" android:contentDescription="@string/accessibility_settings_button" />
<ImageView android:id="@id/clear_all_button" android:paddingLeft="8.0dip" android:paddingRight="8.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/ic_notify_clear" android:layout_alignParentRight="true" android:contentDescription="@string/accessibility_clear_all" />
<com.panel.Button android:id="@id/button" android:paddingRight="8.0dip" android:paddingLeft="8.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentRight="true" />
</RelativeLayout>
<View android:background="@drawable/status_bar_hr" android:layout_width="fill_parent" android:layout_height="2.0dip" />
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:paddingTop="20.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content">
<in.jmkl.dcsms.statusbargreper.SlideBrightness android:layout_width="fill_parent" android:layout_height="wrap_content" />
</LinearLayout>
<com.panel.Panel android:id="@id/panel" android:layout_width="fill_parent" android:layout_height="fill_parent">
<LinearLayout android:layout_width="wrap_content" android:layout_height="fill_parent">
Your First layout
</LinearLayout>
<LinearLayout android:layout_width="wrap_content" android:layout_height="fill_parent">
Your Second Layout
</LinearLayout>
</com.panel.Panel>
<FrameLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0">
<TextView android:textAppearance="@*android:style/TextAppearance.Large" android:gravity="left" android:layout_gravity="top" android:id="@id/noNotificationsTitle" android:padding="8.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/status_bar_no_notifications_title" />
<ScrollView android:id="@id/scroll" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="fill_parent" android:overScrollMode="ifContentScrolls">
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">
<com.android.systemui.statusbar.policy.NotificationRowLayout android:id="@id/latestItems" android:layout_width="fill_parent" android:layout_height="wrap_content" systemui:rowHeight="@dimen/notification_height" />
</LinearLayout>
</ScrollView>
<ImageView android:layout_width="fill_parent" android:layout_height="fill_parent" android:src="@drawable/title_bar_shadow" android:scaleType="fitXY" />
</FrameLayout>
</com.android.systemui.statusbar.phone.ExpandedView>[CODE]
[/CODE]
Click to expand...
Click to collapse
Why dont you replaced Your first layout and your second layout.
Sent from my GT-S5360 using Tapatalk 2
san122 said:
Why dont you have replaced Your first layout and your second layout.
Sent from my GT-S5360 using Tapatalk 2
Click to expand...
Click to collapse
Sent from my GT-S5360 using Tapatalk 2
san122 said:
Why dont you replaced Your first layout and your second layout.
Sent from my GT-S5360 using Tapatalk 2
Click to expand...
Click to collapse
i didn't understand ......
what things should i add there .........
you have not mentioned in the guide......
princemouli said:
i didn't understand ......
what things should i add there .........
you have not mentioned in the guide......
Click to expand...
Click to collapse
Two linearlayouts which you want to fip in there.
Sent from my GT-S5360 using Tapatalk 2
san122 said:
Two linearlayouts which you want to fip in there.
Sent from my GT-S5360 using Tapatalk 2
Click to expand...
Click to collapse
hooo...
now i came to understand that means i should add icons and i should write the linear layouts for them... which i wanted in statusbar.....
please add this lines clearly to the op so that some others may not confuse like me........
and thanks nice guide..... i will say u the result tommarow
how to adding owner photo in quick panel ?
Ikhsan_novindri said:
how to adding owner photo in quick panel ?
Click to expand...
Click to collapse
Go here
forum.xda-developers.com/showthread.php?t=2341341
Sent from my GT-S5360 using Tapatalk 2
san122 said:
Go here
forum.xda-developers.com/showthread.php?t=2341341
Sent from my GT-S5360 using Tapatalk 2
Click to expand...
Click to collapse
i've tried it , but not working .
im using jb 4.1.2 deodexed
on which CM version we can use this ? only JB?
goudaniket said:
on which CM version we can use this ? only JB?
Click to expand...
Click to collapse
Anyone
Sent from my GT-S5360 using Tapatalk 2
san122 said:
Anyone
Sent from my GT-S5360 using Tapatalk 2
Click to expand...
Click to collapse
cool!
so i can try this on minicm 7.2?