(GUIDE)(MOD)Paged Lockscreen like on 4.2+ (NEW)(GB+) - Galaxy Ace S5830 Themes and Apps

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)

Related

(MOD) Of SystemUI.apk ((Quick control panel without text))

After a short working time, I succeed in making this mod QuickPanel
and as I did not see posted around here, I wanted to share with you
For those who want to use it in your themes
Manually put in system / app
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
SystemUI.apk Gingerbread JVB
http://CRISKELO.grupoandroid.com/gb/MODS/SystemUI.apk
There is an application to be installed
You push System / app
With rootexplorer
restart mobile
thx crisKelo
App not installed
How do we?
Sent from my GT-I9000 using XDA Premium App
how did you remove the text from quick panel? would be appreciated if you could offer instructions.
I would guess with a root explorer or something similar
Vanto said:
App not installed
How do we?
Sent from my GT-I9000 using XDA Premium App
Click to expand...
Click to collapse
craigyb said:
I would guess with a root explorer or something similar
Click to expand...
Click to collapse
So I didn't quite follow you there? Install or replace your apk/app?!
Sent from my GT-I9000 using Tapatalk
XlAfbk said:
how did you remove the text from quick panel? would be appreciated if you could offer instructions.
Click to expand...
Click to collapse
res/layout/quickpanel_quick_settings.xml
HTML:
<?xml version="1.0" encoding="UTF-8"?>
<com.android.systemui.statusbar.quickpanel.QuickSettingsView android:orientation="horizontal" android:id="@id/quickpanel_quick_settings" android:background="@drawable/quickpanel_quick_settings_background" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0"
xmlns:android="http://schemas.android.com/apk/res/android">
<FrameLayout android:layout_width="fill_parent" android:layout_height="54.0dip" android:layout_weight="1.0">
<ImageView android:layout_gravity="center_horizontal" android:id="@id/quickpanel_wifi_btn_icon" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="2.669983dip" android:src="@drawable/quickpanel_icon_wifi_off" />
<com.android.systemui.statusbar.quickpanel.WifiSettingButton android:textSize="1.0dip" android:textStyle="normal" android:textColor="#00000000" android:gravity="center_horizontal" android:id="@id/quickpanel_wifi_btn_text" android:paddingTop="54.669983dip" android:layout_width="fill_parent" android:layout_height="fill_parent" android:text="@string/quickpanel_wifi_text" android:shadowDx="1.0" android:shadowDy="1.0" />
<ImageView android:layout_gravity="bottom|center" android:id="@id/quickpanel_wifi_btn_status_icon" android:paddingLeft="2.3299866dip" android:paddingRight="2.3299866dip" android:layout_width="fill_parent" android:layout_height="5.3299866dip" android:layout_marginBottom="4.5dip" android:src="@drawable/quickpanel_icon_off" android:scaleType="fitXY" />
</FrameLayout>
<FrameLayout android:layout_width="fill_parent" android:layout_height="54.0dip" android:layout_weight="1.0">
<ImageView android:layout_gravity="center_horizontal" android:id="@id/quickpanel_bt_btn_icon" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="2.669983dip" android:src="@drawable/quickpanel_icon_bluetooth_off" />
<com.android.systemui.statusbar.quickpanel.BluetoothSettingButton android:textSize="1.0dip" android:textStyle="normal" android:textColor="#00000000" android:gravity="center_horizontal" android:id="@id/quickpanel_bt_btn_text" android:paddingTop="54.669983dip" android:layout_width="fill_parent" android:layout_height="fill_parent" android:text="@string/quickpanel_bluetooth_text" android:shadowDx="1.0" android:shadowDy="1.0" />
<ImageView android:layout_gravity="bottom|center" android:id="@id/quickpanel_bt_btn_status_icon" android:paddingLeft="2.3299866dip" android:paddingRight="2.3299866dip" android:layout_width="fill_parent" android:layout_height="5.3299866dip" android:layout_marginBottom="4.5dip" android:src="@drawable/quickpanel_icon_off" android:scaleType="fitXY" />
</FrameLayout>
<FrameLayout android:layout_width="fill_parent" android:layout_height="54.0dip" android:layout_weight="1.0">
<ImageView android:layout_gravity="center_horizontal" android:id="@id/quickpanel_gps_btn_icon" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="2.669983dip" android:src="@drawable/quickpanel_icon_gps_off" />
<com.android.systemui.statusbar.quickpanel.GpsSettingButton android:textSize="1.0dip" android:textStyle="normal" android:textColor="#00000000" android:gravity="center_horizontal" android:id="@id/quickpanel_gps_btn_text" android:paddingTop="54.669983dip" android:layout_width="fill_parent" android:layout_height="fill_parent" android:text="@string/quickpanel_gps_text" android:shadowDx="1.0" android:shadowDy="1.0" />
<ImageView android:layout_gravity="bottom|center" android:id="@id/quickpanel_gps_btn_status_icon" android:paddingLeft="2.3299866dip" android:paddingRight="2.3299866dip" android:layout_width="fill_parent" android:layout_height="5.3299866dip" android:layout_marginBottom="4.5dip" android:src="@drawable/quickpanel_icon_off" android:scaleType="fitXY" />
</FrameLayout>
<FrameLayout android:layout_width="fill_parent" android:layout_height="54.0dip" android:layout_weight="1.0">
<ImageView android:layout_gravity="center_horizontal" android:id="@id/quickpanel_sound_btn_icon" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="2.669983dip" android:src="@drawable/quickpanel_icon_sound_on_on" />
<com.android.systemui.statusbar.quickpanel.SoundSettingButton android:textSize="1.0dip" android:textStyle="normal" android:textColor="#00000000" android:gravity="center_horizontal" android:id="@id/quickpanel_sound_btn_text" android:paddingTop="54.669983dip" android:layout_width="fill_parent" android:layout_height="fill_parent" android:text="@string/quickpanel_sound_text" android:shadowDx="1.0" android:shadowDy="1.0" />
<ImageView android:layout_gravity="bottom|center" android:id="@id/quickpanel_sound_btn_status_icon" android:paddingLeft="2.3299866dip" android:paddingRight="2.3299866dip" android:layout_width="fill_parent" android:layout_height="5.3299866dip" android:layout_marginBottom="4.5dip" android:src="@drawable/quickpanel_icon_on" android:scaleType="fitXY" />
</FrameLayout>
<FrameLayout android:layout_width="fill_parent" android:layout_height="54.0dip" android:layout_weight="1.0">
<ImageView android:layout_gravity="center_horizontal" android:id="@id/quickpanel_rotation_btn_icon" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="2.669983dip" android:src="@drawable/quickpanel_icon_rotation_off" />
<com.android.systemui.statusbar.quickpanel.AutoRotationSettingButton android:textSize="1.0dip" android:textStyle="normal" android:textColor="#00000000" android:gravity="center_horizontal" android:id="@id/quickpanel_rotation_btn_text" android:paddingTop="44.669983dip" android:layout_width="fill_parent" android:layout_height="fill_parent" android:text="@string/quickpanel_rotation_text" android:shadowDx="1.0" android:shadowDy="1.0" />
<ImageView android:layout_gravity="bottom|center" android:id="@id/quickpanel_rotation_btn_status_icon" android:paddingLeft="2.3299866dip" android:paddingRight="2.3299866dip" android:layout_width="fill_parent" android:layout_height="5.3299866dip" android:layout_marginBottom="4.5dip" android:src="@drawable/quickpanel_icon_off" android:scaleType="fitXY" />
</FrameLayout>
</com.android.systemui.statusbar.quickpanel.QuickSettingsView>
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Make text (android: textColor = "# 00000000") transparent
Redic cell size (android: layout_height = "54.0dip)
Then compare the XML to the original but that's all
Post Error
thx. finally got around doing it. i removed both text and bar.
Thanks
But, how to completely remove these shortcuts ?
XlAfbk said:
thx. finally got around doing it. i removed both text and bar.
Click to expand...
Click to collapse
Congratulations
Very good looking
You could put some transparency on the bottom down
XlAfbk said:
thx. finally got around doing it. i removed both text and bar.
Click to expand...
Click to collapse
Can you post your .apk? I like
I9000M darkyV10.rc5.3 darkcore2.1 UGKC1 BMC
thanks mate
XlAfbk said:
thx. finally got around doing it. i removed both text and bar.
Click to expand...
Click to collapse
It's possible to share your theme please ? (SystemUI.apk for example)
Thank you
here you go. gingerbread-like theme with CRT off, overscroll animation and battery %. Just use whatever files you want to use, I put all of my custom files in.
Zip is NOT a CWM-recovery file but just a compilation of all files in the theme!
http://www.multiupload.com/MYP98C972U
Nice. Love the stripped UI. Thanks
What are the mods on the other .apks?
I9000M darkyV10.rc5.3 darkcore2.1 UGKC1 BMC
Settings and MediaProvider have changed icons, nothing else. twframework has top toolbar and checkboxes/radio buttons in some touchwiz apps, e.g. task manager, contacts.
framework has a lot of changed images, progress bar, status items, crt animation, menu color (white text on black bg)
Tanks. I'll check it out.
I9000M darkyV10.rc5.3 darkcore2.1 UGKC1 BMC
Excellent mod. Thank you.
Here is my quick menu now, with your mod:
which version of apk tool are you guys using, i'm getting errors when decompiling with 1.3.2 or 1.3.1 !

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

[HELP] Theme my mms.apk issue

I am adding custom bubbles to my convo thread and cannot get the sent to do what i want.
The received do not extend the length as that is waht i want
But the sent do. I tried changing the android:layout_alignParentLeft="true"> to false but then my sent messages disappear.
Here is a screen of how it currently looks
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
any help is much appreciated.
Here is the xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.mms.ui.MessageListItem android:orientation="horizontal" android:id="@id/msg_list_item_send" android:layout_width="fill_parent" android:layout_height="wrap_content"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:orientation="vertical" android:id="@id/mms_layout_view_parent" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0">
<RelativeLayout android:layout_width="fill_parent" android:layout_height="wrap_content">
<view android:id="@id/avatar" android:layout_width="@dimen/avatar_width_height" android:layout_height="@dimen/avatar_width_height" android:layout_alignParentRight="true" class="com.android.mms.ui.QuickContactDivot" position="left_upper"
xmlns:android="http://schemas.android.com/apk/res/android" />
<LinearLayout android:orientation="vertical" android:id="@id/message_block" android:background="@drawable/wp2" android:layout_width="0.0dip" android:layout_height="wrap_content" android:minHeight="@dimen/avatar_width_height" android:layout_toLeftOf="@id/avatar" android:layout_alignParentLeft="true">
<TextView android:textAppearance="?android:textAppearanceSmall" android:textSize="16.0sp" android:textColor="#ffb0c4de" android:gravity="right" android:autoLink="all" android:linksClickable="false" android:id="@id/text_view" android:paddingLeft="@dimen/message_item_text_padding_left_right" android:paddingTop="@dimen/message_item_text_padding_top" android:paddingRight="@dimen/message_item_text_padding_left_right" android:layout_width="fill_parent" android:layout_height="wrap_content" />
<LinearLayout android:gravity="right" android:orientation="horizontal" android:paddingRight="@dimen/message_item_text_padding_left_right" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginBottom="8.0dip">
<ImageView android:id="@id/locked_indicator" android:paddingRight="3.0dip" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_lock_message_sms" />
<ImageView android:id="@id/delivered_indicator" android:paddingRight="3.0dip" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_sms_mms_delivered" />
<ImageView android:id="@id/details_indicator" android:paddingRight="3.0dip" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_sms_mms_details" />
<TextView android:textAppearance="?android:textAppearanceSmall" android:textColor="#ffb0c4de" android:id="@id/date_view" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</LinearLayout>
<ViewStub android:id="@id/mms_layout_view_stub" android:layout="@layout/mms_layout_view" android:layout_width="fill_parent" android:layout_height="wrap_content" />
</LinearLayout>
</RelativeLayout>
</LinearLayout>
<ViewStub android:layout_gravity="center_vertical" android:id="@id/mms_downloading_view_stub" android:layout="@layout/mms_downloading_view" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</com.android.mms.ui.MessageListItem>
Somewhere, you have a layout set to "wrap content" instead of "fill parent". This causes it to only stretch to fit the contents of the message instad of all the way across like you want it.
It won't be in the XML you uploaded. It will be in the "message_list_item_recv.xml"
Try changing that XML at line 9- I'll bet android:layout_width is set to wrap_content instead of fill_parent. Change it.
artvandelay440 said:
Somewhere, you have a layout set to "wrap content" instead of "fill parent". This causes it to only stretch to fit the contents of the message instad of all the way across like you want it.
It won't be in the XML you uploaded. It will be in the "message_list_item_recv.xml"
Try changing that XML at line 9- I'll bet android:layout_width is set to wrap_content instead of fill_parent. Change it.
Click to expand...
Click to collapse
That was the send.xml that I posted.
i tired your changes and it did not work
artvandelay440 said:
Somewhere, you have a layout set to "wrap content" instead of "fill parent". This causes it to only stretch to fit the contents of the message instad of all the way across like you want it.
It won't be in the XML you uploaded. It will be in the "message_list_item_recv.xml"
Try changing that XML at line 9- I'll bet android:layout_width is set to wrap_content instead of fill_parent. Change it.
Click to expand...
Click to collapse
In the image the one that says "test" is not correct The one that says "working" is correct
Oh, in that case, take the xml you posted and make this change. Scroll to the end and you'll see where "fill_parent" needs to be replaced with "wrap_content".
Change
Code:
<TextView android:textAppearance="?android:textAppearanceSmall" android:textSize="16.0sp" android:textColor="#ffb0c4de" android:gravity="right" android:autoLink="all" android:linksClickable="false" android:id="@id/text_view" android:paddingLeft="@dimen/message_item_text_padding_left_right" android:paddingTop="@dimen/message_item_text_padding_top" android:paddingRight="@dimen/message_item_text_padding_left_right" android:layout_width="fill_parent" android:layout_height="wrap_content" />
to
Code:
<TextView android:textAppearance="?android:textAppearanceSmall" android:textSize="16.0sp" android:textColor="#ffb0c4de" android:gravity="right" android:autoLink="all" android:linksClickable="false" android:id="@id/text_view" android:paddingLeft="@dimen/message_item_text_padding_left_right" android:paddingTop="@dimen/message_item_text_padding_top" android:paddingRight="@dimen/message_item_text_padding_left_right" android:layout_width="wrap_content" android:layout_height="wrap_content" />
artvandelay440 said:
Oh, in that case, take the xml you posted and make this change. Scroll to the end and you'll see where "fill_parent" needs to be replaced with "wrap_content".
Change
Code:
<TextView android:textAppearance="?android:textAppearanceSmall" android:textSize="16.0sp" android:textColor="#ffb0c4de" android:gravity="right" android:autoLink="all" android:linksClickable="false" android:id="@id/text_view" android:paddingLeft="@dimen/message_item_text_padding_left_right" android:paddingTop="@dimen/message_item_text_padding_top" android:paddingRight="@dimen/message_item_text_padding_left_right" android:layout_width="fill_parent" android:layout_height="wrap_content" />
to
Code:
<TextView android:textAppearance="?android:textAppearanceSmall" android:textSize="16.0sp" android:textColor="#ffb0c4de" android:gravity="right" android:autoLink="all" android:linksClickable="false" android:id="@id/text_view" android:paddingLeft="@dimen/message_item_text_padding_left_right" android:paddingTop="@dimen/message_item_text_padding_top" android:paddingRight="@dimen/message_item_text_padding_left_right" android:layout_width="wrap_content" android:layout_height="wrap_content" />
Click to expand...
Click to collapse
All that did was make my text alignment off. Still not working.
Here is my apk
Maybe need to set text right to left?
Sent from my Galaxy Nexus using Tapatalk 2
So this is the message_list_item_send.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.mms.ui.MessageListItem android:orientation="horizontal" android:id="@id/msg_list_item_send" android:layout_width="fill_parent"
android:layout_height="wrap_content"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:orientation="vertical" android:id="@id/mms_layout_view_parent" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_weight="1.0">
<RelativeLayout android:layout_width="wrap_content" android:layout_height="wrap_content">
<view android:id="@id/avatar" android:layout_width="@dimen/avatar_width_height" android:layout_height="@dimen/avatar_width_height"
android:layout_alignParentRight="true" class="com.android.mms.ui.QuickContactDivot" position="left_upper"
xmlns:android="http://schemas.android.com/apk/res/android" />
<LinearLayout android:orientation="vertical" android:id="@id/message_block" android:background="@drawable/wp2" android:layout_width="0.0dip"
android:layout_height="wrap_content" android:minHeight="@dimen/avatar_width_height" android:layout_toLeftOf="@id/avatar"
android:layout_alignParentLeft="true">
<TextView android:textAppearance="?android:textAppearanceSmall" android:textSize="16.0sp" android:textColor="@color/light_text"
android:gravity="right" android:autoLink="all" android:linksClickable="false" android:id="@id/text_view"
android:paddingLeft="@dimen/message_item_text_padding_left_right" android:paddingTop="@dimen/message_item_text_padding_top"
android:paddingRight="@dimen/message_item_text_padding_left_right" android:layout_width="fill_parent" android:layout_height="wrap_content" />
<LinearLayout android:gravity="right" android:orientation="horizontal" android:paddingRight="@dimen/message_item_text_padding_left_right"
android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginBottom="8.0dip">
<ImageView android:id="@id/locked_indicator" android:paddingRight="3.0dip" android:visibility="gone" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:src="@drawable/ic_lock_message_sms" />
<ImageView android:id="@id/delivered_indicator" android:paddingRight="3.0dip" android:visibility="gone"
android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_sms_mms_delivered" />
<ImageView android:id="@id/details_indicator" android:paddingRight="3.0dip" android:visibility="gone" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:src="@drawable/ic_sms_mms_details" />
<TextView android:textAppearance="?android:textAppearanceSmall" android:textColor="@color/text_hairline" android:id="@id/date_view"
android:layout_width="wrap_content" android:layout_height="wrap_content" />
</LinearLayout>
<ViewStub android:id="@id/mms_layout_view_stub" android:layout="@layout/mms_layout_view" android:layout_width="fill_parent"
android:layout_height="wrap_content" />
</LinearLayout>
</RelativeLayout>
</LinearLayout>
<ViewStub android:layout_gravity="center_vertical" android:id="@id/mms_downloading_view_stub" android:layout="@layout/mms_downloading_view"
android:layout_width="wrap_content" android:layout_height="wrap_content" />
</com.android.mms.ui.MessageListItem>
What do i need to edit so the image does not stretch across the screen?
Lol
i have the same issue.
Mine is that the bubbles are across the screen and dont fit to the text, i want the opposite
i want the bubbles to fit to the text, go Dl my xml files and give me yours
they are in the "How to theme sms" topic, lasts posts.
:cyclops:
made it
i have finally made it.
Make sure that your "align parent left" is on "false" in the 6 & 8 line
6 makes the body/layout align to the left if ON
8 makes the text align to the left if ON.

[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