<REQ>[HOWTO] Change ICS App Switcher to Windows Phone 7 Style - Galaxy S II Themes and Apps

http://forum.xda-developers.com/showthread.php?p=23744821
evilisto said:
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/values/dimens.xml
Code:
<dimen name="status_bar_recents_thumbnail_width">192.0dip</dimen>
<dimen name="status_bar_recents_thumbnail_height">305.0dip</dimen>
- /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.)
-----------------------------------------------------------------------------
Click to expand...
Click to collapse
Can someone port this to our device and CM9? a flashable zip would be nice if possible.
thanks

+1
10 chars

plus 99 , up and up. i love big thumbnail

+1
swipe to remove recent used programs is working?

Soon ics will be wp7
Sent from my GT-I9100 using xda premium

I made a thread for this a few weeks ago.. didn't have much interest
Sent from my GT-I9100 using xda premium

joshnichols189 said:
I made a thread for this a few weeks ago.. didn't have much interest
Sent from my GT-I9100 using xda premium
Click to expand...
Click to collapse
Same here dint see much interest in this one either until now.. also if you look in the nexus forums they have chrome preview like app switcher too fully working, ill post links in a bit.
Will be great if someone can take a look and make a flashable zip.

please someone to help us/??

Hello guys..
I'm from the Note forums and I made these mods for our device..
The problem with it on the I9100 is that it depends on framework-res.apk and SystemUI.apk which vary greatly between different ROMs and the I9100 have way too many ROMs to make these mods for each one of them!!
I want to help you, but you understand that it will be hard to make it for so many ROMs let alone the frequent updates those ROMs get..
So may I ask what is the most popular ROM here? would it be CM9? I will try to port it for one ROM first and see how it goes..
Note: I do NOT have I9100 so you will be testing it if I made it..
Please post here framework-res.apk and SystemUI.apk for the wanted ROM (AOSP ICS only, no TouchWiz)

Hydrogenics (a CM9 derivative i think) is quite a popular ROM (pretty f*cking awesome if you ask me! haha) so you might want to try with the latest release 02.04 attached are the files you asked for. Good luck and thanks for doing this!

Ok here is a quick zip and I want someone who is running Hydrogen ICS to test it..
Note:
- I do NOT have I9100 so you're flashing this at your own risk (Backup First!)
- If you installed any mod after flashing hydrogen ROM you'll likely lose them (as most mods are in framework-res.apk and SystemUI.apk just like this one)
Mods:
- Windows Phone 7 switcher: Download Link
- Chrome Browser switcher: Download Link
- Restore zip: Download Link
Let mo know how it goes
EDIT: sorry forgot to credit el_liberator for the zip strucrure..

i will try to make a zip for cm9 as soon as i get my adb working on windows 8

I have tried that mod in CM9 and it doesn't work.I think most of the people using CM9,so I attached the CM9 framework and systemUI to u.Thank you bro.

bluefa1con said:
i will try to make a zip for cm9 as soon as i get my adb working on windows 8
Click to expand...
Click to collapse
If you're planing on using the framework-res.apk and SystemUI.apk I posted for hydrogen ROM I don't think they'll play nicely cause I bet there are framework and settings differences between the 2 ROMs..
What baffles is there is not a single feedback if it's working or not even though many downloaded it :/
EDIT: Just like expected, it won't work on CM9..I've been waiting for someone to confirm it works on hydrogen before I try other ROMs..

matius44 said:
If you're planing on using the framework-res.apk and SystemUI.apk I posted for hydrogen ROM I don't think they'll play nicely cause I bet there are framework and settings differences between the 2 ROMs..
What baffles is there is not a single feedback if it's working or not even though many downloaded it :/
EDIT: Just like expected, it won't work on CM9..I've been waiting for someone to confirm it works on hydrogen before I try other ROMs..
Click to expand...
Click to collapse
Wouldn't surprise me, if most of the downloaders are in fact CM9 users and are ashamed cause they didn't read the instructions well before finding out it doesn't work.
Sent from my GT-I9100 using xda premium

Draak22 said:
Wouldn't surprise me, if most of the downloaders are in fact CM9 users and are ashamed cause they didn't read the instructions well before finding out it doesn't work.
Sent from my GT-I9100 using xda premium
Click to expand...
Click to collapse
Lol then CM9 users will wait till I get back home and mod for them

Sorry guys but can anyone upload me the framework-res.apk and SystemUI.apk from CM9 ROM?
For some I reason I don't know I can not download the ones kityan147 provided..
Thanks..

Here you. Let me know if you need anything else. I do have some mods installed though (Reloaded ICS & Blue Infinitum Theme). Don't know If that's a problem.
Edit: flashed back to stock CM9 and pulled the files so these should work.

Draak22 said:
Here you. Let me know if you need anything else. I do have some mods installed though (Reloaded ICS & Blue Infinitum Theme). Don't know If that's a problem.
Click to expand...
Click to collapse
Unfortunately that will cause some problems..They both have mods on framework and SystemUI so they will yield issues to those not using them, but thanks for the response
If it's not much to ask, please upload the stock ones, don't have very fast internet at the moment

Check post again. Flashed stock CM9 and reuploaded files.
Sent from my GT-I9100 using xda premium

Related

(req) ics app switcher

Idea taken from this thread: http://forum.xda-developers.com/showthread.php?t=1563481
Thoroughly an overwhelming task for someone of my skill , but only wanted to share as I think it would be very well received by myself and I'm sure many others if one was to implement this on our devices.
If not, then I hope some at least found the thread interesting
Sent from my SPH-D710 using XDA
wow
that would be awesome.. I am new to the EG4T, but think this would be a great addition to the usability and functionality of it!
I have been following this mod since it showed up and I will probably give it a shot this weekend. Question: what rom are you guys running? Obviously this will only work with ICS but modifying the FC 24 version won't work because there is no stock deodexed available and modifying what someone else has already modified is a PITA. I was thinking about trying this on FC22(because we have stock deodexed) or CM9(which is what I am currently running). The only problem I see with CM9 is the flashing procedure is very risky. I was kind of holding off until the next leak that was deodexed or official. What do you guys think?
Edit: Also the same person did a similar version which is webOS style with cards, but I like the look of this mod better.
Edit: I am going to attempt on FD02, stock deodexed this weekend
It was actually really easy, took some messing with to get it to look the way I wanted but it works great.
{
"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"
}
rujelus22 said:
It was actually really easy, took some messing with to get it to look the way I wanted but it works great.
Click to expand...
Click to collapse
Any tips before I give it a shot this weekend on FD02, unless you have already done it?
dtm_stretch said:
Any tips before I give it a shot this weekend on FD02, unless you have already done it?
Click to expand...
Click to collapse
One thing I did different was to change where the background was called from. I did that to make the background behind the Task manager button work. Here is what my files look like
framework-res.apk/res/values/dimens.xml
Code:
<dimen name="thumbnail_height">160.0dip</dimen>
<dimen name="thumbnail_width">240.0dip</dimen>
SystemUI.apk
/res/values/bools.xml
Code:
<bool name="config_recents_thumbnail_image_fits_to_xy">true</bool>
/res/values/colors.xml
Code:
<color name="status_bar_recents_app_label_color">#ffffffff</color>
/res/values/drawables.xml
Code:
<item type="drawable" name="status_bar_recents_background_solid">#00000000</item>
<item type="drawable" name="status_bar_recents_app_thumbnail_background">#ff1a1a1a</item>
/res/layout/status_bar_no_recent_apps.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<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="50.0dip" android:text="@string/status_bar_recent_launch_task_manager_title" />
<TextView android:textSize="24.0dip" android:textColor="#ffffffff" 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:paddingTop="15.0dip" android:paddingBottom="15.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content"
xmlns:android="http://schemas.android.com/apk/res/android">
<RelativeLayout android:layout_gravity="center_horizontal" android:id="@id/recent_item" android:layout_width="wrap_content" android:layout_height="wrap_content">
<TextView android:textSize="@dimen/status_bar_recents_app_label_text_size" android:textColor="@color/status_bar_recents_app_label_color" android:ellipsize="marquee" android:id="@id/app_label" android:background="@drawable/recentapp_header" android:paddingLeft="10.0dip" android:paddingTop="5.0dip" android:fadingEdge="none" android:fadingEdgeLength="0.0dip" android:layout_width="240.0dip" android:layout_height="32.0dip" android:layout_marginLeft="0.0dip" android:scrollHorizontally="true" android:singleLine="true" android:layout_alignTop="@id/app_icon" android:layout_alignParentLeft="true" />
<FrameLayout android:id="@id/app_thumbnail" android:background="@drawable/status_bar_recents_app_thumbnail_background" android:visibility="invisible" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="0.0dip" android:foreground="@drawable/recents_thumbnail_fg" android:layout_below="@id/app_label">
<ImageView android:id="@id/app_thumbnail_image" android:paddingLeft="1.0dip" android:paddingRight="1.0dip" android:layout_width="231.0dip" android:layout_height="160.0dip" />
</FrameLayout>
<View android:id="@id/recents_callout_line" android:background="@drawable/recents_callout_line" android:visibility="gone" android:layout_width="@dimen/status_bar_recents_app_label_width" android:layout_height="1.0dip" android:layout_marginLeft="@dimen/status_bar_recents_app_label_left_margin" android:layout_marginTop="3.0dip" android:layout_marginRight="3.0dip" android:layout_toLeftOf="@id/app_thumbnail" android:layout_below="@id/app_label" android:layout_alignParentLeft="true" />
<ImageView android: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_toRightOf="@id/app_label" />
<TextView android:textSize="@dimen/status_bar_recents_app_description_text_size" android:ellipsize="marquee" android:id="@id/app_description" android:visibility="gone" android:fadingEdge="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="3.0dip" android:scrollHorizontally="true" android:singleLine="true" android:layout_below="@id/recents_callout_line" android:layout_alignParentLeft="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:background="#80000000" 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="#00000000" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_alignParentBottom="true">
<com.android.systemui.recent.RecentsVerticalScrollView android:layout_gravity="bottom|left|center" android:id="@id/recents_container" android:scrollbars="none" android:fadingEdge="none" android:fadingEdgeLength="0.0dip" android:clipChildren="false" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginRight="0.0dip" android:stackFromBottom="true" android:divider="@null">
<LinearLayout android:orientation="vertical" android:id="@id/recents_linear_layout" android:clipChildren="false" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="wrap_content" />
</com.android.systemui.recent.RecentsVerticalScrollView>
<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-land/status_bar_recent_item.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout android:paddingLeft="15.0dip" android:paddingRight="15.0dip" 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:layout_width="wrap_content" android:layout_height="wrap_content">
<TextView android:textSize="@dimen/status_bar_recents_app_label_text_size" android:textColor="@color/status_bar_recents_app_label_color" android:ellipsize="marquee" android:id="@id/app_label" android:background="@drawable/recentapp_header" android:paddingLeft="10.0dip" android:paddingTop="5.0dip" android:fadingEdge="none" android:fadingEdgeLength="0.0dip" android:layout_width="240.0dip" android:layout_height="32.0dip" android:layout_marginLeft="0.0dip" android:scrollHorizontally="true" android:singleLine="true" android:layout_alignTop="@id/app_icon" android:layout_alignParentLeft="true" />
<FrameLayout android:id="@id/app_thumbnail" android:background="@drawable/status_bar_recents_app_thumbnail_background" android:visibility="invisible" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="0.0dip" android:foreground="@drawable/recents_thumbnail_fg" android:layout_below="@id/app_label">
<ImageView android:id="@id/app_thumbnail_image" android:paddingLeft="1.0dip" android:paddingRight="1.0dip" android:layout_width="231.0dip" android:layout_height="160.0dip" />
</FrameLayout>
<View android:id="@id/recents_callout_line" android:background="@drawable/recents_callout_line" android:visibility="gone" android:layout_width="@dimen/status_bar_recents_app_label_width" android:layout_height="1.0dip" android:layout_marginLeft="@dimen/status_bar_recents_app_label_left_margin" android:layout_marginTop="3.0dip" android:layout_marginRight="3.0dip" android:layout_toLeftOf="@id/app_thumbnail" android:layout_below="@id/app_label" android:layout_alignParentLeft="true" />
<ImageView android: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_toRightOf="@id/app_label" />
<TextView android:textSize="@dimen/status_bar_recents_app_description_text_size" android:ellipsize="marquee" android:id="@id/app_description" android:visibility="gone" android:fadingEdge="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="3.0dip" android:scrollHorizontally="true" android:singleLine="true" android:layout_below="@id/recents_callout_line" android:layout_alignParentLeft="true" />
</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:background="#80000000" 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="#00000000" 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="horizontal" android:fadingEdgeLength="@dimen/status_bar_recents_fading_edge_length" android:clipChildren="false" android:clipToPadding="false" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginRight="@dimen/status_bar_recents_right_glow_margin" android:stackFromBottom="true" android:divider="@null">
<LinearLayout android:orientation="horizontal" android:id="@id/recents_linear_layout" android:clipChildren="false" android:clipToPadding="false" android:layout_width="wrap_content" android:layout_height="fill_parent" />
</com.android.systemui.recent.RecentsHorizontalScrollView>
<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>
FD02 Recent Apps Mod
Alright I've got the mod done with a flashable zip. Thank Rujelus22 he posted the changes relative to the E4GT and thank Evilisto for the orginal mod. I also attached a zip that will reverse the changes. This can be flashed on the fd02 stock deodexed rom with the slightly modified kernel that Calk included in the FD02 rom, no wipes necessary. If something goes wrong just flash the undo zip. Please leave feedback.
Also should we start a new thread? Rujelus22, would you mind if I posted the mod?
dtm_stretch said:
Alright I've got the mod done with a flashable zip. Thank Rujelus22 he posted the changes relative to the E4GT and thank Evilisto for the orginal mod. I also attached a zip that will reverse the changes. This can be flashed with the slightly modified kernel that Calk included in the FD02 rom, no wipes necessary. If something goes wrong just flash the undo zip. Please leave feedback.
Also should we start a new thread? Rujelus22, would you mind if I posted the mod?
Click to expand...
Click to collapse
Wow you guys are fast! Is that zip compatible with the latest Codename? Version 1.6? Of course I'd probably have to flash it through el26 recovery but I'm just wondering if its compatible since its an aosp rom
Sent from my SPH-D710 using XDA
themisterwilson said:
Wow you guys are fast! Is that zip compatible with the latest Codename? Version 1.6? Of course I'd probably have to flash it through el26 recovery but I'm just wondering if its compatible since its an aosp rom
Sent from my SPH-D710 using XDA
Click to expand...
Click to collapse
Nope this is for the fd02 stock deodexed.
Sent from my SPH-D710 using Tapatalk
dtm_stretch said:
Nope this is for the fd02 stock deodexed.
Sent from my SPH-D710 using Tapatalk
Click to expand...
Click to collapse
Oh bummer. this is when I wished I had a PC to try and do this on my own. Is it even possible to do this wihout one? Or even to make it work w AOSP?
Sent from my SPH-D710 using XDA
themisterwilson said:
Oh bummer. this is when I wished I had a PC to try and do this on my own. Is it even possible to do this wihout one? Or even to make it work w AOSP?
Sent from my SPH-D710 using XDA
Click to expand...
Click to collapse
I do not believe you can compile an apk without a pc. I could be wrong though they always seem to come out with stuff to edit things from the phone.
themisterwilson said:
Oh bummer. this is when I wished I had a PC to try and do this on my own. Is it even possible to do this wihout one? Or even to make it work w AOSP?
Sent from my SPH-D710 using XDA
Click to expand...
Click to collapse
I am really hesitant to do anything for any of the AOSP roms right now just because of the shaky flashing methods. Plus, it would be really difficult to make the mod for the many different versions of even CNA floating around. I imagine that such an easy mod will eventually get integrated into their settings options. However, with that being said, I am a huge fan of CNA and once it becomes stable and I am running it as a daily I will probably do the mod.
rujelus22 said:
I do not believe you can compile an apk without a pc. I could be wrong though they always seem to come out with stuff to edit things from the phone.
Click to expand...
Click to collapse
Well, theoretically I could do it on my work PC. Its certainty capable... any chance you could point me in the quickest direction so as not to have to answer any uncomfortable questions?
And possibly a quick, even relatively vague tutorial?
Sent from my SPH-D710 using XDA
themisterwilson said:
Well, theoretically I could do it on my work PC. Its certainty capable... any chance you could point me in the quickest direction so as not to have to answer any uncomfortable questions?
And possibly a quick, even relatively vague tutorial?
Sent from my SPH-D710 using XDA
Click to expand...
Click to collapse
1. Download the tool agat put up in the development section
2. Pull the systemUI.apk and framework-res.apk out of the rom you want to modify.
3. Put them in the _INPUT_APK
4. press 14, drag and drop the apk.
5. Make the changes rejules22 posted.
a. Navigate to res folder and make the changes to the xml identified in the guide.
b. If you look at the original guide, there is a file attached that is the image you need, rename it to recentapp_header and drop it in the res/drawable and res/drawable-HDPI
6. Compile each apk (option 15)
7. Pull the apk from _APK_OUTPUT put the apks in a flashable zip(use a theme and pull the files out).
**Just so you are aware, using these tools with ICS is sometimes difficult because they haven't been updated so it means switching out apktool.jar(s)
dtm_stretch said:
1. Download the tool agat put up in the development section
2. Pull the systemUI.apk and framework-res.apk out of the rom you want to modify.
3. Put them in the _INPUT_APK
4. press 14, drag and drop the apk.
5. Make the changes rejules22 posted.
a. Navigate to res folder and make the changes to the xml identified in the guide.
b. If you look at the original guide, there is a file attached that is the image you need, rename it to recentapp_header and drop it in the res/drawable and res/drawable-HDPI
6. Compile each apk (option 15)
7. Pull the apk from _APK_OUTPUT put the apks in a flashable zip(use a theme and pull the files out).
**Just so you are aware, using these tools with ICS is sometimes difficult because they haven't been updated so it means switching out apktool.jar(s)
Click to expand...
Click to collapse
Wow that's pretty concise and short enough that I just might attempt it. So will any of the image files from the original post work as long as I rename it correctly and place it in the correct place?
and thanks again for all the help. I'll let u know how it goes!!
Sent from my SPH-D710 using XDA
themisterwilson said:
Wow that's pretty concise and short enough that I just might attempt it. So will any of the image files from the original post work as long as I rename it correctly and place it in the correct place?
and thanks again for all the help. I'll let u know how it goes!!
Sent from my SPH-D710 using XDA
Click to expand...
Click to collapse
Yup they should work. Although, it probably wont work with the windows 7 version because that alters the rotation and swiping of the recent apps but I think his windows 7 version is a whole other thread.
dtm_stretch said:
I am really hesitant to do anything for any of the AOSP roms right now just because of the shaky flashing methods. Plus, it would be really difficult to make the mod for the many different versions of even CNA floating around. I imagine that such an easy mod will eventually get integrated into their settings options. However, with that being said, I am a huge fan of CNA and once it becomes stable and I am running it as a daily I will probably do the mod.
Click to expand...
Click to collapse
well, after tonight i think i'll have to wait until somebody decides to do it for CNA. Im apparently such a tool that i cant get the APK tool to even open. Says i dont have java installed, which i do. Even the java SDK, and also the Android SDK. Still a no go. Im willing to work on that if someone can point me in the right direction.
As far as the flashing, I was thinking to just push the framework and systemUI apk's using root explorer and reboot. hoping that would work?
Any ideas?
The multitool should just be an archive and all you should have to do is extract it with 7zip or winrar. I have had a lot of issues with using a file explorer to push framework-res.apk it usually causes problems, you can use adb though.
Oh, i did get that far. I extracted it and clicked AutoAPKToolMain and it says "java not found. you will not be able to sign apks or apk tool... hit any key to continue.." then exits
themisterwilson said:
Oh, i did get that far. I extracted it and clicked AutoAPKToolMain and it says "java not found. you will not be able to sign apks or apk tool... hit any key to continue.." then exits
Click to expand...
Click to collapse
Do you have this? http://www.oracle.com/technetwork/java/javase/downloads/index.html
Make sure to install the JRE version under Java Platform, Standard Edition it is on the right side next to JDK.

[MOD] Remove clock from the status bar for ICS

Quick MOD to remove the clock for most ICS ROMS
{
"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"
}
Must be able to decompile and recompile to do this MOD!
ICS is different then GB when it comes to decompiling some apks mainly the SystemUI.apk because of the classes dex! So do some research first!
Decompile the SystemUI.apk
Then go to res\layout find the tw_status_bar.xml
This MOD was done on using the DARKSIDE.EVOLUTION.3 [6.12.2012] [v1]ROM should be the same with most Samsung ICS ROMS! or damn close!​
Here is the tw_status_bar.xml from the Darkside Rom
The line in red is the clock code
delete that entire line (line 17 in my case, may be different depending on your rom)
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="6.0dip" android:paddingRight="6.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent">
<LinearLayout android:orientation="horizontal" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0">
<com.android.systemui.statusbar.StatusBarIconView android:id="@id/moreIcon" android:visibility="gone" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="fill_parent" android:src="@drawable/stat_notify_more" />
<com.android.systemui.statusbar.phone.IconMerger android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/notificationIcons" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_alignParentLeft="true" />
</LinearLayout>
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/statusIcons" android:layout_width="wrap_content" android:layout_height="fill_parent" />
<LinearLayout android:gravity="center" android:orientation="horizontal" android:id="@id/signal_battery_cluster" android:paddingLeft="2.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent">
<ImageView android:id="@id/ims_icon" android:paddingLeft="4.0dip" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<include android:id="@id/signal_cluster" android:layout_width="wrap_content" android:layout_height="wrap_content" layout="@layout/tw_signal_cluster_view" />
<TextView android:textSize="12.0dip" android:textStyle="bold" android:textColor="#ffa6a6a6" android:layout_gravity="bottom|left|center" android:id="@id/battery_text" android:paddingBottom="1.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/status_bar_network_name_separator" />
<ImageView android:gravity="center" android:id="@id/battery" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</LinearLayout>
[COLOR="Red"]<com.android.systemui.statusbar.policy.Clock android:textSize="19.0dip" android:textColor="#ffa6a6a6" android:gravity="left|center" android:id="@id/clock" android:paddingLeft="3.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:includeFontPadding="false" />[/COLOR]
</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="centerInside" />
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:scaleType="centerInside" />
</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:id="@id/ticker_text_view_old" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
<TextView android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker" android:id="@id/ticker_text_view_new" 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.CarrierLabel android:gravity="center_vertical" android:id="@id/carrierLabel" android:background="#ff000000" android:paddingLeft="6.0dip" android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
</com.android.systemui.statusbar.phone.PhoneStatusBarView>
Once deleted it should now look like this!
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="6.0dip" android:paddingRight="6.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent">
<LinearLayout android:orientation="horizontal" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0">
<com.android.systemui.statusbar.StatusBarIconView android:id="@id/moreIcon" android:visibility="gone" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="fill_parent" android:src="@drawable/stat_notify_more" />
<com.android.systemui.statusbar.phone.IconMerger android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/notificationIcons" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_alignParentLeft="true" />
</LinearLayout>
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/statusIcons" android:layout_width="wrap_content" android:layout_height="fill_parent" />
<LinearLayout android:gravity="center" android:orientation="horizontal" android:id="@id/signal_battery_cluster" android:paddingLeft="2.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent">
<ImageView android:id="@id/ims_icon" android:paddingLeft="4.0dip" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<include android:id="@id/signal_cluster" android:layout_width="wrap_content" android:layout_height="wrap_content" layout="@layout/tw_signal_cluster_view" />
<TextView android:textSize="12.0dip" android:textStyle="bold" android:textColor="#ffa6a6a6" android:layout_gravity="bottom|left|center" android:id="@id/battery_text" android:paddingBottom="1.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/status_bar_network_name_separator" />
<ImageView android:gravity="center" android:id="@id/battery" 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="@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="centerInside" />
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:scaleType="centerInside" />
</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:id="@id/ticker_text_view_old" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
<TextView android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker" android:id="@id/ticker_text_view_new" 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.CarrierLabel android:gravity="center_vertical" android:id="@id/carrierLabel" android:background="#ff000000" android:paddingLeft="6.0dip" android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
</com.android.systemui.statusbar.phone.PhoneStatusBarView>
Recompile your work and enjoy!
But remember decompiling ICS is different mainly the SystemUI.apk so do your research first!!!!!!!
I attached my apk from the DARKSIDE.EVOLUTION.3 [6.12.2012] [v1] Rom that you can ADB push it to your phone
And I will take this one too
Stupid easy. Thank you!
From my T-Mobile Galaxy S II
Is there anyway to get this flashable?
told you lol
Sent from my SGH-T989 using XDA
troyism said:
Is there anyway to get this flashable?
Click to expand...
Click to collapse
yea but it will still have the stck theme just the clocked removed
Sent from my SGH-T989 using XDA
Hi evilart, thanks for the mod. Btw, do you know if i wanted to add % to the battery indicator on darkside evo3, which xml should i modify thanks in advance
Sent from my SGH-T989 using xda premium
dukeoflove said:
Hi evilart, thanks for the mod. Btw, do you know if i wanted to add % to the battery indicator on darkside evo3, which xml should i modify thanks in advance
Sent from my SGH-T989 using xda premium
Click to expand...
Click to collapse
It's in the SystemUI.apk
res/drawable
stat_sys_battery.xml
stat_sys_battery_charge.xml
Mod those then add you battery images
Sent from my SGH-T989 using XDA
Or if you want take those files and all 204 battery images from my toxic theme and try it out then replace the instead with the ones you want
Sent from my SGH-T989 using XDA
evil1art said:
It's in the SystemUI.apk
res/drawable
stat_sys_battery.xml
stat_sys_battery_charge.xml
Mod those then add you battery images
Sent from my SGH-T989 using XDA
Click to expand...
Click to collapse
Thank you so much.
Sent from my SGH-T989 using xda premium
One more question. I want to make a white background for the mms apk like the one in darkside ucle2 rom. Can you point me to the right direction. I've been trying to make a rom to my liking. And your help is much appreciated. Thank you
Sent from my SGH-T989 using xda premium
dukeoflove said:
One more question. I want to make a white background for the mms apk like the one in darkside ucle2 rom. Can you point me to the right direction. I've been trying to make a rom to my liking. And your help is much appreciated. Thank you
Sent from my SGH-T989 using xda premium
Click to expand...
Click to collapse
i never messed with it but i can look into it just use the mms.apk from ucle2 it should work
Sent from my SGH-T989 using XDA
hey evil, would you happen to know how to remove the battery icon from the status bar? TIA!
RogueCoyote said:
hey evil, would you happen to know how to remove the battery icon from the status bar? TIA!
Click to expand...
Click to collapse
Yea but why would you do that?
I have a miui style battery bar at the top of my screen so the battery icon in the status bar is a bit redundant. Looks like the battery icon is also set in the tw_status_bar.xml?
RogueCoyote said:
I have a miui style battery bar at the top of my screen so the battery icon in the status bar is a bit redundant. Looks like the battery icon is also set in the tw_status_bar.xml?
Click to expand...
Click to collapse
Just delete line for battery in the tw status bar xml
evil1art said:
Just delete line for battery in the tw status bar xml
Click to expand...
Click to collapse
Do you mean this line:
Code:
<ImageView android:gravity="center" android:id="@id/battery" android:layout_width="wrap_content" android:layout_height="wrap_content" />
Deleting this line results in systemui FC after reboot.
RogueCoyote said:
Do you mean this line:
Code:
<ImageView android:gravity="center" android:id="@id/battery" android:layout_width="wrap_content" android:layout_height="wrap_content" />
Deleting this line results in systemui FC after reboot.
Click to expand...
Click to collapse
Hmmm I would have to try it myself and see when Im not so busy
That would be great. Thanks!

Mod Framework-res.apk ( lockscreen accuweather - ODEX XXELLA) [little guide 9-1-2013]

Hello, again, and happy 2013.
This mod work me now in stock rom XXELLA ODEX, I don't know if this mod work in others roms odex or deodex.
Framework Lockscreen - MOD XXELLA ( odex ) [dkt] NEW VERSION 6-1-2013
http://dl.dropbox.com/u/69301771/Framework Lockscreen - MOD XXELLA ( odex ) [dkt].zip
(( NOTE.-
(1) Make a backup.
(2) or Make a zip with your actual framework-res.apk: delete the framework-res.apk into the zip, and copy-drag your actual framework- res.apk in the zip, copy this zip in your sdcard, and install by recovery if your phone bootloop ))
LITTLE GUIDE MAKE THIS MOD:
The files I modified in the framework-res.apk are:
*(1) Inside res folder -> layout-sw360dp folder -> keyguard_circlelock_clockwidget.xml
changed this original text of line 53 to line 66
HTML:
<view android:orientation="vertical" android:id="@id/clock_weather" android:paddingTop="8.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" class="com.android.internal.policy.impl.sec.ClockWidget$Weather">
<TextView android:textSize="16.0dip" android:textColor="#ffebebeb" android:ellipsize="none" android:gravity="center" android:id="@id/clock_weather_no_service" android:padding="15.0dip" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" android:shadowColor="@color/black" android:shadowDx="1.0" android:shadowDy="1.0" android:shadowRadius="1.0" />
<LinearLayout android:gravity="center" android:orientation="vertical" android:id="@id/clock_weather_data_box" android:layout_width="fill_parent" android:layout_height="wrap_content">
<RelativeLayout android:layout_width="fill_parent" android:layout_height="74.0dip">
<LinearLayout android:gravity="top" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentTop="true" android:layout_centerHorizontal="true">
<TextView android:textSize="39.0dip" android:typeface="sans" android:textColor="#fff9f9f9" android:gravity="bottom" android:id="@id/clock_weather_temp" android:layout_width="wrap_content" android:layout_height="44.0dip" android:layout_marginTop="3.0dip" android:shadowColor="#55000000" android:shadowDx="3.0" android:shadowDy="3.0" android:shadowRadius="1.0" />
<ImageView android:id="@id/clock_weather_temp_unit" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/keyguard_lockscreen_ic_celsius" />
<ImageView android:id="@id/clock_weather_icon" android:layout_width="83.0dip" android:layout_height="49.0dip" android:scaleType="fitXY" />
</LinearLayout>
<TextView android:textSize="22.0dip" android:textColor="#fff9f9f9" android:ellipsize="marquee" android:gravity="bottom" android:id="@id/clock_weather_city" android:layout_width="wrap_content" android:layout_height="30.0dip" android:singleLine="true" android:shadowColor="#55000000" android:shadowDx="3.0" android:shadowDy="3.0" android:shadowRadius="1.0" android:layout_alignParentBottom="true" android:layout_centerHorizontal="true" android:marqueeRepeatLimit="marquee_forever" />
</RelativeLayout>
<ImageView android:id="@id/clock_weather_logo_icon" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/keyguard_lockscreen_ic_weather_logo" />
</LinearLayout>
</view>
by this new text:
HTML:
<view android:orientation="vertical" android:id="@id/clock_weather" android:paddingTop="8.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" class="com.android.internal.policy.impl.sec.ClockWidget$Weather">
<TextView android:textSize="16.0dip" android:textColor="#ffebebeb" android:ellipsize="none" android:gravity="center" android:id="@id/clock_weather_no_service" android:padding="15.0dip" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" android:shadowColor="@color/black" android:shadowDx="1.0" android:shadowDy="1.0" android:shadowRadius="1.0" />
<LinearLayout android:gravity="center" android:orientation="vertical" android:id="@id/clock_weather_data_box" android:layout_width="fill_parent" android:layout_height="wrap_content">
<ImageView android:id="@id/clock_weather_icon" android:layout_width="155.0dip" android:layout_height="128.0dip" />
<LinearLayout android:gravity="top" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentTop="true" android:layout_centerHorizontal="true">
<TextView android:textSize="20.0dip" android:typeface="sans" android:textStyle="bold" android:textColor="#fff6f7c9" android:gravity="bottom" android:id="@id/clock_weather_temp" android:layout_width="wrap_content" android:layout_height="24.0dip" android:layout_marginTop="3.0dip" android:shadowColor="#55000000" android:shadowDx="3.0" android:shadowDy="3.0" android:shadowRadius="1.0" />
<ImageView android:id="@id/clock_weather_temp_unit" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/keyguard_lockscreen_ic_celsius" />
</LinearLayout>
<TextView android:textSize="18.0dip" android:textColor="#fff9f9f9" android:ellipsize="marquee" android:gravity="bottom" android:id="@id/clock_weather_city" android:layout_width="wrap_content" android:layout_height="22.0dip" android:singleLine="true" android:shadowColor="#55000000" android:shadowDx="3.0" android:shadowDy="3.0" android:shadowRadius="1.0" android:layout_alignParentBottom="true" android:layout_centerHorizontal="true" android:marqueeRepeatLimit="marquee_forever" />
</LinearLayout>
</view>
*(2)Inside res folder -> drawable-hdpi folder-> add this pack icons ( weather icons + ºC icon )
http://dl.dropbox.com/u/69301771/icons drawable-hdpi & drawable-xhdpi.rar
*(3)Inside res folder -> drawable-xhdpi folder -> add again the same pack icons before indicated.
(( NOTE.- For changed the xml you need decompile and compile framework-res.apk, for it you can use apk manager of Wanam.))
*********************************
Older version 1-1-2013
A month ago, I have the courage to modify the lockscreen of the stock roms deodex XXELKC & XXELK4, changing weather icons and editting xmls for redesign the lockscreen. In this case these are the framework-res.apk. More difficult in my opinion.
Finally, I have obtained, and work it over last sotck roms deodex XXELKC & XXELK4 of Wanam.
I don't know if this mod work in others roms odex or deodex. ( I'm beginner in android )
{
"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"
}
Framework Lockscreen Accuweather - MOD XXELK4 & XXELKC ( deodex ) [dkt] ( 1-1-2013 ) old version
http://dl.dropbox.com/u/69301771/Framework Lockscreen Accuweather - MOD XXELK4 & XXELKC [dkt].zip
A embrace.
dkt.
Nice, where'd you get those drawables from?
Test and working great on l5. Thank you
On LLA Ultima v8.0 bootloop just to inform
Hello
Please Make it fo XXELLA base
Thanks
Looks great.
Does it work on ELKC odex?
On xxl4 odex, i had to reflash my phone. I got bootlop
Sent from my GT-I9300 using xda premium
ghul21 said:
On LLA Ultima v8.0 bootloop just to inform
Click to expand...
Click to collapse
Yes, I have lots of stuff that works on my modified framework-res so this will cause problems!
I like the modded weather, though I may incorporate this (with permission of course).
Please make for odex
GT-I9300 cihazımdan Tapatalk 2 ile gönderildi
VikingRom v2.3 Bootloop
Kryten2k35 said:
Yes, I have lots of stuff that works on my modified framework-res so this will cause problems!
I like the modded weather, though I may incorporate this (with permission of course).
Click to expand...
Click to collapse
Of course Kryten2k35.
Make new version for stock rom odex XXELLA in the first post ( run me actually ). I don't know if work in another roms odex or deodex.
dkt
It's work for OMEGA v36
wanamlite bootloop ;< plz make new version for deodex. love your work
Yes, it's works on Omega v36,but only this new one (XXELLA)
Thank God i have dualboot.From the first one i got bootlop, secone one works fine.Thnkx
Sent from my GT-I9300 using xda premium
Hello,
Very nice mod. Is is possible to be made as a vrtheme that can be applied on any framework to not lose other original framework customisations ?
Could you share with us the modified files?
Best regards.
Will this work on omega v35????????
Sent from my GT-I9300 using xda app-developers app
MOD XXELLA (odex) works on ELKC odex
thanks
Guys,
This mod is bases on Framework-res file. That means :
- It not depends on ODEXED/DEODEXED Roms as it only contains resources which are not odexed,
- If you install this Mod, it will replace your existing Framework-res file -> if you don't have exactly the same ROM that the one use to make the mod, you will break your system. And please note that also means it is NOT compatible with other MODs like JKay's !!!
I looked a little bit into the new framework-res file and it seems that some PNGs have been changed but also some XMLs in the layouts which are compiled. That make it difficult to be a VR-Theme.
Is this mod works ok with crt+3 lockscreen+15 inkeffect+torch?
Hello, again.
The files I modified in the framework-res.apk are:
*(1) Inside res folder -> layout-sw360dp folder -> keyguard_circlelock_clockwidget.xml
changed this original text of line 53 to line 66
HTML:
<view android:orientation="vertical" android:id="@id/clock_weather" android:paddingTop="8.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" class="com.android.internal.policy.impl.sec.ClockWidget$Weather">
<TextView android:textSize="16.0dip" android:textColor="#ffebebeb" android:ellipsize="none" android:gravity="center" android:id="@id/clock_weather_no_service" android:padding="15.0dip" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" android:shadowColor="@color/black" android:shadowDx="1.0" android:shadowDy="1.0" android:shadowRadius="1.0" />
<LinearLayout android:gravity="center" android:orientation="vertical" android:id="@id/clock_weather_data_box" android:layout_width="fill_parent" android:layout_height="wrap_content">
<RelativeLayout android:layout_width="fill_parent" android:layout_height="74.0dip">
<LinearLayout android:gravity="top" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentTop="true" android:layout_centerHorizontal="true">
<TextView android:textSize="39.0dip" android:typeface="sans" android:textColor="#fff9f9f9" android:gravity="bottom" android:id="@id/clock_weather_temp" android:layout_width="wrap_content" android:layout_height="44.0dip" android:layout_marginTop="3.0dip" android:shadowColor="#55000000" android:shadowDx="3.0" android:shadowDy="3.0" android:shadowRadius="1.0" />
<ImageView android:id="@id/clock_weather_temp_unit" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/keyguard_lockscreen_ic_celsius" />
<ImageView android:id="@id/clock_weather_icon" android:layout_width="83.0dip" android:layout_height="49.0dip" android:scaleType="fitXY" />
</LinearLayout>
<TextView android:textSize="22.0dip" android:textColor="#fff9f9f9" android:ellipsize="marquee" android:gravity="bottom" android:id="@id/clock_weather_city" android:layout_width="wrap_content" android:layout_height="30.0dip" android:singleLine="true" android:shadowColor="#55000000" android:shadowDx="3.0" android:shadowDy="3.0" android:shadowRadius="1.0" android:layout_alignParentBottom="true" android:layout_centerHorizontal="true" android:marqueeRepeatLimit="marquee_forever" />
</RelativeLayout>
<ImageView android:id="@id/clock_weather_logo_icon" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/keyguard_lockscreen_ic_weather_logo" />
</LinearLayout>
</view>
by this new text:
HTML:
<view android:orientation="vertical" android:id="@id/clock_weather" android:paddingTop="8.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" class="com.android.internal.policy.impl.sec.ClockWidget$Weather">
<TextView android:textSize="16.0dip" android:textColor="#ffebebeb" android:ellipsize="none" android:gravity="center" android:id="@id/clock_weather_no_service" android:padding="15.0dip" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" android:shadowColor="@color/black" android:shadowDx="1.0" android:shadowDy="1.0" android:shadowRadius="1.0" />
<LinearLayout android:gravity="center" android:orientation="vertical" android:id="@id/clock_weather_data_box" android:layout_width="fill_parent" android:layout_height="wrap_content">
<ImageView android:id="@id/clock_weather_icon" android:layout_width="155.0dip" android:layout_height="128.0dip" />
<LinearLayout android:gravity="top" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentTop="true" android:layout_centerHorizontal="true">
<TextView android:textSize="20.0dip" android:typeface="sans" android:textStyle="bold" android:textColor="#fff6f7c9" android:gravity="bottom" android:id="@id/clock_weather_temp" android:layout_width="wrap_content" android:layout_height="24.0dip" android:layout_marginTop="3.0dip" android:shadowColor="#55000000" android:shadowDx="3.0" android:shadowDy="3.0" android:shadowRadius="1.0" />
<ImageView android:id="@id/clock_weather_temp_unit" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/keyguard_lockscreen_ic_celsius" />
</LinearLayout>
<TextView android:textSize="18.0dip" android:textColor="#fff9f9f9" android:ellipsize="marquee" android:gravity="bottom" android:id="@id/clock_weather_city" android:layout_width="wrap_content" android:layout_height="22.0dip" android:singleLine="true" android:shadowColor="#55000000" android:shadowDx="3.0" android:shadowDy="3.0" android:shadowRadius="1.0" android:layout_alignParentBottom="true" android:layout_centerHorizontal="true" android:marqueeRepeatLimit="marquee_forever" />
</LinearLayout>
</view>
*(2)Inside res folder -> drawable-hdpi folder-> add this pack icons ( weather icons + ºC icon )
http://dl.dropbox.com/u/69301771/icons drawable-hdpi & drawable-xhdpi.rar
*(3)Inside res folder -> drawable-xhdpi folder -> add again the same pack icons before indicated.
(( NOTE.- For changed the xml you need decompile and compile framework-res.apk, for it you can use apk manager of Wanam.))
dkt

[MOD][GUIDE]Windows Phone style Task Switcher for Jellybean.

This mod is originally posted HERE by Evilisto and copy-pasting given code works for ICS, but NOT for JB. So, i worked out the little modifications to be done for JB, and i hope this helps​.​
REQUIRED STUFF.
-- Apktool. 1.5.0 works best for me, but if not, a previous version is fine too.
-- framework-res.apk from ROM.
-- SystemUI.apk from ROM.
-- Knowledge on decompiling, recompiling apks.
-- Notepad++ recommended.
HOW-TO.
-- Copy framework-res.apk and SystemUI.apk to your folder.
-- Install framework-res.apk. This step is important.
Code:
apktool if framework-res.apk
-- Decompile framework-res.apk
Code:
apktool d framework-res.apk
This will give you a folder called framework-res. This is your decompiled apk.
-- Decompile SystemUI.apk
Code:
apktool d SystemUI.apk
This will give you a folder named SystemUI.
-- Alternatively, you can specify the folder name to be created. For ex : i want framework for framework-res.apk folder :
Code:
apktool d framework-res.apk framework
This will name the folder framework.
OR
Code:
apktool d SystemUI.apk System
This will give you folder named System for decompiled SystemUI.apk
==================================================
IN FRAMEWORK-RES.APK
-- Open framework-res folder. Navigate to res/values, right-click on Dimens.xml and select 'edit with Notepad++' or any other you may prefer.
Find default values of the following values and change it to given values.
res/values/dimens.xml
Code:
<dimen name="thumbnail_height">270.0dip</dimen>
<dimen name="thumbnail_width">192.0dip</dimen>
===================================================
IN SYSTEMUI.APK
-- Save file, go back and open your SystemUI folder and open the res/ folder.
-- Copy paste the following code by editing specified files.
res/values/dimens.xml
Code:
<dimen name="thumbnail_height">270.0dip</dimen>
<dimen name="thumbnail_width">192.0dip</dimen>
res/values/drawables.xml
ADD THE FOLLOWING LINE :
Code:
<item type="drawable" name="status_bar_recents_background_solid">#ff33b1e1</item>
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" systemui:recentItemLayout="@layout/status_bar_recent_item"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<View android:id="@id/recents_transition_background" android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="fill_parent" />
<FrameLayout android:id="@id/recents_bg_protect" android:background="@drawable/status_bar_recents_background_solid" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_centerVertical="true">
<ImageView android:id="@id/recents_transition_placeholder_icon" android:visibility="invisible" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<com.android.systemui.recent.RecentsHorizontalScrollView android:layout_gravity="bottom|left|center" android:id="@id/recents_container" android:scrollbars="none" android:fadingEdge="none" android:fadingEdgeLength="0.0dip" android:clipChildren="false" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginRight="0.0dip" android:stackFromBottom="true" android:divider="@null">
<LinearLayout android:orientation="horizontal" android:id="@id/recents_linear_layout" android:clipChildren="false" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="wrap_content" />
</com.android.systemui.recent.RecentsHorizontalScrollView>
</FrameLayout>
<include android:id="@id/recents_no_apps" android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="fill_parent" layout="@layout/status_bar_no_recent_apps" />
</com.android.systemui.recent.RecentsPanelView>
res/layout-port/status_bar_recent_item.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout android:paddingTop="@dimen/status_bar_recents_item_padding" android:paddingBottom="@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: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="270.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>
<View android:id="@id/recents_callout_line" android:background="@drawable/recents_callout_line" android:layout_width="@dimen/status_bar_recents_app_label_width" android:layout_height="1.0dip" android:layout_marginLeft="@dimen/status_bar_recents_app_label_left_margin" android:layout_marginTop="3.0dip" android:layout_marginRight="3.0dip" android:layout_toLeftOf="@id/app_thumbnail" android:layout_below="@id/app_label" android:layout_alignParentLeft="true" />
<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_text_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="95.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_text_fading_edge_length" android:layout_width="@dimen/status_bar_recents_app_label_width" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/status_bar_recents_app_label_left_margin" android:layout_marginTop="40.0dip" android:scrollHorizontally="true" android:singleLine="true" android:layout_below="@id/app_label" android:layout_alignLeft="@id/app_thumbnail" android:layout_alignParentBottom="true" />
</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" systemui:recentItemLayout="@layout/status_bar_recent_item"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<View android:id="@id/recents_transition_background" android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="fill_parent" />
<FrameLayout android:id="@id/recents_bg_protect" android:background="@drawable/status_bar_recents_background_solid" android:clipChildren="false" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_alignParentBottom="true">
<ImageView android:id="@id/recents_transition_placeholder_icon" android:visibility="invisible" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<com.android.systemui.recent.RecentsHorizontalScrollView android:layout_gravity="bottom|right|center" android:orientation="horizontal" android:id="@id/recents_container" android:scrollbars="none" android:fadingEdge="horizontal" android:fadingEdgeLength="@dimen/status_bar_recents_scroll_fading_edge_length" android:clipChildren="false" android:clipToPadding="false" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginRight="@dimen/status_bar_recents_right_glow_margin" android:stackFromBottom="true" android:divider="@null">
<LinearLayout android:orientation="horizontal" android:id="@id/recents_linear_layout" android:clipChildren="false" android:clipToPadding="false" android:layout_width="wrap_content" android:layout_height="fill_parent" />
</com.android.systemui.recent.RecentsHorizontalScrollView>
</FrameLayout>
<include android:id="@id/recents_no_apps" android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="fill_parent" layout="@layout/status_bar_no_recent_apps" />
</com.android.systemui.recent.RecentsPanelView>
res/layout-land/status_bar_recent_item.xml
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="125.0dip" android:layout_height="180.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_text_fading_edge_length" android:layout_width="@dimen/status_bar_recents_app_label_width" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/status_bar_recents_app_label_left_margin" android:layout_marginTop="@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_text_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/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>
=================================================
-- Recompile SystemUI.apk
Code:
apktool b SystemUI SystemUI2.apk
-- Recompile framework-res.apk
Code:
apktool b framework-res framework-res2.apk
-- Open SystemUI.apk and SystemUI2.apk with 7-zip. Select open archive.
-- Delete resources.arsc, classes.dex and res folder from original SystemUI.apk
-- Copy resources.arsc, classes.dex and res folder from SystemUI2.apk and paste them into the SystemUI.apk archive.[/COLOR]
-- Now, here, i usually use Apk-Multitool but you can use CMD too. Now you need to zipalign SystemUI.apk. There are different methods, best is to download APkMultiTool and do it. Or if you have the SDK, you can do it directly through command prompt or terminal.
-- Connect phone to PC.
-- Copy SystemUI.apk and framework-res2.apk and rename framework-res2.apk to framework-res.apk.
--Move SystemUI.apk to system/app and set rw-r--r-- permissions. Move framework-res.apk to system/framework and set rw-r--r-- permissions.
-- Reboot and you're done.
Credits to Evilisto and others listed in his credits​​
Idk, Why...but reserved
Howdy Ho
Yall Doing a greaty Thing out there
Sent from my ST25i using xda app-developers app
SpaceCaker said:
Howdy Ho
Yall Doing a greaty Thing out there
Sent from my ST25i using xda app-developers app
Click to expand...
Click to collapse
Cheers,
K.A.
Awesome guide, but before i start on this unexpected journey(Hobbit reference) can I see some screenshots please? Thanks for your hard work.
TJ_Ahluwalia said:
Awesome guide, but before i start on this unexpected journey(Hobbit reference) can I see some screenshots please? Thanks for your hard work.
Click to expand...
Click to collapse
Screenshots of? Finished work? If yes see my mods thread in android development section.
Cheers,
K.A.
Great Guide!
Was just browsing by, and i saw this. Great guide mate.
Will try it. Might just work on a different device.
masterex567 said:
Was just browsing by, and i saw this. Great guide mate.
Will try it. Might just work on a different device.
Click to expand...
Click to collapse
It works but u need tochange the dip to your device specific size
Sent from my ST25i using xda app-developers app
SpaceCaker said:
It works but u need tochange the dip to your device specific size
Sent from my ST25i using xda app-developers app
Click to expand...
Click to collapse
Yup i know... what are the stock dips for ace?
masterex567 said:
Yup i know... what are the stock dips for ace?
Click to expand...
Click to collapse
These mentioned in guide
Sent from my ST25i using xda app-developers app
SpaceCaker said:
These mentioned in guide
Sent from my ST25i using xda app-developers app
Click to expand...
Click to collapse
What he said. I've mentioned the dpis for the Ace, to do it for another device, you OBVIOUSLY need it to be for jellybean, and the only thing you need to change are the dpis according to yourself..
King ACE said:
What he said. I've mentioned the dpis for the Ace, to do it for another device, you OBVIOUSLY need it to be for jellybean, and the only thing you need to change are the dpis according to yourself..
Click to expand...
Click to collapse
As in, I meant what are the default values?
I don't have the ace jb systemui, so i don't know the default values..
My idea was that for example stock dpi for height is 250 and according to your guide it needs to be changed to 270.
The change is 30.
So i'll add 30 to the stock dpi for the s3.
So, i was asking for the default values.
Thanks again for your guide.
masterex567 said:
As in, I meant what are the default values?
I don't have the ace jb systemui, so i don't know the default values..
My idea was that for example stock dpi for height is 250 and according to your guide it needs to be changed to 270.
The change is 30.
So i'll add 30 to the stock dpi for the s3.
So, i was asking for the default values.
Thanks again for your guide.
Click to expand...
Click to collapse
Default is 164width x 145height.
King ACE said:
Default is 164width x 145height.
Click to expand...
Click to collapse
Brillianto! It's working.
Not sure if that's the way it's supposed to appear, probably a prob on my side:
Screenies:
{
"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"
}
masterex567 said:
Brillianto! It's working.
Not sure if that's the way it's supposed to appear, probably a prob on my side:
Screenies:
Click to expand...
Click to collapse
Erm...why is it vertical?
masterex567 said:
Brillianto! It's working.
Not sure if that's the way it's supposed to appear, probably a prob on my side:
Screenies:
Click to expand...
Click to collapse
You do know that XHDPI isnt just chaning 30 dpi no it can be like 110 bigger then ace
Ace stock dip do it X 60% for hdpi and that x60% for xhdpi
Its not that easy
By like well difference is 30 dpi
Well just change same amount on xhdpi to
No no
Its wayy more
-_-
Thats why it bugs for you
Sent from my ST25i using xda app-developers app
great mod dude, thanks:good:
Hey guys,
What's dip or dpi? I thought DPI defined the "visual resolution" of the screen?
For instance, if my device has a screen res of 800x480... for the respective dip changes do I just take 60% of the screen res values?
lambstone said:
Hey guys,
What's dip or dpi? I thought DPI defined the "visual resolution" of the screen?
For instance, if my device has a screen res of 800x480... for the respective dip changes do I just take 60% of the screen res values?
Click to expand...
Click to collapse
Dip is different then dpi
If i was correct DIP was
Like
Pixels
So if ur screen is 320
Then when u set 320Dip width
And height is 480
And u set 480dip height it was fullscreen
Sent from my ST25i using xda app-developers app

[MOD] Switched SystemUI Status Bar! (4.3 JWR DEODEX) [Useful for left handed :)]

Hello, this is what I did :
{
"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"
}
For this I modified signal_cluster_view.xml and status_bar.xml files from res/layout folder in SystemUI.apk
signal_cluster_view.xml:
HTML:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.SignalClusterView android:orientation="horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content"
xmlns:android="http://schemas.android.com/apk/res/android">
<FrameLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="2.0dip">
<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="end|bottom|center" android:id="@id/mobile_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>
</FrameLayout>
<View android:id="@id/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" android:layout_marginLeft="1.5dip" android:layout_marginRight="2.0dip">
<ImageView android:id="@id/wifi_signal" android:layout_width="wrap_content" android:layout_height="wrap_content" android:scaleType="center" android:layout_centerVertical="true" android:layout_alignParentEnd="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>
status_bar.xml:
HTML:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.phone.PhoneStatusBarView android:orientation="vertical" android:id="@id/status_bar" android:background="@drawable/status_bar_background" android:focusable="true" android:fitsSystemWindows="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<ImageView android:id="@id/notification_lights_out" android:paddingBottom="2.0dip" android:visibility="gone" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="fill_parent" android:src="@drawable/ic_sysbar_lights_out_dot_small" android:scaleType="center" android:paddingStart="6.0dip" />
<LinearLayout android:orientation="horizontal" android:id="@id/status_bar_contents" android:layout_width="fill_parent" android:layout_height="fill_parent" android:paddingStart="6.0dip" android:paddingEnd="6.0dip">
<LinearLayout android:orientation="horizontal" android:id="@id/system_icon_area" android:layout_width="0dip" android:layout_weight="1" android:layout_height="fill_parent">
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="left|center_vertical" android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:paddingStart="2.0dip" />
<LinearLayout android:gravity="center" android:orientation="horizontal" android:id="@id/signal_battery_cluster" android:layout_width="wrap_content" android:layout_height="fill_parent" android:paddingStart="2.0dip" android:layout_marginLeft="2.0dip" >
<TextView android:textAppearance="@style/TextAppearance.StatusBar.Battery" android:gravity="left|center" android:id="@id/battery_text" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:paddingStart="2.0dip" />
<ImageView android:id="@id/battery" android:paddingLeft="0.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<com.android.systemui.statusbar.policy.CircleBattery android:textAppearance="@style/TextAppearance.StatusBar.Battery" android:gravity="bottom" android:id="@id/circle_battery" android:paddingLeft="0.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" />
<include android:id="@id/signal_cluster" android:layout_width="wrap_content" android:layout_height="wrap_content" layout="@layout/signal_cluster_view" android:layout_marginLeft="1.5dip"/>
</LinearLayout>
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/statusIcons" android:layout_width="wrap_content" android:layout_height="fill_parent" />
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:id="@id/notification_icon_area" android:layout_width="wrap_content" android:layout_height="fill_parent" android:gravity="right" >
<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" android:gravity="right" />
<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_alignParentEnd="true" />
</LinearLayout>
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:id="@id/ticker" android:animationCache="false" android:layout_width="fill_parent" android:layout_height="fill_parent" android:paddingStart="6.0dip">
<ImageSwitcher android:id="@id/tickerIcon" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:layout_marginEnd="4.0dip">
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:scaleType="center" />
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:scaleType="center" />
</ImageSwitcher>
<com.android.systemui.statusbar.phone.TickerView android:id="@id/tickerText" android:paddingTop="2.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0" android:paddingEnd="10.0dip">
<TextView android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
<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>
I attach SystemUI.apk. Remember that I have tested this with Android 4.3 JWR rom (deodex)
Thanks!! Fantastic! What did u exactly change on those files?
luiseteyo said:
Thanks!! Fantastic! What did u exactly change on those files?
Click to expand...
Click to collapse
well, as first step I changed the order of status_bar layouts....
Then, in order to rearrange system_icon_area (wifi, data...) I modified signal_cluster view...
And as last step changed the gravity of notification_icon_area and system_icon_area layouts and added some margins to these icons in order to have a better look
iOS Style Status Bar?
Do you know how to make iOS style stat. bar?
For Example:
Signal---WiFi---BT---Clock---Notification---Battery
I want to use it in MIUI v5 but I can't find the guide for this.
I think it can be made by modding your code.
Thanks.(Sorry for my bad English
hw0603 said:
Do you know how to make iOS style stat. bar?
For Example:
Signal---WiFi---BT---Clock---Notification---Battery
I want to use it in MIUI v5 but I can't find the guide for this.
I think it can be made by modding your code.
Thanks.(Sorry for my bad English
Click to expand...
Click to collapse
Well, i think so... However you would do a great favor if upload some screenshot, so I can use it as an example
Like This!
Thank you for reply^^
hw0603 said:
Like This!
Thank you for reply^^
Click to expand...
Click to collapse
Well, I could try ut... But i need some time until the weekend, i have to study
bamsbamx said:
Well, I could try ut... But i need some time until the weekend, i have to study
Click to expand...
Click to collapse
Thanks, can you please tell me a guide for that when you have time?
Today is our contry's holiday lol
Sent from my Nexus 4 using Tapatalk 4
hw0603 said:
Thanks, can you please tell me a guide for that when you have time?
Today is our contry's holiday lol
Sent from my Nexus 4 using Tapatalk 4
Click to expand...
Click to collapse
Wow that envy hahahah!!!
Well, there are a lot of SystemUI modding guides out there... I recommend you using APKTool for that. Also you need some android development knowledges
You can use this tutorial as base, this is compatible with latest JB versions... http://forum.xda-developers.com/showthread.php?t=1814441
Good luck
bamsbamx said:
Wow that envy hahahah!!!
Well, there are a lot of SystemUI modding guides out there... I recommend you using APKTool for that. Also you need some android development knowledges
You can use this tutorial as base, this is compatible with latest JB versions... http://forum.xda-developers.com/showthread.php?t=1814441
Good luck
Click to expand...
Click to collapse
Thanks!
Sent from my Nexus 4 using Tapatalk 4
Please do ios status bar
Sent from my Nexus 4 using xda app-developers app
Is everything the opposite? I.e swiping off notifications and stuff? Or just the icons?
leiros said:
Is everything the opposite? I.e swiping off notifications and stuff? Or just the icons?
Click to expand...
Click to collapse
Just the icons

Categories

Resources