Mod Framework-res.apk ( lockscreen accuweather - ODEX XXELLA) [little guide 9-1-2013] - Galaxy S III Themes and Apps

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

Related

<REQ>[HOWTO] Change ICS App Switcher to Windows Phone 7 Style

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

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

[GUIDE] Customize Lockscreen

Applicable for all different mobiles almost all 2.3 and lower versions not tested with other have a try
Hi friends this is the tut to add your name within the lockscreen.... name just like its there on picture below
{
"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"
}
Many asked me how to do this or to change this... a very simple one every one can do it
Requirements
Click to expand...
Click to collapse
1. To run this environment u need to have java jdk installed here u can get them click here
2. Apktools ( click here for the apktools (works only for upgraded versions of cm7 and low graded phones only ) )
3. framework-res.apk ( at which you are going to mod ) u can find it on system/frameworks ( for noobs )
4. notepad++
5. Follow it strictly
So let us make our hands dirt with moding
Collect the apktools i given above extract them to any folder you needed
Place the framework-res.apk on the location where the tools are located
Now open cmd i given on tools
The first thing is to do is to decompile the framework-res.apk
Here is the code to extract
Code:
apktool d framework-res.apk
Now you will get a new folder named framework-res now move on to the folder res/layout
There on folder location u will get a files named keyguard_screen_tab_unlock open it using notepad++
There u will find some thing like this
Code:
<?xml version="1.0" encoding="utf-8"?>
<android.gesture.GestureOverlayView android:orientation="none" android:id="@id/gestures" android:layout_width="fill_parent" android:layout_height="fill_parent" android:gestureStrokeType="multiple" android:eventsInterceptionEnabled="false"
xmlns:android="http://schemas.android.com/apk/res/android">
<RelativeLayout android:gravity="center_horizontal" android:id="@id/root" android:background="#70000000" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:tabunlock="http://schemas.android.com/apk/res/com.android.tabunlock">
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="22.0sp" android:ellipsize="marquee" android:gravity="bottom|right|center" android:id="@id/carrier" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="8.0dip" android:layout_marginTop="5.0dip" android:layout_marginRight="8.0dip" android:singleLine="true" android:layout_alignParentTop="true" android:layout_alignParentRight="true" />
<TextView android:textAppearance="?textAppearanceSmall" android:textColor="@color/white" android:id="@id/emergencyCallText" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="8.0dip" android:layout_marginTop="0.0dip" android:layout_marginRight="8.0dip" android:text="@string/emergency_calls_only" android:layout_below="@id/carrier" android:layout_alignParentRight="true" />
<com.android.internal.widget.DigitalClock android:id="@id/time" android:paddingBottom="8.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="20.0dip" android:layout_marginTop="10.0dip" android:layout_marginRight="20.0dip" android:layout_below="@id/carrier">
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="72.0sp" android:ellipsize="none" android:id="@id/timeDisplay" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="10.0dip" android:singleLine="true" android:shadowColor="#c0000000" android:shadowDx="0.0" android:shadowDy="0.0" android:shadowRadius="3.0" />
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="22.0sp" android:ellipsize="none" android:id="@id/am_pm" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="8.0dip" android:singleLine="true" android:shadowColor="#c0000000" android:shadowDx="0.0" android:shadowDy="0.0" android:shadowRadius="3.0" android:layout_toRightOf="@id/timeDisplay" android:layout_alignBaseline="@id/timeDisplay" />
</com.android.internal.widget.DigitalClock>
<TextView android:textAppearance="?textAppearanceMedium" android:id="@id/date" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="24.0dip" android:layout_marginRight="24.0dip" android:layout_below="@id/time" />
<LinearLayout android:orientation="vertical" android:id="@id/status_box" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_below="@id/date">
<TextView android:textAppearance="?textAppearanceMedium" android:ellipsize="end" android:id="@id/status_charging" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="24.0dip" android:layout_marginTop="4.0dip" android:layout_marginRight="24.0dip" android:maxLines="2" android:drawablePadding="4.0dip" />
<TextView android:textAppearance="?textAppearanceMedium" android:ellipsize="end" android:id="@id/status_alarm" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="24.0dip" android:layout_marginTop="4.0dip" android:layout_marginRight="24.0dip" android:maxLines="2" android:drawableLeft="@drawable/ic_lock_idle_alarm" android:drawablePadding="4.0dip" />
<TextView android:textAppearance="?textAppearanceMedium" android:ellipsize="end" android:id="@id/status_calendar" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="24.0dip" android:layout_marginTop="4.0dip" android:layout_marginRight="24.0dip" android:maxLines="3" android:drawableLeft="@drawable/ic_lock_idle_calendar" android:drawablePadding="4.0dip" />
</LinearLayout>
<TextView android:textAppearance="?textAppearanceSmall" android:id="@id/customMsg" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="24.0dip" android:layout_marginTop="4.0dip" android:layout_marginRight="24.0dip" android:layout_below="@id/status_box" />
<TextView android:textAppearance="?textAppearanceMedium" android:id="@id/screenLocked" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="24.0dip" android:layout_marginTop="12.0dip" android:drawablePadding="4.0dip" android:layout_below="@id/customMsg" />
<ImageButton android:id="@id/albumArt" android:background="@color/transparent" android:padding="3.0px" android:visibility="gone" android:layout_width="125.0dip" android:layout_height="125.0dip" android:layout_marginTop="5.0dip" android:scaleType="fitCenter" android:adjustViewBounds="true" android:layout_above="@id/musicNowPlaying" android:layout_centerInParent="true" />
<com.android.internal.widget.SlidingTab android:orientation="horizontal" android:id="@id/tab_selector2" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginBottom="150.0dip" android:layout_alignParentBottom="true" />
<com.android.internal.widget.SlidingTab android:orientation="horizontal" android:id="@id/tab_selector" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginBottom="60.0dip" android:layout_alignParentBottom="true" />
<com.android.internal.widget.RotarySelector android:orientation="horizontal" android:id="@id/rotary_selector" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_alignParentBottom="true" />
<com.android.internal.widget.RingSelector android:orientation="horizontal" android:id="@id/ring_selector" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_alignParentBottom="true" />
<Button android:id="@id/emergencyCallButton" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="80.0dip" android:drawableLeft="@drawable/ic_emergency" android:drawablePadding="8.0dip" android:layout_alignParentBottom="true" android:layout_centerInParent="true" style="@style/Widget.Button.Transparent" />
<ImageButton android:id="@id/musicControlPlay" android:background="@color/transparent" android:padding="10.0px" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="10.0dip" android:src="@drawable/ic_media_play" android:layout_alignParentBottom="true" android:layout_centerInParent="true" />
<ImageButton android:id="@id/musicControlPause" android:background="@color/transparent" android:padding="10.0px" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="10.0dip" android:src="@drawable/ic_media_pause" android:layout_alignParentBottom="true" android:layout_centerInParent="true" />
<ImageButton android:id="@id/musicControlPrevious" android:background="@color/transparent" android:padding="10.0px" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="20.0dip" android:layout_marginBottom="10.0dip" android:src="@drawable/ic_media_previous" android:layout_toLeftOf="@id/musicControlPause" android:layout_alignParentBottom="true" />
<ImageButton android:id="@id/musicControlNext" android:background="@color/transparent" android:padding="10.0px" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="20.0dip" android:layout_marginBottom="10.0dip" android:src="@drawable/ic_media_next" android:layout_toRightOf="@id/musicControlPause" android:layout_alignParentBottom="true" />
<TextView android:textAppearance="?textAppearanceSmall" android:ellipsize="marquee" android:gravity="center" android:id="@id/musicNowPlaying" android:paddingTop="10.0dip" android:focusable="true" android:focusableInTouchMode="true" android:layout_width="wrap_content" android:layout_height="wrap_content" android:lines="1" android:scrollHorizontally="true" android:singleLine="true" android:layout_above="@id/musicControlPause" android:layout_centerInParent="true" android:layout_alignWithParentIfMissing="true" android:marqueeRepeatLimit="marquee_forever" />
</RelativeLayout>
</android.gesture.GestureOverlayView>
so there you need to add this line at the bottom of the line and above </RelativeLayout>
Code:
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="18.0sp" android:ellipsize="marquee" android:gravity="bottom|right|center" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="10.0dip" android:layout_marginRight="8.0dip" android:text="ADD YOUR NAME" android:singleLine="true" android:layout_alignParentRight="true" android:layout_alignParentBottom="true" />
Remove ADD YOUR NAME from above code line and add as your wish ( with in double colleen )
After applying the line, it looks some thing like this ( bottom line)
Code:
<Button android:id="@id/emergencyCallButton" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="62.0dip" android:drawableLeft="@drawable/ic_emergency" android:drawablePadding="8.0dip" android:layout_alignParentBottom="true" android:layout_centerInParent="true" style="@style/Widget.Button.Transparent" />
<ImageButton android:id="@id/musicControlPlay" android:background="@color/transparent" android:padding="5.0px" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_media_play" android:layout_alignParentBottom="true" android:layout_centerInParent="true" />
<ImageButton android:id="@id/musicControlPause" android:background="@color/transparent" android:padding="5.0px" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_media_pause" android:layout_alignParentBottom="true" android:layout_centerInParent="true" />
<ImageButton android:id="@id/musicControlPrevious" android:background="@color/transparent" android:padding="5.0px" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="20.0dip" android:src="@drawable/ic_media_previous" android:layout_toLeftOf="@id/musicControlPause" android:layout_alignParentBottom="true" />
<ImageButton android:id="@id/musicControlNext" android:background="@color/transparent" android:padding="5.0px" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="20.0dip" android:src="@drawable/ic_media_next" android:layout_toRightOf="@id/musicControlPause" android:layout_alignParentBottom="true" />
<TextView android:textAppearance="?textAppearanceSmall" android:ellipsize="marquee" android:gravity="center" android:id="@id/musicNowPlaying" android:paddingTop="10.0dip" android:focusable="true" android:focusableInTouchMode="true" android:layout_width="wrap_content" android:layout_height="wrap_content" android:lines="1" android:scrollHorizontally="true" android:singleLine="true" android:layout_above="@id/musicControlPause" android:layout_centerInParent="true" android:layout_alignWithParentIfMissing="true" android:marqueeRepeatLimit="marquee_forever" />
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="18.0sp" android:ellipsize="marquee" android:gravity="bottom|right|center" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="10.0dip" android:layout_marginRight="8.0dip" android:text="ADD YOUR NAME" android:singleLine="true" android:layout_alignParentRight="true" android:layout_alignParentBottom="true" />
</RelativeLayout>
</android.gesture.GestureOverlayView>
Well your almost done the final thing u need compile the work u did so follow this command to recompile
Code:
apktool b framework-res
It should be compiled without errors ( if you got errors then you may done any mistake and you can report me i will try to solve )
So finally after completion you will get a new file named build ( on location of decoded folder ) there copy the file named resources.arsc (build/res) and the file edited (build/res/layout---- keyguard_screen_tab_unlock ) should be replaced to framework-res.apk like this
Now open the framework-res.apk using winzip or winrar and replace the keyguard_screen_tab_unlock and resources.arsc
So now you are finally done with build
The question is how to apply i can give a very small tut which is not long like this and it is very short
create a folder named system and with in system folder create new folder named framework and place your moded app there and download this click here
extract it and place near by system folder... now select the two folder ( meta-inf and system ) and make a zip file... now finished yahoo
copy to sd
get into recovery mod
select flash file ( before turn off toggle verification ) and reboot
NOTE: besure that the framework which you are going to apply should be same with the roms if not the fc will be with status bar
Enjoy and don't forget to say thanks
click here to mod xloud and bravia engine http://forum.xda-developers.com/showthread.php?p=31507289#post31507289
place holder 1
thanks for tutorial buddy
I like this tutorial
good tutorial buddy, thanks
ahirwar said:
thanks for tutorial buddy
I like this tutorial
Click to expand...
Click to collapse
reizeii27 said:
good tutorial buddy, thanks
Click to expand...
Click to collapse
with my pleasure and more tuts are going to be posted
have a play with your design
Great tutorial u made this task dam mm easy !!!!
Will surely try if I'll make any modded rom ! But plz capitalize title of thread
Sent from my LG-P500 using xda premium
rom2maru said:
Great tutorial u made this task dam mm easy !!!!
Will surely try if I'll make any modded rom ! But plz capitalize title of thread
Sent from my LG-P500 using xda premium
Click to expand...
Click to collapse
done !
THNX bro.ur guide is very easy......i will surely tri this in my new MODED rom
yogesh1349 said:
THNX bro.ur guide is very easy......i will surely tri this in my new MODED rom
Click to expand...
Click to collapse
have a great fun buddy
venkat kamesh said:
done !
Click to expand...
Click to collapse
Capitalize C and L Too
rom2maru said:
Capitalize C and L Too
Click to expand...
Click to collapse
ok
Thanks for this guide, but what if I want to modify the time position? Make it a bit higher... Which file should I edit?
dbarrera said:
Thanks for this guide, but what if I want to modify the time position? Make it a bit higher... Which file should I edit?
Click to expand...
Click to collapse
on complition of exams i had dam more tuts that i can provide
EDIT: on 24th of this month is my last exam
venkat kamesh said:
on complition of exams i had dam more tuts that i can provide
Click to expand...
Click to collapse
When??
Sent from my GT-S6102 using xda premium
disable lockescreen
venkat kamesh said:
have a great fun buddy
Click to expand...
Click to collapse
how to disable cyanogen lockscreen when i used pattern lock??
sorry 4 my bad english..
thx
:good: thanks for sharing, it works.
veey good
Thanks kamesh!

[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

(GUIDE)(MOD)Paged Lockscreen like on 4.2+ (NEW)(GB+)

How to add PagedView to lockscreen.
As most of you all know the android 4.2+ has implemented an awesome new Lockscreen on wich u can swipe pages to show widgets and such.
Currently i have managed to create working pageview but for now without Widgets.
However you can add some custom stuff though .
i had added DigitalClok -> AnalogClock -> Device Info.
but you would be able to change it like what you want as you can add unlimited LinearLayouts for adding new views.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Basicly this mod is very easy to add.
What is inside the resources.zip ?
SwipeLock Smalis for Framework.jar
Basicly what you would need to do is:
Download Resources Attachement.
Extract it
Decompile you’re framework.jar
Go to the extract smali folder from the resources.zip and copy the smali folder to the smali folder of you’re framework.jar.
Compile framework.jar
Now we are going to add it to the frameworks location/allocate the text.
Decompile framework-res.apk
Find a lockscreen layout to you’re likes. (“zzz_keyguard_screen_clockwidget.xml” <- on this one i have NOT tested as in my test app when i used a Lockscreen overlay i couldnt swipe the pages so its likely this one not works but on the GB ones it does
so instead i used “keyguard_screen_tab_unlock.xml” ofcourse you would be able to add this in other lock layouts aswell.
Open the layout you wanted and simply add this line above the clock layout or where you want
I put this code above my clock code ( i setted minheight to 300.0dip so u would be able to swipe it at this height)
Code:
<com.spacecaker.swipelock.ui.SwipeView android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="wrap_content" android:minHeight="300.0dip" android:overScrollMode="never">
And below you're clock layout
Code:
</com.spacecaker.swipelock.ui.SwipeView>
So now we have that now we need to put the clock layout inside a LinearLayout
Like this
Code:
<LinearLayout android:orientation="vertical" android:minHeight="300.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_alignParentTop="true">
[COLOR="Magenta"] <com.android.internal.widget.DigitalClock android:id="@id/time" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="20.0dip" android:layout_marginTop="30.0dip" android:layout_below="@id/carrier">
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="72.0sp" android:ellipsize="none" android:id="@id/timeDisplay" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" android:shadowColor="#c0000000" android:shadowDx="0.0" android:shadowDy="0.0" android:shadowRadius="3.0" />
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="22.0sp" android:ellipsize="none" android:id="@id/am_pm" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="8.0dip" android:singleLine="true" android:shadowColor="#c0000000" android:shadowDx="0.0" android:shadowDy="0.0" android:shadowRadius="3.0" android:layout_toRightOf="@id/timeDisplay" android:layout_alignBaseline="@id/timeDisplay" />
</com.android.internal.widget.DigitalClock>[/COLOR]
</LinearLayout>
So it would end up looking like this:
Code:
<com.spacecaker.swipelock.ui.SwipeView android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="wrap_content" android:minHeight="300.0dip" android:overScrollMode="never">
<LinearLayout android:orientation="vertical" android:minHeight="300.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_alignParentTop="true">
<com.android.internal.widget.DigitalClock android:id="@id/time" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="20.0dip" android:layout_marginTop="30.0dip" android:layout_below="@id/carrier">
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="72.0sp" android:ellipsize="none" android:id="@id/timeDisplay" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" android:shadowColor="#c0000000" android:shadowDx="0.0" android:shadowDy="0.0" android:shadowRadius="3.0" />
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="22.0sp" android:ellipsize="none" android:id="@id/am_pm" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="8.0dip" android:singleLine="true" android:shadowColor="#c0000000" android:shadowDx="0.0" android:shadowDy="0.0" android:shadowRadius="3.0" android:layout_toRightOf="@id/timeDisplay" android:layout_alignBaseline="@id/timeDisplay" />
</com.android.internal.widget.DigitalClock>
</LinearLayout>
</com.spacecaker.swipelock.ui.SwipeView>
Now we add another LinearLayout for you're second Page i used the universal AnalogClock like this
Code:
<AnalogClock android:layout_gravity="center" android:layout_width="wrap_content" android:layout_height="wrap_content" />
So now we again add a LinearLayout so it ends up looking like this:
Code:
<LinearLayout android:orientation="vertical" android:minHeight="300.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_alignParentTop="true">
[COLOR="Magenta"]<AnalogClock android:layout_gravity="center" android:layout_width="wrap_content" android:layout_height="wrap_content" />[/COLOR]
</LinearLayout>
The end Layout would look like something like this:
Code:
<com.spacecaker.swipelock.ui.SwipeView android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="wrap_content" android:minHeight="300.0dip" android:overScrollMode="never">
<LinearLayout android:orientation="vertical" android:minHeight="400.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_alignParentTop="true">
<com.android.internal.widget.DigitalClock android:id="@id/time" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="20.0dip" android:layout_marginTop="30.0dip" android:layout_below="@id/carrier">
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="72.0sp" android:ellipsize="none" android:id="@id/timeDisplay" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" android:shadowColor="#c0000000" android:shadowDx="0.0" android:shadowDy="0.0" android:shadowRadius="3.0" />
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="22.0sp" android:ellipsize="none" android:id="@id/am_pm" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="8.0dip" android:singleLine="true" android:shadowColor="#c0000000" android:shadowDx="0.0" android:shadowDy="0.0" android:shadowRadius="3.0" android:layout_toRightOf="@id/timeDisplay" android:layout_alignBaseline="@id/timeDisplay" />
</com.android.internal.widget.DigitalClock>
</LinearLayout>
<LinearLayout android:orientation="vertical" android:minHeight="400.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_alignParentTop="true">
<AnalogClock android:layout_gravity="center" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</LinearLayout>
</com.spacecaker.swipelock.ui.SwipeView>
To Add More pages just add another LinearLayout with something inside
Now Compile framework-res.apk
Now zip the files together and make sure these are set properly.
framework-res.apk inside /system/framework/**
And then ofcourse you’re modified framework.jar inside /system/framework/**
Now you are done
Happy modding
On what roms can u apply this mod ?
Basicly it can be applied to ALL Roms atleast if u know what u are doing.
If you wanna see how i moddified mine take a look here https://github.com/spacecaker/git_status_xp/commit/f85c304142f577e3a933a60ef3d61cbb2c0e89ac
That shows u what changes i did ^^ its on GingerBread SlidingTab Lockscreen just added it for making it look bit easier.
A list of helper,idea givers,and such
RomanBB
Pineapleowl
Mariozawa
BroadComCM
SpaceCaker
Sources? Yes We have!
https://github.com/spacecaker/SwipeLock
Try it without Modding?
Yes you can
In the Screenshots i had used HoloLocker as an example
So you can try it on you"re phone aswell
Note: the minheight might be to much for low res phones so i am sorry if the layout is cut.
awesome sir
nice work could u reference a installed apps widget??? would like to add chronus digital with weather
Edit: is their a way to make it stay on whatever screen u swipe to after locking??
Great tutorial Space! :good:
great tutorial!!!!!!one little help if you want this is is my keyguard_screen_tab_unlock its from ICS rom can you add in this analog clock and device info to make one little start and to see where to put layouts and then i will add other layout if i want thanks!!!!!
(i was rename xml in txt to upload it)

Categories

Resources