Related
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
As you can see, I've managed to center the clock and switch the notification and system icons around.
So I've only tested this mod on CM7 and HDPI.
I can't see why it wouldn't work on other gingerbread roms, pretty certain all gingerbread have the same type of statusbar.xml to play around with.
Things you need -
APKmanager
Notepad++
rootexplorer
How to do it: Use rootexplorer to grab your systemui located system>app.
Decompile it with APKmanager, go into the layout folder and edit the statusbar.xml.
For those who want to just edit the clock here is the code to do it.
find the
<com.android.systemui.statusbar.Clock' delete that whole line and paste this above the linear layout
(edit:I updated the clock code to help centering, it'll now be centered for any screensize.)
Code:
<LinearLayout android:gravity="center" android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.systemui.statusbar.Clock android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:textSize="15.0sp" android:typeface="normal" android:textStyle="normal" android:textColor="#ffffffff" android:gravity="center" android:paddingTop="3.0px" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:layout_weight="1.0" />
</LinearLayout>
If you want the whole mod, heres a copy of my XML
Code:
<?xml version="1.0" encoding="UTF-8"?>
<com.android.systemui.statusbar.StatusBarView android:background="@drawable/statusbar_background" android:focusable="true" android:descendantFocusability="afterDescendants" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<com.android.systemui.statusbar.Clock android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:textSize="15.0sp" android:typeface="normal" android:textStyle="normal" android:textColor="#ffffffff" android:gravity="center" android:paddingLeft="145.0dip" android:paddingTop="3.0px" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:layout_weight="1.0" />
<LinearLayout android:gravity="left" android:orientation="horizontal" android:id="@id/statusIcons" android:paddingLeft="5.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" />
<LinearLayout android:orientation="horizontal" android:id="@id/icons" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.systemui.statusbar.IconMerger android:gravity="right" android:orientation="horizontal" android:id="@id/notificationIcons" android:paddingLeft="40.0dip" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0" />
</LinearLayout>
<com.android.systemui.statusbar.CmBatteryText android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:textSize="15.0sp" android:typeface="normal" android:textStyle="normal" android:gravity="center" android:orientation="horizontal" android:paddingLeft="297.0dip" android:paddingTop="2.5px" android:layout_width="wrap_content" android:layout_height="fill_parent" />
<com.android.systemui.statusbar.CmBatteryMiniIcon android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/CmBatteryMiniIcon" android:layout_width="0.0px" android:layout_height="0.0px" />
<ImageButton android:id="@id/status_home" android:background="@drawable/ic_statusbar_home" android:visibility="gone" android:layout_width="0.0dip" android:layout_height="fill_parent" />
<ImageButton android:id="@id/status_menu" android:background="@drawable/ic_statusbar_menu" android:visibility="gone" android:layout_width="0.0dip" android:layout_height="fill_parent" />
<ImageButton android:id="@id/status_back" android:background="@drawable/ic_statusbar_back" android:paddingRight="6.0dip" android:visibility="gone" android:layout_width="0.0dip" android:layout_height="fill_parent" />
<LinearLayout android:orientation="horizontal" android:id="@id/ticker" android:background="@drawable/statusbar_background" android:paddingLeft="6.0dip" android:animationCache="false" android:layout_width="fill_parent" android:layout_height="fill_parent">
<ImageSwitcher android:id="@id/tickerIcon" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginRight="8.0dip">
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="25.0dip" android:layout_height="25.0dip" />
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="25.0dip" android:layout_height="25.0dip" />
</ImageSwitcher>
<com.android.systemui.statusbar.TickerView android:id="@id/tickerText" android:paddingTop="5.0px" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0">
<TextView android:textAppearance="@android:style/TextAppearance.StatusBar.Ticker" android:textSize="12.0sp" android:typeface="normal" android:textStyle="normal" android:textColor="#ffffffff" android:paddingTop="4.0px" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
<TextView android:textAppearance="@android:style/TextAppearance.StatusBar.Ticker" android:textSize="12.0sp" android:typeface="normal" android:textStyle="normal" android:textColor="#ffffffff" android:paddingTop="4.0px" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
</com.android.systemui.statusbar.TickerView>
</LinearLayout>
<com.android.systemui.statusbar.DateView android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:textColor="#ffffffff" android:gravity="left|center" android:id="@id/date" android:background="@drawable/statusbar_background" android:paddingLeft="6.0px" android:paddingRight="6.0px" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
</com.android.systemui.statusbar.StatusBarView>
You will need to change things to fit your own statusbar.xml. I'm on a old nightly for CM7 so it won't have as many things. So you'll have to play around and see what fits.
Once you edited, save the xml, compile with APKmanager, press Y to both questions, then deleted the resources file and statusbar.xml in the KEEP folder, sign it and then make a flashable zip and flash it over. Or replace the systemui with rootexplorer.
-----
Bugs to far: I can't seem to get the notification icons go all the way to the right side, It's not so bad because i've got the battery in place and the gap from the edge fits the battery perfectly, but it's annoying if you don't have the battery % on. I'm sure it's possible to alter it, I'm just not so great with XML.
Also the notifications overlap the clock when they get to the middle, I know how to fix that one, but just to lazy to bother as I never have that many notifications going on. The width of the notification display just needs changing.
Play around with it. Let me know how it goes.
-------
Notification mod now
Right, I've now themed the pulldown menu, I'm currently using images from the MEIZU theme as I was testing it out.
This is done by editting the status_bar_expanded.xml, replace lines that match yours.
Code:
<?xml version="1.0" encoding="UTF-8"?>
<com.android.systemui.statusbar.ExpandedView android:orientation="vertical" android:focusable="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:orientation="vertical" android:background="@drawable/title_bar_portrait" android:paddingTop="3.0dip" android:paddingRight="3.0dip" android:paddingBottom="5.0dip" android:layout_width="fill_parent" android:layout_height="0.0px">
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content">
<com.android.systemui.statusbar.CarrierLabel android:textAppearance="?android:textAppearanceLarge" android:textColor="@color/carrier_label_text_color" android:layout_gravity="center_vertical" android:paddingLeft="4.0dip" android:paddingBottom="1.0dip" android:layout_width="0.5dip" android:layout_height="0.0px" android:layout_marginLeft="5.0dip" android:layout_marginTop="1.0dip" android:layout_weight="1.0" />
</LinearLayout>
</LinearLayout>
<FrameLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0">
<ScrollView android:id="@id/scroll" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="fill_parent" android:overScrollMode="ifContentScrolls">
<com.android.systemui.statusbar.NotificationLinearLayout android:orientation="vertical" android:id="@id/notificationLinearLayout" android:layout_width="fill_parent" android:layout_height="wrap_content">
<TextView android:textAppearance="@style/TextAppearance.StatusBar.Title" android:gravity="center" android:id="@id/noNotificationsTitle" android:background="@drawable/shade_header_background" android:paddingLeft="5.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/status_bar_no_notifications_title" />
<TextView android:textAppearance="@style/TextAppearance.StatusBar.Title" android:gravity="center" android:id="@id/ongoingTitle" android:background="@drawable/shade_header_background" android:paddingLeft="5.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/status_bar_ongoing_events_title" />
<LinearLayout android:orientation="vertical" android:id="@id/ongoingItems" android:layout_width="fill_parent" android:layout_height="wrap_content" />
<TextView android:textAppearance="@style/TextAppearance.StatusBar.Title" android:gravity="center" android:id="@id/latestTitle" android:background="@drawable/shade_header_background" android:paddingLeft="5.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/status_bar_latest_events_title" />
<LinearLayout android:orientation="vertical" android:id="@id/latestItems" android:layout_width="fill_parent" android:layout_height="wrap_content" />
</com.android.systemui.statusbar.NotificationLinearLayout>
</ScrollView>
<ImageView android:layout_width="fill_parent" android:layout_height="fill_parent" android:src="@drawable/title_bar_shadow" android:scaleType="fitXY" />
</FrameLayout>
<LinearLayout android:orientation="vertical" android:background="@drawable/title_bar_portrait" android:layout_width="fill_parent" android:layout_height="35.0px">
<TextView android:gravity="center" android:textSize="14.0sp" android:textStyle="bold" android:textColor="#a6a6a6" android:id="@id/clear_all_button" android:paddingTop="3.0dip" android:layout_width="480.0px" android:layout_height="fill_parent" android:scaleType="fitXY" android:text="@string/status_bar_clear_all_button" style="\?android:attr/buttonStyle" />
</LinearLayout>
<com.android.systemui.statusbar.powerwidget.PowerWidget android:id="@id/exp_power_stat" android:background="@drawable/title_bar_portrait" android:layout_width="fill_parent" android:layout_height="wrap_content" />
</com.android.systemui.statusbar.ExpandedView>
nice work - but you got many smilies in your code
may you should use the code-tags
Wouldn't it be possible to add this into a theme chooser apk ?
This is really interesting. Will have a look how to get it on miui rom. Thanks for sharing!
Sent from my GT-I9000 using XDA Premium App
just tried this.. and my statusbar disapeared
Will continue to work on it.
Hmm weird.. Just tried to push the old SystemUI.apk to the phone (The original).. Rebooted, and the status bar is still gone :-?
EDIT: Nope, it's here again
EDIT 2: Just tried decompiling the APK, and compiling it again without making any changes. Then pushing it to the device and rebooting. My statusbar is still disapearing.
Am I doing something wrong? (Using apktool instead of APKmanager, 'cause im on a mac)
Che123 said:
nice work - but you got many smilies in your code
may you should use the code-tags
Wouldn't it be possible to add this into a theme chooser apk ?
Click to expand...
Click to collapse
There, added codetags
and I don't think so. I don't think the theme chooser has the same statusbar.xml. I haven't really looked tbh, though.
whooper90 said:
just tried this.. and my statusbar disapeared
Will continue to work on it.
Hmm weird.. Just tried to push the old SystemUI.apk to the phone (The original).. Rebooted, and the status bar is still gone :-?
EDIT: Nope, it's here again
EDIT 2: Just tried decompiling the APK, and compiling it again without making any changes. Then pushing it to the device and rebooting. My statusbar is still disapearing.
Am I doing something wrong? (Using apktool instead of APKmanager, 'cause im on a mac)
Click to expand...
Click to collapse
Hmm, are you signing the APK? I've only done it on aPKmanager, so not sure! also only done it with flashing the APK via recovery, too. I know in APKmanager you need to choose the systemapp options, does apktool have that? never used it, so not sure.
Taine0 said:
Hmm, are you signing the APK? I've only done it on aPKmanager, so not sure! also only done it with flashing the APK via recovery, too. I know in APKmanager you need to choose the systemapp options, does apktool have that? never used it, so not sure.
Click to expand...
Click to collapse
Nope, not signing the apk. Maybe I should try that.
APKtool doesn't have systemapp options. It's pretty basic, it's only possible to compile/decompile without very many options.
whooper90 said:
Nope, not signing the apk. Maybe I should try that.
APKtool doesn't have systemapp options. It's pretty basic, it's only possible to compile/decompile without very many options.
Click to expand...
Click to collapse
systemui.apk needs to be signed to work, so that could be your problem.
Taine0 said:
systemui.apk needs to be signed to work, so that could be your problem.
Click to expand...
Click to collapse
Hmm.. signed the APK using test-keys.. Same result..
You don't happen to know a way to create a flashable .zip without apkmanager?
Could this be made into a flash zip? I can never get these things to work right and would feel safer using a zip
Sent from my DROID X2 using XDA App
whooper90 said:
Hmm.. signed the APK using test-keys.. Same result..
You don't happen to know a way to create a flashable .zip without apkmanager?
Click to expand...
Click to collapse
I used uotkitchen for my flashable zip. I got it when I used it for the transparent status bar patch, Just upload your systemui.apk
SwiftLegend said:
Could this be made into a flash zip? I can never get these things to work right and would feel safer using a zip
Sent from my DROID X2 using XDA App
Click to expand...
Click to collapse
I can't make it a flashable zip because every rom uses a different setup in the statusbar.xml. So it'll just result in crashing your statusbar.
Taine0 said:
I can't make it a flashable zip because every rom uses a different setup in the statusbar.xml. So it'll just result in crashing your statusbar.
Click to expand...
Click to collapse
but it should be compatible with the same rom?
Would you mind to share your CM7 systemui.apk?
Che123 said:
but it should be compatible with the same rom?
Would you mind to share your CM7 systemui.apk?
Click to expand...
Click to collapse
Nope, it's even worse for CM7, every nightly seems different from what I've seen. My version is from nightly 24, so any version of CM7 after that will have a different systemui.apk.
Taine0 said:
Nope, it's even worse for CM7, every nightly seems different from what I've seen. My version is from nightly 24, so any version of CM7 after that will have a different systemui.apk.
Click to expand...
Click to collapse
I see...damn. thx anyway
Seems like i have to do this on my own..
got it working
decompiling the APK, edit the statusbar.xml file, compiling again, putting it into an empty CWM3 edify zip file, and flashing!
Now my clock is on the right , and everything else on the left.. Next step, to get the clock centered
hmm. I've edited the line you're telling us to, but I'm getting different result
Here's my status_bar.xml file:
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.CmStatusBarView android:background="@drawable/statusbar_background" android:focusable="true" android:descendantFocusability="afterDescendants" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:orientation="horizontal" android:id="@id/icons" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.systemui.statusbar.IconMerger android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/notificationIcons" android:paddingLeft="6.0dip" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0" android:layout_alignParentLeft="true" />
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/statusIcons" android:paddingRight="1.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentRight="true" />
<com.android.systemui.statusbar.CmBatteryText android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:gravity="center_vertical" android:orientation="horizontal" android:paddingRight="2.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" />
<com.android.systemui.statusbar.CmBatteryMiniIcon android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/CmBatteryMiniIcon" android:layout_width="wrap_content" android:layout_height="fill_parent" />
<com.android.systemui.statusbar.Clock android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:textSize="15.0sp" android:typeface="normal" android:textStyle="normal" android:textColor="#ffffffff" android:gravity="center" android:paddingLeft="145.0dip" android:paddingTop="3.0px" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:layout_weight="1.0" />
<LinearLayout android:orientation="horizontal" android:id="@id/buttons" android:layout_width="wrap_content" android:layout_height="fill_parent">
<ImageButton android:id="@id/status_edge_left" android:background="@drawable/ic_statusbar_edge_right_bottom" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageButton android:id="@id/status_home" android:background="@drawable/ic_statusbar_home_bottom" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageButton android:id="@id/status_sep1" android:background="@drawable/ic_statusbar_sep_bottom" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageButton android:id="@id/status_menu" android:background="@drawable/ic_statusbar_menu_bottom" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageButton android:id="@id/status_sep2" android:background="@drawable/ic_statusbar_sep_bottom" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageButton android:id="@id/status_back" android:background="@drawable/ic_statusbar_back_bottom" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageButton android:id="@id/status_sep3" android:background="@drawable/ic_statusbar_sep_bottom" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageButton android:id="@id/status_search" android:background="@drawable/ic_statusbar_search_bottom" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageButton android:id="@id/status_sep4" android:background="@drawable/ic_statusbar_sep_bottom" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageButton android:id="@id/status_quick_na" android:background="@drawable/ic_statusbar_na_up_bottom" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageButton android:id="@id/status_sep5" android:background="@drawable/ic_statusbar_sep_bottom" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageButton android:id="@id/status_hide" android:background="@drawable/ic_statusbar_hide_bottom" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageButton android:id="@id/status_edge_right" android:background="@drawable/ic_statusbar_edge_left_bottom" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</LinearLayout>
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:id="@id/ticker" android:paddingLeft="6.0dip" android:animationCache="false" android:layout_width="fill_parent" android:layout_height="fill_parent">
<ImageSwitcher android:id="@id/tickerIcon" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginRight="8.0dip">
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="25.0dip" android:layout_height="25.0dip" />
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="25.0dip" android:layout_height="25.0dip" />
</ImageSwitcher>
<com.android.systemui.statusbar.TickerView android:id="@id/tickerText" android:paddingTop="2.0dip" android:paddingRight="10.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0">
<TextView android:textAppearance="@android:style/Theme.Holo.Wallpaper" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
<TextView android:textAppearance="@android:style/Theme.Holo.Wallpaper" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
</com.android.systemui.statusbar.TickerView>
</LinearLayout>
<com.android.systemui.statusbar.DateView android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:gravity="left|center" android:id="@id/date" android:background="@drawable/statusbar_background" android:paddingLeft="6.0px" android:paddingRight="6.0px" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
</com.android.systemui.statusbar.CmStatusBarView>
Didn't work for me i couldnt create the flashable zip correctly so i pushed the apk to the phone with adb. I also tried just copying it in there and my status bar was missing both times
donhu said:
Didn't work for me i couldnt create the flashable zip correctly so i pushed the apk to the phone with adb. I also tried just copying it in there and my status bar was missing both times
Click to expand...
Click to collapse
Same for me
Used this zip: http://www.multiupload.com/ELFHMGUBLE
Open it with winrar (don't extract it), replace the SystemUI.apk file in /system/app/ with the one you've compiled. Then save the zip file again. (DON'T extract at any time, cause that will break the signing of the zip file).
Now you can flash through recovery
whooper90 said:
hmm. I've edited the line you're telling us to, but I'm getting different result
Here's my status_bar.xml file:
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.CmStatusBarView android:background="@drawable/statusbar_background" android:focusable="true" android:descendantFocusability="afterDescendants" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:orientation="horizontal" android:id="@id/icons" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.systemui.statusbar.IconMerger android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/notificationIcons" android:paddingLeft="6.0dip" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0" android:layout_alignParentLeft="true" />
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/statusIcons" android:paddingRight="1.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentRight="true" />
<com.android.systemui.statusbar.CmBatteryText android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:gravity="center_vertical" android:orientation="horizontal" android:paddingRight="2.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" />
<com.android.systemui.statusbar.CmBatteryMiniIcon android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/CmBatteryMiniIcon" android:layout_width="wrap_content" android:layout_height="fill_parent" />
<com.android.systemui.statusbar.Clock android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:textSize="15.0sp" android:typeface="normal" android:textStyle="normal" android:textColor="#ffffffff" android:gravity="center" android:paddingLeft="145.0dip" android:paddingTop="3.0px" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:layout_weight="1.0" />
<LinearLayout android:orientation="horizontal" android:id="@id/buttons" android:layout_width="wrap_content" android:layout_height="fill_parent">
<ImageButton android:id="@id/status_edge_left" android:background="@drawable/ic_statusbar_edge_right_bottom" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageButton android:id="@id/status_home" android:background="@drawable/ic_statusbar_home_bottom" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageButton android:id="@id/status_sep1" android:background="@drawable/ic_statusbar_sep_bottom" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageButton android:id="@id/status_menu" android:background="@drawable/ic_statusbar_menu_bottom" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageButton android:id="@id/status_sep2" android:background="@drawable/ic_statusbar_sep_bottom" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageButton android:id="@id/status_back" android:background="@drawable/ic_statusbar_back_bottom" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageButton android:id="@id/status_sep3" android:background="@drawable/ic_statusbar_sep_bottom" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageButton android:id="@id/status_search" android:background="@drawable/ic_statusbar_search_bottom" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageButton android:id="@id/status_sep4" android:background="@drawable/ic_statusbar_sep_bottom" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageButton android:id="@id/status_quick_na" android:background="@drawable/ic_statusbar_na_up_bottom" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageButton android:id="@id/status_sep5" android:background="@drawable/ic_statusbar_sep_bottom" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageButton android:id="@id/status_hide" android:background="@drawable/ic_statusbar_hide_bottom" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageButton android:id="@id/status_edge_right" android:background="@drawable/ic_statusbar_edge_left_bottom" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</LinearLayout>
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:id="@id/ticker" android:paddingLeft="6.0dip" android:animationCache="false" android:layout_width="fill_parent" android:layout_height="fill_parent">
<ImageSwitcher android:id="@id/tickerIcon" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginRight="8.0dip">
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="25.0dip" android:layout_height="25.0dip" />
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="25.0dip" android:layout_height="25.0dip" />
</ImageSwitcher>
<com.android.systemui.statusbar.TickerView android:id="@id/tickerText" android:paddingTop="2.0dip" android:paddingRight="10.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0">
<TextView android:textAppearance="@android:style/Theme.Holo.Wallpaper" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
<TextView android:textAppearance="@android:style/Theme.Holo.Wallpaper" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
</com.android.systemui.statusbar.TickerView>
</LinearLayout>
<com.android.systemui.statusbar.DateView android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:gravity="left|center" android:id="@id/date" android:background="@drawable/statusbar_background" android:paddingLeft="6.0px" android:paddingRight="6.0px" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
</com.android.systemui.statusbar.CmStatusBarView>
Click to expand...
Click to collapse
Move the clock line to above the linear layout. that way it'll be in the center. At the moment it's getting shoved aside by the notifications.
whooper90 said:
Same for me
Used this zip: http://www.multiupload.com/ELFHMGUBLE
Open it with winrar (don't extract it), replace the SystemUI.apk file in /system/app/ with the one you've compiled. Then save the zip file again. (DON'T extract at any time, cause that will break the signing of the zip file).
Now you can flash through recovery
Click to expand...
Click to collapse
did everything you said as well and still no bar the zip file worked though so thanks for that
Taine0 said:
Move the clock line to above the linear layout. that way it'll be in the center. At the moment it's getting shoved aside by the notifications.
Click to expand...
Click to collapse
Thanks! That did the trick
Share more nice things like this
Due to the request from few dev/cookers, i would like to show, how this mod can be achieved!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Moderators: Before people scream on me, you can move this thread, if doesn't belongs here!
Decompile both SystemUI and framework-res,apk using apktool
framework-res.apk
- /res/values/dimens.xml : change thumbnail size to..
Code:
<dimen name="thumbnail_height">305.0dip</dimen>
<dimen name="thumbnail_width">192.0dip</dimen>
Change the dip values the way you want, but for galaxy note the above dip's fits correctly.
After this compile back and this is the only chnage needs to be done in framework-res.apk
* SystemUI.apk
- /res/values/bools.xml
PHP:
<bool name="config_recents_thumbnail_image_fits_to_xy">true</bool>
- /res/values/drawables.xml
PHP:
<item type="drawable" name="status_bar_recents_background_solid">#ff33b1e1</item>
Now you can change any background you want, by modifying the values of #ff33b1e1...but i prefer this value #b3000000
- /res/layout/status_bar_no_recent_apps.xml
Replace the entire code with this one!
PHP:
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<Button android:textSize="@dimen/status_bar_recents_app_label_text_size" android:layout_gravity="center" android:id="@id/no_recent_apps_launch_button" android:visibility="invisible" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="55.0dip" android:text="@string/status_bar_recent_launch_task_manager_title" />
<TextView android:textSize="20.0dip" android:textColor="@android:color/holo_blue_light" android:gravity="center_horizontal" android:layout_gravity="center" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/status_bar_no_recent_apps" />
</FrameLayout>
- /res/layout-port/status_bar_recent_item.xml
Replace the entire code with this one!
PHP:
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout android:paddingLeft="@dimen/status_bar_recents_item_padding" android:paddingRight="@dimen/status_bar_recents_item_padding" android:layout_width="wrap_content" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<RelativeLayout android:layout_gravity="center_vertical" android:id="@id/recent_item" android:paddingTop="@android:dimen/status_bar_height" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerInParent="true">
<FrameLayout android:id="@id/app_thumbnail" android:background="#00000000" android:visibility="invisible" android:layout_width="wrap_content" android:layout_height="wrap_content" android:foreground="#00000000" android:layout_centerInParent="true">
<ImageView android:id="@id/app_thumbnail_image" android:paddingTop="60.0dip" android:layout_width="212.0dip" android:layout_height="455.0dip" android:layout_marginTop="30.0dip" android:scaleType="centerInside" />
</FrameLayout>
<ImageView android:gravity="center_horizontal" android:id="@id/app_icon" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="405.0dip" android:scaleType="centerInside" android:adjustViewBounds="true" android:maxWidth="@dimen/status_bar_recents_app_icon_max_width" android:maxHeight="@dimen/status_bar_recents_app_icon_max_height" />
<TextView android:textSize="@dimen/status_bar_recents_app_label_text_size" android:textColor="@color/status_bar_recents_app_label_color" android:ellipsize="marquee" android:gravity="center_horizontal" android:id="@id/app_label" android:paddingTop="0.0dip" android:fadingEdge="none" android:fadingEdgeLength="0.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="3.0dip" android:scrollHorizontally="true" android:singleLine="true" android:layout_below="@id/app_icon" android:layout_alignParentBottom="true" />
<TextView android:textSize="@dimen/status_bar_recents_app_description_text_size" android:ellipsize="marquee" android:id="@id/app_description" android:fadingEdge="horizontal" android:fadingEdgeLength="@dimen/status_bar_recents_fading_edge_length" android:layout_width="@dimen/status_bar_recents_app_label_width" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/status_bar_recents_app_label_left_margin" android:layout_marginTop="40.0dip" android:scrollHorizontally="true" android:singleLine="true" android:layout_below="@id/app_label" android:layout_alignParentBottom="true" />
</RelativeLayout>
</FrameLayout>
- /res/layout-port/status_bar_recent_panel.xml
Replace the entire code with this one
PHP:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.recent.RecentsPanelView android:id="@id/recents_root" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<FrameLayout android:id="@id/recents_bg_protect" android:background="@drawable/status_bar_recents_background" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_centerVertical="true">
<ImageView android:gravity="center" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginTop="0.0dip" android:src="@drawable/status_bar_recents_background" />
<com.android.systemui.recent.RecentsHorizontalScrollView android:layout_gravity="bottom|left|center" android:id="@id/recents_container" android:scrollbars="none" android:fadingEdge="none" android:fadingEdgeLength="0.0dip" android:clipChildren="false" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginRight="0.0dip" android:stackFromBottom="true" android:divider="@null">
<LinearLayout android:orientation="horizontal" android:id="@id/recents_linear_layout" android:clipChildren="false" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="wrap_content" />
</com.android.systemui.recent.RecentsHorizontalScrollView>
<TextView android:textSize="20.0dip" android:textColor="#ffe5e5e5" android:gravity="center_horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="45.0dip" android:text="@string/recent_apps_title" />
<Button android:textSize="@dimen/status_bar_recents_app_label_text_size" android:layout_gravity="bottom|center" android:id="@id/recents_launch_button" android:visibility="invisible" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/status_bar_recent_launch_task_manager_title" />
</FrameLayout>
<include android:id="@id/recents_no_apps" android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="fill_parent" layout="@layout/status_bar_no_recent_apps" />
</com.android.systemui.recent.RecentsPanelView>
- /res/layout-port/tw_status_bar_recent_panel.xml
Replace the entire code with this one
PHP:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.recent.RecentsPanelView android:id="@id/recents_root" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<FrameLayout android:id="@id/recents_bg_protect" android:background="@drawable/status_bar_recents_background" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_centerVertical="true">
<ImageView android:gravity="center" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginTop="0.0dip" android:src="@drawable/status_bar_recents_background" />
<com.android.systemui.recent.RecentsHorizontalScrollView android:layout_gravity="bottom|left|center" android:id="@id/recents_container" android:scrollbars="none" android:fadingEdge="none" android:fadingEdgeLength="0.0dip" android:clipChildren="false" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginRight="0.0dip" android:stackFromBottom="true" android:divider="@null">
<LinearLayout android:orientation="horizontal" android:id="@id/recents_linear_layout" android:clipChildren="false" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="wrap_content" />
</com.android.systemui.recent.RecentsHorizontalScrollView>
<TextView android:textSize="20.0dip" android:textColor="#ffe5e5e5" android:gravity="center_horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="45.0dip" android:text="@string/recent_apps_title" />
<Button android:textSize="@dimen/status_bar_recents_app_label_text_size" android:layout_gravity="bottom|center" android:id="@id/recents_launch_button" android:visibility="invisible" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/status_bar_recent_launch_task_manager_title" />
</FrameLayout>
<include android:id="@id/recents_no_apps" android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="fill_parent" layout="@layout/status_bar_no_recent_apps" />
</com.android.systemui.recent.RecentsPanelView>
UP TO HERE WE HAVE DONE THE CODING FOR PORTRAIT MODE, FOR LANDSCAPE FOLLOW THE BELLOW STEPS
- /res/layout-land/status_bar_recent_item.xml
Replace the entire code with this one!
PHP:
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout android:paddingLeft="@dimen/status_bar_recents_item_padding" android:paddingRight="@dimen/status_bar_recents_item_padding" android:layout_width="wrap_content" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<RelativeLayout android:layout_gravity="center_vertical" android:id="@id/recent_item" android:paddingTop="@android:dimen/status_bar_height" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerInParent="true">
<FrameLayout android:id="@id/app_thumbnail" android:background="#00000000" android:visibility="invisible" android:layout_width="wrap_content" android:layout_height="wrap_content" android:foreground="#00000000" android:layout_centerInParent="true">
<ImageView android:id="@id/app_thumbnail_image" android:layout_width="120.0dip" android:layout_height="320.0dip" android:scaleType="centerInside" />
</FrameLayout>
<ImageView android:gravity="center_horizontal" android:id="@id/app_icon" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="225.0dip" android:scaleType="centerInside" android:adjustViewBounds="true" android:maxWidth="20.0dip" android:maxHeight="20.0dip" />
<TextView android:textSize="20.0dip" android:textColor="@color/status_bar_recents_app_label_color" android:ellipsize="marquee" android:gravity="center_horizontal" android:id="@id/app_label" android:paddingTop="0.0dip" android:fadingEdge="none" android:fadingEdgeLength="0.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="0.0dip" android:scrollHorizontally="true" android:singleLine="true" android:layout_below="@id/app_icon" android:layout_alignParentBottom="true" />
<TextView android:textSize="@dimen/status_bar_recents_app_description_text_size" android:ellipsize="marquee" android:id="@id/app_description" android:fadingEdge="none" android:fadingEdgeLength="0.0dip" android:layout_width="@dimen/status_bar_recents_app_label_width" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/status_bar_recents_app_label_left_margin" android:layout_marginTop="3.0dip" android:scrollHorizontally="true" android:singleLine="true" android:layout_below="@id/app_label" android:layout_alignParentBottom="true" />
</RelativeLayout>
</FrameLayout>
- /res/layout-land/status_bar_recent_panel.xml
Replace the entire code with this one!
PHP:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.recent.RecentsPanelView android:id="@id/recents_root" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<FrameLayout android:id="@id/recents_bg_protect" android:background="@drawable/status_bar_recents_background" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_centerVertical="true">
<ImageView android:gravity="center" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginTop="0.0dip" android:src="@drawable/status_bar_recents_background" />
<com.android.systemui.recent.RecentsHorizontalScrollView android:layout_gravity="bottom|left|center" android:id="@id/recents_container" android:scrollbars="none" android:fadingEdge="none" android:fadingEdgeLength="0.0dip" android:clipChildren="false" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginRight="0.0dip" android:stackFromBottom="true" android:divider="@null">
<LinearLayout android:orientation="horizontal" android:id="@id/recents_linear_layout" android:clipChildren="false" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="wrap_content" />
</com.android.systemui.recent.RecentsHorizontalScrollView>
<TextView android:textSize="20.0dip" android:textColor="#ffe5e5e5" android:gravity="center_horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="15.0dip" android:text="@string/recent_apps_title" />
<Button android:textSize="@dimen/status_bar_recents_app_label_text_size" android:layout_gravity="bottom" android:id="@id/recents_launch_button" android:visibility="invisible" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/status_bar_recent_launch_task_manager_title" />
</FrameLayout>
<include android:id="@id/recents_no_apps" android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="fill_parent" layout="@layout/status_bar_no_recent_apps" />
</com.android.systemui.recent.RecentsPanelView>
- /res/layout-land/tw_status_bar_recent_panel.xml
Replace the entire code with this one!
PHP:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.recent.RecentsPanelView android:id="@id/recents_root" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<FrameLayout android:id="@id/recents_bg_protect" android:background="@drawable/status_bar_recents_background" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_centerVertical="true">
<ImageView android:gravity="center" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginTop="0.0dip" android:src="@drawable/status_bar_recents_background" />
<com.android.systemui.recent.RecentsHorizontalScrollView android:layout_gravity="bottom|left|center" android:id="@id/recents_container" android:scrollbars="none" android:fadingEdge="none" android:fadingEdgeLength="0.0dip" android:clipChildren="false" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginRight="0.0dip" android:stackFromBottom="true" android:divider="@null">
<LinearLayout android:orientation="horizontal" android:id="@id/recents_linear_layout" android:clipChildren="false" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="wrap_content" />
</com.android.systemui.recent.RecentsHorizontalScrollView>
<TextView android:textSize="20.0dip" android:textColor="#ffe5e5e5" android:gravity="center_horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="15.0dip" android:text="@string/recent_apps_title" />
<Button android:textSize="@dimen/status_bar_recents_app_label_text_size" android:layout_gravity="bottom" android:id="@id/recents_launch_button" android:visibility="invisible" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/status_bar_recent_launch_task_manager_title" />
</FrameLayout>
<include android:id="@id/recents_no_apps" android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="fill_parent" layout="@layout/status_bar_no_recent_apps" />
</com.android.systemui.recent.RecentsPanelView>
Now open res/values/id.xml and add this one at the end of the file!
PHP:
<item type="id" name="no_recent_apps_launch_button">false</item>
Now open res/values/strings.xml and add this one at the end of the file!
PHP:
<string name="recent_apps_title">Recent apps</string>
Now compile the systemui.apk and you will have windows style task manager / recent apps...if you would like to have the sense style with reflection background, then please download the file from here which i made it for criskelo (http://forum.xda-developers.com/showthread.php?p=27593864#post27593864) and compare the code, you will know how to get it. The code is located in
systemui\smali\com\android\systemui\recent\RecentsPanelView.smali
of @redroid done lot of hard work to find the code , LOL...you can find the code from here
http://forum.xda-developers.com/showpost.php?p=28701323&postcount=28
Credits!
To all the developers around here and my special thanks to @evilisto
Feel Helped, Press Thanks!
Nice ))
now something that belongs here...thanks mate!
@grgsiocl This is fantastic. I realised that you only have the cwm for Criskelo's rom. I was hoping that you could be kind enough to create the cwm for other roms, maybe Cassie's XtraliteRom ICS 4.5 and SVA ICS 5.2? Thanking you in advance.
I remember seeing in nexus thread that someone had ported windows mango to it.
Is it possible to do it here too? ??
zard said:
@grgsiocl This is fantastic. I realised that you only have the cwm for Criskelo's rom. I was hoping that you could be kind enough to create the cwm for other roms, maybe Cassie's XtraliteRom ICS 4.5 and SVA ICS 5.2? Thanking you in advance.
Click to expand...
Click to collapse
just now created a mod for cassies and sent a PM to the developer..let me wait for his nod though!
Rulinglionadi said:
I remember seeing in nexus thread that someone had ported windows mango to it.
Is it possible to do it here too? ??
Click to expand...
Click to collapse
may be possible, but i am not in to that at the moment...it would be feasible for us to port jellybean as early as possible...frayyab has already made working (almost) jelly bean for s3, so we need to wait till he completes...not many of here are int in porting windows OS
grgsiocl said:
may be possible, but i am not in to that at the moment...it would be feasible for us to port jellybean as early as possible...frayyab has already made working (almost) jelly bean for s3, so we need to wait till he completes...not many of here are int in porting windows OS
Click to expand...
Click to collapse
true...but i see MIUI threads coming up...would be nice to mix MIUI,JB and Windows 8 together... :laugh:
Nice to see this...any way im also from kurnool....can you give me your gtalk or fb username. . .
grgsiocl said:
just now created a mod for cassies and sent a PM to the developer..let me wait for his nod though!
Click to expand...
Click to collapse
Still no response from cassies developer? Spent my time to setup my Note with his latest rom the way I liked it and now, it's just missing this mod. ;-)
Sent from my GT-N7000 using Tapatalk 2
grgsiocl said:
just now created a mod for cassies and sent a PM to the developer..let me wait for his nod though!
Click to expand...
Click to collapse
I hear hes working on the next update...so it might be added in it.
zard said:
Still no response from cassies developer? Spent my time to setup my Note with his latest rom the way I liked it and now, it's just missing this mod. ;-)
Sent from my GT-N7000 using Tapatalk 2
Click to expand...
Click to collapse
i have sent a PM, but he is pretty busy in making a ROM for s3, so he might include it in next version...personally i have note tested, but you want to test , then flash the zip from recovery!
http://www.mediafire.com/?11f39377ozwrcvz
Please do make a backup of ROM incase if something goes wrong which is very rare...or else make a copy of my zip and rename something like original_cassie and copy the systemui.apk and framework-res.apk in the corresponding folders. if the my mod doesnt work, then you can flash back the original zip!
grgsiocl said:
i have sent a PM, but he is pretty busy in making a ROM for s3, so he might include it in next version...personally i have note tested, but you want to test , then flash the zip from recovery!
http://www.mediafire.com/?11f39377ozwrcvz
Please do make a backup of ROM incase if something goes wrong which is very rare...or else make a copy of my zip and rename something like original_cassie and copy the systemui.apk and framework-res.apk in the corresponding folders. if the my mod doesnt work, then you can flash back the original zip!
Click to expand...
Click to collapse
Cool, works fine, just that the 15 toggles mod from http://forum.xda-developers.com/showthread.php?t=1620625 will not work anymore. Guess both mods are using the same apks. Any possibility of helping to add to the all blue 15 toggles mod? Thanks.
Sent from my GT-N7000 using Tapatalk 2
zard said:
Cool, works fine, just that the 15 toggles mod from http://forum.xda-developers.com/showthread.php?t=1620625 will not work anymore. Guess both mods are using the same apks. Any possibility of helping to add to the all blue 15 toggles mod? Thanks.
Sent from my GT-N7000 using Tapatalk 2
Click to expand...
Click to collapse
Ok thanks for the feedback...I will include it by today evening...till that time, you can flash your original file
grgsiocl said:
Ok thanks for the feedback...I will include it by today evening...till that time, you can flash your original file
Click to expand...
Click to collapse
No worries. I am keeping your sense mod and waiting for your update. The sense mod is used more frequently than the 15 toggles mod. ;-)
Thanks.
Sent from my GT-N7000 using Tapatalk 2
grgsiocl said:
Ok thanks for the feedback...I will include it by today evening...till that time, you can flash your original file
Click to expand...
Click to collapse
zard said:
No worries. I am keeping your sense mod and waiting for your update. The sense mod is used more frequently than the 15 toggles mod. ;-)
Thanks.
Sent from my GT-N7000 using Tapatalk 2
Click to expand...
Click to collapse
Looks like something might have crop up, hope it's not too serious. Hope you can resolve it soon. Thanks.
Sent from my GT-N7000 using Tapatalk 2
zard said:
Looks like something might have crop up, hope it's not too serious. Hope you can resolve it soon. Thanks.
Sent from my GT-N7000 using Tapatalk 2
Click to expand...
Click to collapse
Have asked the 15 toggles developer to help out. Hope he will help. Thanks.
http://forum.xda-developers.com/showthread.php?p=28214909
Sent from my GT-N7000 using Tapatalk 2
nice copy paste
Gues instead of only my ROM every rom will be the same again..
Robbie Hood said:
nice copy paste
Gues instead of only my ROM every rom will be the same again..
Click to expand...
Click to collapse
its even the same in goa rom also my friend(check the ver 2.0)...just sharing the mod and also the mod was ported from nexus...you can search the xda, you will get the results...well yes i did mentioned in the other thread, that only code i obtained from the alliance rom is to change the background image, by changing the nandroid11.png which is located in systemui....that also i changed it and assigned the code to take the background of status bar solid background......no offence
i meant it might be nice to link where you got it from instead of makin it look like you made this
but copy paste for popularity seems hot
GUIDE ( SMALI ) CM9 BLACKBERRY TEN STYLE LOCKSCREEN FOR HDPI / XHDPI DEVICES ONLY
for MDPI Devices , you can go here : http://forum.xda-developers.com/showthread.php?t=2260883
thanks to Sky_Walker for getting it working on MDPI devices
Hi..Hi.how are you all XDA especially for Developer only
I want to share to you all how to make Mod Backberry ten style lockscreen but only for HDPI/XHDPI Devices running CyanogenMod 9
and for CyanogenMod 10 you can go here http://forum.xda-developers.com/showthread.php?t=2236926
The different with CyanogenMod 10 version that we don't have lockscreen transparency in CM9 version.
and there is a little bug in CM9 version, Don't ever try to change lockscreen background to color fill or custom image, or you will not able to unlock/open the lockscreen,
so make sure you always use Default Wallpaper as Lockscreen background
I am coming from this guide thread http://forum.xda-developers.com/showthread.php?t=1920612
and Full Credit goes to the original founder Legend Senior Member EVILISTO
and here I want to share it to you how to make Mod Blackberry ten style lockscreen but with SMALI code :good::laugh:
I made one for my device Galaxy Wonder GT-I8150 :http://forum.xda-developers.com/showthread.php?t=2229154
THANKS to sir Arco68 for giving our device smooth and stable CyanogenMod 9
and Thanks to Sir Idiomedi for helping me with the Blackberry WaveView.smali
ok lets go to Guide:
first of all need some requirement for this MOD-GUIDE
REQUIREMENT:
- BRAIN
- Patient
- experience
- Know how to decompile/recompiling Apk file
- Know how to decompile/recompiling jar Apk file
- notepad++
- Tool for decompiling, : apkmanager/apktool/Virtous/apkmultitools/ or else
Sorry for my bad english ​
GUIDE
1. Decompile your framework-res.apk
\res\layout\keyguard_screen_tab_unlock.xml
Delete the whole lines and replace with this :
Code:
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout android:gravity="center_horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<com.android.internal.widget.WaveView android:id="@id/unlock_widget" android:layout_width="fill_parent" android:layout_height="fill_parent" />
<GridLayout android:gravity="center_horizontal" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.internal.widget.DigitalClock android:id="@id/time" android:paddingTop="36.0dip" android:layout_marginBottom="8.0dip">
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="@dimen/keyguard_lockscreen_clock_font_size" android:textColor="@color/lockscreen_clock_background" android:ellipsize="none" android:gravity="center_horizontal" android:id="@id/timeDisplayBackground" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginBottom="5.0dip" android:singleLine="true" />
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="@dimen/keyguard_lockscreen_clock_font_size" android:textColor="@color/lockscreen_clock_foreground" android:ellipsize="none" android:gravity="center_horizontal" android:id="@id/timeDisplayForeground" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginBottom="5.0dip" android:singleLine="true" android:layout_alignLeft="@id/timeDisplayBackground" android:layout_alignTop="@id/timeDisplayBackground" />
</com.android.internal.widget.DigitalClock>
<LinearLayout android:orientation="horizontal" android:id="@id/date_line" android:layout_width="fill_parent">
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="@dimen/keyguard_lockscreen_status_line_font_size" android:ellipsize="marquee" android:gravity="center_horizontal" android:id="@id/date" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="@dimen/keyguard_lockscreen_status_line_font_size" android:ellipsize="marquee" android:gravity="center_horizontal" android:id="@id/alarm_status" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginLeft="16.0dip" android:singleLine="true" android:drawablePadding="4.0dip" />
</LinearLayout>
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="@dimen/keyguard_lockscreen_status_line_font_size" android:ellipsize="marquee" android:gravity="center_horizontal" android:id="@id/status1" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" android:drawablePadding="4.0dip" />
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="@dimen/keyguard_lockscreen_status_line_font_size" android:textColor="?textColorSecondary" android:ellipsize="marquee" android:gravity="center_horizontal" android:id="@id/carrier" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="3.0dip" android:singleLine="true" />
<RelativeLayout android:orientation="horizontal" android:id="@id/weather_panel" android:paddingTop="4.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content">
<ImageView android:id="@id/weather_image" android:paddingLeft="8.0dip" android:paddingRight="8.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_dialog_alert" android:layout_centerHorizontal="true" android:layout_centerVertical="true" />
<RelativeLayout android:orientation="horizontal" android:padding="4.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_toLeftOf="@id/weather_image" android:layout_centerVertical="true">
<TextView android:textSize="14.0sp" android:textStyle="bold" android:textColor="?textColorPrimary" android:ellipsize="marquee" android:gravity="right" android:id="@id/weather_city" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" android:layout_alignParentRight="true" />
<TextView android:textSize="12.0sp" android:textColor="?textColorPrimary" android:ellipsize="marquee" android:gravity="right" android:id="@id/weather_condition" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" android:layout_below="@id/weather_city" android:layout_alignParentRight="true" />
<TextView android:textSize="6.0sp" android:textColor="?textColorSecondary" android:gravity="right" android:id="@id/update_time" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_below="@id/weather_condition" android:layout_alignParentRight="true" />
</RelativeLayout>
<RelativeLayout android:orientation="horizontal" android:id="@id/weather_temps_panel" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_toRightOf="@id/weather_image" android:layout_centerVertical="true">
<TextView android:textSize="20.0sp" android:textColor="?textColorPrimary" android:id="@id/weather_temp" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerHorizontal="true" />
<View android:id="@id/weather_divider" android:background="@drawable/divider_horizontal_dark" android:layout_width="44.0dip" android:layout_height="1.0dip" android:layout_below="@id/weather_temp" />
<TextView android:textSize="12.0sp" android:textColor="?textColorPrimary" android:id="@id/weather_low_high" android:paddingTop="2.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_below="@id/weather_divider" android:layout_centerHorizontal="true" />
</RelativeLayout>
</RelativeLayout>
<Button android:layout_gravity="right" android:id="@id/emergencyCallButton" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="4.0dip" android:layout_marginRight="16.0dip" android:text="@string/lockscreen_emergency_call" android:drawableLeft="@drawable/lockscreen_emergency_button" android:drawablePadding="4.0dip" style="?android:attr/buttonBarButtonStyle" />
<RelativeLayout android:layout_width="fill_parent" android:layout_height="wrap_content">
<LinearLayout android:gravity="center_vertical" android:id="@id/calendar_panel" android:paddingLeft="12.0dip" android:paddingRight="12.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:minHeight="28.0dip">
<ImageView android:gravity="center" android:layout_gravity="center_vertical" android:layout_width="36.0dip" android:layout_height="wrap_content" android:src="@drawable/ic_lock_idle_calendar" />
<View android:background="@drawable/divider_horizontal_dark" android:paddingTop="6.0dip" android:paddingBottom="6.0dip" android:layout_width="1.0dip" android:layout_height="fill_parent" />
<RelativeLayout android:paddingLeft="4.0dip" android:paddingTop="6.0dip" android:paddingBottom="6.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0">
<TextView android:textSize="14.0sp" android:textColor="?textColorPrimary" android:ellipsize="marquee" android:id="@id/calendar_event_title" android:fadingEdge="horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" />
<TextView android:textSize="12.0sp" android:textColor="?textColorSecondary" android:ellipsize="marquee" android:id="@id/calendar_event_details" android:focusable="true" android:focusableInTouchMode="true" android:fadingEdge="horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content" android:scrollHorizontally="true" android:singleLine="true" android:layout_below="@id/calendar_event_title" android:layout_alignLeft="@id/calendar_event_title" android:marqueeRepeatLimit="marquee_forever" />
</RelativeLayout>
</LinearLayout>
</RelativeLayout>
<LinearLayout android:gravity="center" android:orientation="horizontal" android:layout_width="fill_parent" android:weightSum="2.0" style="?android:attr/buttonBarStyle">
<Button android:textSize="@dimen/keyguard_lockscreen_status_line_font_size" android:layout_gravity="center_horizontal" android:id="@id/emergencyCallButton" android:visibility="gone" android:layout_width="0.0dip" android:layout_height="wrap_content" android:text="@string/lockscreen_emergency_call" android:drawableLeft="@drawable/lockscreen_emergency_button" android:drawablePadding="0.0dip" android:layout_weight="1.0" style="?android:attr/buttonBarButtonStyle" />
</LinearLayout>
<include android:layout_gravity="fill" android:id="@id/transport" android:layout_width="0.0dip" android:layout_height="0.0dip" android:layout_column="0" android:layout_row="0" android:layout_rowSpan="8" android:layout_columnSpan="1" layout="@layout/keyguard_transport_control" />
</GridLayout>
</RelativeLayout>
NEXT
2. for HDPI DEVICES download THIS and put it to
\res\drawable-hdpi\
for XHDPI DEVICES download THIS and put it to
\res\drawable-xhdpi\
NEXT
\res\values\ids.xml
3. add this line to the end
Code:
<item type="id" name="date_line">false</item>
DONE and recompile your framework-res.apk
NEXT
4. Decompile the Newly recompiled framework-res.apk again
and go to
\res\values\public.xml
open in text editor or notepad++ that public.xml
and don't do anything., we just leave it.
NEXT
5. Decompile your framework.jar
\com\android\internal\widget
DELETE WaveView.smali and replace with THIS new WaveView.smali
NEXT
6. Open in text editor that new WaveView.smali and look into your new public.xml that we just leave.
Make sure the ID in WaveView.smali is same like your new ID in new public.xml
but without 0 number in the public.xml
Code:
[B]new WaveView.smali new Public.xml[/B]
-line 198 -> 0x10404bd <public type="string" name="description_target_camera" id="0x[COLOR="Red"]0[/COLOR]10404bd" />
-line 306 -> 0x10805fc <public type="drawable" name="unlock_ring" id="0x[COLOR="Red"]0[/COLOR]10805fc" />
-line355 -> 0x10805fd <public type="drawable" name="unlock_wave" id="0x[COLOR="Red"]0[/COLOR]10805fd" />
-line 404 -> 0x10805fa <public type="drawable" name="unlock_default" id="0x[COLOR="Red"]0[/COLOR]10805fa" />
-line 453 -> 0x10805fb <public type="drawable" name="unlock_halo" id="0x[COLOR="Red"]0[/COLOR]10805fb" />
if the ID in new public.xml is different, you must change the ID in new WaveView.smali with your new ID in public.xml but without 0 number in the public.xml
DONE and Compile your framework-res.apk and your framework.jar.
reserved for something
Recompile error at step 3 sir
jetse7en said:
Recompile error at step 3 sir
Click to expand...
Click to collapse
Ouh .. sorry
Can post the log chat , so we can see which error
Sent from my GT-I8150 using xda app-developers app
That the step 3 would earn, to enough only one hundred-fate ( <com.android.internal.widget.WaveView android:id="@id/unlock_widget" android:layout_width="fill_parent" android:layout_height="fill_parent" />) to transfer to the file. Having removed the which is responsible for blocking. All other lines exclusively under each phone.
Adi Aisiteru Reborn said:
Ouh .. sorry
Can post the log chat , so we can see which error
Sent from my GT-I8150 using xda app-developers app
Click to expand...
Click to collapse
Here it is, sir
jetse7en said:
Here it is, sir
Click to expand...
Click to collapse
yah, I've seen that, but why you have so many missing ids ?
are you sure it's CM9 (4.0.4) framework-res.apk ?
or can you give me your framework-res.apk too ?, I want to check it
Adi Aisiteru Reborn said:
yah, I've seen that, but why you have so many missing ids ?
are you sure it's CM9 (4.0.4) framework-res.apk ?
or can you give me your framework-res.apk too ?, I want to check it
Click to expand...
Click to collapse
Yes, i'm sure.
Here's my's framework-res.apk
Can this work for mdpi devices coz I've heard that hdpi mods can also work for MDP I devices
HTC pico yc style,
jetse7en said:
Yes, i'm sure.
Here's my's framework-res.apk
Click to expand...
Click to collapse
ahh seems that your tools, I dont find error with my tools decompile recompile your framewrok-res.apk
here you go for you, I've edit your framewrok-res.apk to bb lockscreen
jetse7en_BB_FLASHABLE_framework-res.apk
I ve checked it and the public.xml already mach with my BB wave view smali,. now you only need to compile your frmaework.jar with my waveview.smali, no need to check it anymore,.
and flash with my template flashable zip
and if it works,. remember , this lockscreen has bug, read my first post
yasir4abbas said:
Can this work for mdpi devices coz I've heard that hdpi mods can also work for MDP I devices
HTC pico yc style,
Click to expand...
Click to collapse
not yet, I'm sorry
Adi Aisiteru Reborn said:
ahh seems that your tools, I dont find error with my tools decompile recompile your framewrok-res.apk
here you go for you, I've edit your framewrok-res.apk to bb lockscreen
jetse7en_BB_FLASHABLE_framework-res.apk
I ve checked it and the public.xml already mach with my BB wave view smali,. now you only need to compile your frmaework.jar with my waveview.smali, no need to check it anymore,.
and flash with my template flashable zip
Click to expand...
Click to collapse
Thank you very muchhhhh!
Can you give me your apktool? I need to build a new one for my other device which using CM10 too.
jetse7en said:
Thank you very muchhhhh!
Can you give me your apktool? I need to build a new one for my other device which using CM10 too.
Click to expand...
Click to collapse
I dont use apk tool , I use Apk Multitools , you can get it on its official website
Sent from my GT-I8150 using xda app-developers app
Adi Aisiteru Reborn said:
I dont use apk tool , I use Apk Multitools , you can get it on its official website
Sent from my GT-I8150 using xda app-developers app
Click to expand...
Click to collapse
Sir, i think my apktool is not has any problem.
I've tested with your framework-res.apk by steps below:
- Unzip jetse7en_BB_FLASHABLE_framework-res.apk
- Decompile framework-res.apk
- Recompile without any change
-> Recompile complete
(sry my bad english)
jetse7en said:
Sir, i think my apktool is not has any problem.
I've tested with your framework-res.apk by steps below:
- Unzip jetse7en_BB_FLASHABLE_framework-res.apk
- Decompile framework-res.apk
- Recompile without any change
-> Recompile complete
(sry my bad english)
Click to expand...
Click to collapse
that framework-res.apk already been compressed when decompile recompile procss by my tools, ,
I dont know, may be its difficult for your tools for editing stok original apk especially injecting/porting new lines to the apk,.
Adi Aisiteru Reborn said:
that framework-res.apk already been compressed when decompile recompile procss by my tools, ,
I dont know, may be its difficult for your tools for editing stok original apk especially injecting/porting new lines to the apk,.
Click to expand...
Click to collapse
OK. My wrong,
I've finished. Thank for support
Adi Aisiteru Reborn said:
not yet, I'm sorry
Click to expand...
Click to collapse
But are u going to do it?
Thanks in advance
Impulse1020 said:
But are u going to do it?
Thanks in advance
Click to expand...
Click to collapse
see this original founder thread , [MOD][DEV] BlackBerry 10 style Lockscreen mod for JB [JZO54K / AOKP / CM10]
he said the resources for HD( xhdpi )..
and
EVILISTO said
I made this mod for jellybean but basically it is based on old WaveView widget(honeycomb's). So I think making same mod for ICS is possible too.. (but untested.. and maybe you have to apply patch manually)
Click to expand...
Click to collapse
am not this Mod founder, so I cannot find the solution for MDPI / LDPI
what am trying to share here is, how to make that Mod with different guide,. and still use the same resources
and the fact I can prove it that this mod is able for ICS base rom too :good::laugh:
bro !!! this is my framework-res.apk got compilation error !!!
please mod it if possible thnx in advance !!!
showstopper1 said:
bro !!! this is my framework-res.apk got compilation error !!!
please mod it if possible thnx in advance !!!
Click to expand...
Click to collapse
sorry for late repply, I had a bussy in my office
Btw, I've checked your framework-res.apk, and it is not CM9 framework-res.apk,.it is ICS.4.0.4 stok framework-res.apk.. thts why you got error,
and this Mod guide is only for CM9 only. sorry
When I'm at home, I nearly always have the WiFi on. I have email to check, comics to read, people to talk to..and, of course, the XDA forum to look at.
The trouble is, I don't really like the way I have two separate icons for my network signal and for my WiFi.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Since they're showing signal strength, I figured I may as well merge the two together.
A few minutes with an xml editor and a graphics package later and it was done.
And now I'm going to show you how to do it yourself!
What You Need:
To do this, it's pretty simple. But you will need a few things..
An Android phone or tablet (obviously) running ICS or later
A PC with your devices drivers installed (worth installing any PC suite, if available)
A USB cable to connect your device to your PC
A program that uses apktool. I recommend using Tickle My Android, which is fast, user-friendly and very powerful...but it's up to you. And you'll also need...
..some patience.
Got all that? Excellent! Then let us begin!
Now, before we do any modding of any sort, we need to make a backup so it really helps if you have a recovery installed as well.
We need to edit some of the files contained within system/app/SystemUI.apk. So to do that, we need to decompile it. That's where your apktool-based program comes in. There's a few of those so you'll need to refer to the instructions for that particular program.
Once it's been decompiled, we need to edit layout\signal_cluster_view.xml.
You can edit xml files with MS Notepad, but if you're going to be doing a lot of this, I suggest installing Notepad++. It's specifically designed to editing code and it's free!
This is the code we're faced with:
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.SignalClusterView android:orientation="horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content"
xmlns:android="http://schemas.android.com/apk/res/android">
<ImageView android:id="@id/no_sim" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<View android:id="@id/no_sim_spacer" android:visibility="gone" android:layout_width="6.0dip" android:layout_height="6.0dip" />
<FrameLayout android:id="@id/wifi_combo" android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:id="@id/wifi_signal" android:layout_width="wrap_content" android:layout_height="wrap_content" android:scaleType="center" android:layout_alignParentRight="true" android:layout_centerVertical="true" />
<ImageView android:layout_gravity="bottom|center" android:id="@id/wifi_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>
<View android:id="@id/spacer" android:visibility="gone" android:layout_width="0.0dip" android:layout_height="6.0dip" />
<FrameLayout android:layout_width="wrap_content" android:layout_height="wrap_content">
<View android:visibility="invisible" android:layout_width="6.0dip" android:layout_height="6.0dip" />
<LinearLayout android:orientation="horizontal" android:id="@id/mobile_separate" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content">
<FrameLayout android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:id="@id/mobile_separate_type" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:id="@id/mobile_separate_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>
<FrameLayout android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:id="@id/mobile_separate_roaming" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:id="@id/mobile_separate_signal" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>
</LinearLayout>
<FrameLayout android:id="@id/mobile_combo" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:id="@id/mobile_signal" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:id="@id/mobile_type" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:layout_gravity="bottom|right|center" android:id="@id/mobile_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>
</FrameLayout>
<ImageView android:id="@id/airplane" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</com.android.systemui.statusbar.SignalClusterView>
Looks intimidating, doesn't it? If you've never faced xml before, this may look completely incomprehensible to you. But don't worry. It makes sense..and you don't actually need to understand any of it.
This is the portion of code that displays the WiFi icons:
Code:
[COLOR="RoyalBlue"] <FrameLayout android:id="@id/wifi_combo" android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:id="@id/wifi_signal" android:layout_width="wrap_content" android:layout_height="wrap_content" android:scaleType="center" android:layout_alignParentRight="true" android:layout_centerVertical="true" />
<ImageView android:layout_gravity="bottom|center" android:id="@id/wifi_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>[/COLOR]
And this is the portion of code that displays the signal icons:
Code:
[COLOR="Red"] <FrameLayout android:layout_width="wrap_content" android:layout_height="wrap_content">
<View android:visibility="invisible" android:layout_width="6.0dip" android:layout_height="6.0dip" />
<LinearLayout android:orientation="horizontal" android:id="@id/mobile_separate" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content">
<FrameLayout android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:id="@id/mobile_separate_type" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:id="@id/mobile_separate_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>
<FrameLayout android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:id="@id/mobile_separate_roaming" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:id="@id/mobile_separate_signal" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>
</LinearLayout>
<FrameLayout android:id="@id/mobile_combo" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:id="@id/mobile_signal" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:id="@id/mobile_type" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:layout_gravity="bottom|right|center" android:id="@id/mobile_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>
</FrameLayout>[/COLOR]
Currently the WiFi code is above the signal code, which means the WiFi icons are displayed on the left of the signal icons.
For this mod, we want the WiFi icons to be on the right]/i] of the signal icons. So, to do that, let's just swap the two portions of code..
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.SignalClusterView android:orientation="horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content"
xmlns:android="http://schemas.android.com/apk/res/android">
<ImageView android:id="@id/no_sim" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<View android:id="@id/no_sim_spacer" android:visibility="gone" android:layout_width="6.0dip" android:layout_height="6.0dip" />
<View android:id="@id/spacer" android:visibility="gone" android:layout_width="0.0dip" android:layout_height="6.0dip" />
[COLOR="Red"] <FrameLayout android:layout_width="wrap_content" android:layout_height="wrap_content">
<View android:visibility="invisible" android:layout_width="6.0dip" android:layout_height="6.0dip" />
<LinearLayout android:orientation="horizontal" android:id="@id/mobile_separate" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content">
<FrameLayout android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:id="@id/mobile_separate_type" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:id="@id/mobile_separate_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>
<FrameLayout android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:id="@id/mobile_separate_roaming" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:id="@id/mobile_separate_signal" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>
</LinearLayout>
<FrameLayout android:id="@id/mobile_combo" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:id="@id/mobile_signal" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:id="@id/mobile_type" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:layout_gravity="bottom|right|center" android:id="@id/mobile_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>
</FrameLayout>
[/COLOR][COLOR="royalblue"] <FrameLayout android:id="@id/wifi_combo" android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:id="@id/wifi_signal" android:layout_width="wrap_content" android:layout_height="wrap_content" android:scaleType="center" android:layout_alignParentRight="true" android:layout_centerVertical="true" />
<ImageView android:layout_gravity="bottom|center" android:id="@id/wifi_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>[/COLOR]
<ImageView android:id="@id/airplane" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</com.android.systemui.statusbar.SignalClusterView>
Please don't just copy and paste this code into your xml file. That will only work if your rom is the same as the one I got this code from. You'll need to change your actual xml yourself.
Now we've put the icons in the right place, we need to change what the WiFi icons actually look like.
Download the attachment, extract it and add the icons to whichever drawable folder your devices uses. This may take a little trial and error. The Xperia Z is a xxhdpi device, so just add them to drawable-xxhdpi. If you're using a different device, you might need to put these icons in a different folder.
You'll be asked if you want to overwrite the existing files. Just say 'yes'!
And that's all the modding we need to do. Now you need to recompile, sort out the signature, the compression rate, etc. Again, refer to your compiling programs instructions.
Push, flash or manually move your modded SystemUI.apk back to your phone, wait for it to think about everything..then marvel as your statusbar looks that little bit neater and your WiFi icon looks like it's part of your signal icon.
Enjoy!
Because so many people have different roms, firmware versions, odexed/deodexed apks, recoveries, versions of recoveries, types or recoveries, etc..
I've decided not to offer modded files anymore. It just causes too much hassle when it turns out they work on some peoples devices but not on others.
Instead, I'll be showing you how to make the mods yourselves. It takes a bit longer but it's worth putting the effort in.
If you know how to mod your device, you can do all kinds of things....you might even come up with a mod that no-one else has!
Great tutorial, keeps my notification bar clean.
can you edit it thanks:silly:
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.SignalClusterView android:orientation="horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content"
xmlns:android="http://schemas.android.com/apk/res/android">
<FrameLayout android:id="@id/wifi_combo" android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:id="@id/wifi_signal" android:layout_width="wrap_content" android:layout_height="wrap_content" android:scaleType="center" android:layout_alignParentRight="true" android:layout_centerVertical="true" />
<ImageView android:layout_gravity="bottom|center" android:id="@id/wifi_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>
<View android:id="@id/spacer" android:visibility="gone" android:layout_width="0.0dip" android:layout_height="6.0dip" />
<FrameLayout android:layout_width="wrap_content" android:layout_height="wrap_content">
<View android:visibility="invisible" android:layout_width="6.0dip" android:layout_height="6.0dip" />
<FrameLayout android:id="@id/mobile_combo" android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:id="@id/mobile_signal" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:id="@id/mobile_type" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:layout_gravity="bottom|right|center" android:id="@id/mobile_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>
</FrameLayout>
</com.android.systemui.statusbar.SignalClusterView>
ReadReadz said:
can you edit it thanks:silly:
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.SignalClusterView android:orientation="horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content"
xmlns:android="http://schemas.android.com/apk/res/android">
<FrameLayout android:id="@id/wifi_combo" android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:id="@id/wifi_signal" android:layout_width="wrap_content" android:layout_height="wrap_content" android:scaleType="center" android:layout_alignParentRight="true" android:layout_centerVertical="true" />
<ImageView android:layout_gravity="bottom|center" android:id="@id/wifi_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>
<View android:id="@id/spacer" android:visibility="gone" android:layout_width="0.0dip" android:layout_height="6.0dip" />
<FrameLayout android:layout_width="wrap_content" android:layout_height="wrap_content">
<View android:visibility="invisible" android:layout_width="6.0dip" android:layout_height="6.0dip" />
<FrameLayout android:id="@id/mobile_combo" android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:id="@id/mobile_signal" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:id="@id/mobile_type" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:layout_gravity="bottom|right|center" android:id="@id/mobile_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>
</FrameLayout>
</com.android.systemui.statusbar.SignalClusterView>
Click to expand...
Click to collapse
Yup. It's much the same as the code in the op but with a few icons left out.
Give this a whirl:
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.SignalClusterView android:orientation="horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content"
xmlns:android="http://schemas.android.com/apk/res/android">
<View android:id="@id/spacer" android:visibility="gone" android:layout_width="0.0dip" android:layout_height="6.0dip" />
<FrameLayout android:layout_width="wrap_content" android:layout_height="wrap_content">
<View android:visibility="invisible" android:layout_width="6.0dip" android:layout_height="6.0dip" />
<FrameLayout android:id="@id/mobile_combo" android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:id="@id/mobile_signal" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:id="@id/mobile_type" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:layout_gravity="bottom|right|center" android:id="@id/mobile_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>
</FrameLayout>
<FrameLayout android:id="@id/wifi_combo" android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:id="@id/wifi_signal" android:layout_width="wrap_content" android:layout_height="wrap_content" android:scaleType="center" android:layout_alignParentRight="true" android:layout_centerVertical="true" />
<ImageView android:layout_gravity="bottom|center" android:id="@id/wifi_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>
</com.android.systemui.statusbar.SignalClusterView>
Sent from my Xperia Z using XDA Premium
..Have you tried Tickle My Android yet?
Great Tutorial from tha Great Master...... Thumbsup!!!
for Xperia P,U, Sola, Arc S, Arc, Neo V, Neo its drawable-hdpi
T, TX, V, S, SL, Ion, Acro S
whalesplaho said:
Great Tutorial from tha Great Master...... Thumbsup!!!
for Xperia P,U, Sola, Arc S, Arc, Neo V, Neo its drawable-hdpi
T, TX, V, S, SL, Ion, Acro S
Click to expand...
Click to collapse
Thanks, whales!
Sent from my Xperia Z using XDA Premium
..Have you tried Tickle My Android yet?
Ticklefish said:
Thanks, whales!
Sent from my Xperia Z using XDA Premium
..Have you tried Tickle My Android yet?
Click to expand...
Click to collapse
Yhu rock man... trying it out now!!
Ticklefish said:
When I'm at home, I nearly always have the WiFi on. I have email to check, comics to read, people to talk to..and, of course, the XDA forum to look at.
The trouble is, I don't really like the way I have two separate icons for my network signal and for my WiFi.
Since they're showing signal strength, I figured I may as well merge the two together.
A few minutes with an xml editor and a graphics package later and it was done.
And now I'm going to show you how to do it yourself!
What You Need:
To do this, it's pretty simple. But you will need a few things..
An Android phone or tablet (obviously) running ICS or later
A PC with your devices drivers installed (worth installing any PC suite, if available)
A USB cable to connect your device to your PC
A program that uses apktool. I recommend using Tickle My Android, which is fast, user-friendly and very powerful...but it's up to you. And you'll also need...
..some patience.
Got all that? Excellent! Then let us begin!
Now, before we do any modding of any sort, we need to make a backup so it really helps if you have a recovery installed as well.
We need to edit some of the files contained within system/app/SystemUI.apk. So to do that, we need to decompile it. That's where your apktool-based program comes in. There's a few of those so you'll need to refer to the instructions for that particular program.
Once it's been decompiled, we need to edit layout\signal_cluster_view.xml.
You can edit xml files with MS Notepad, but if you're going to be doing a lot of this, I suggest installing Notepad++. It's specifically designed to editing code and it's free!
This is the code we're faced with:
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.SignalClusterView android:orientation="horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content"
xmlns:android="http://schemas.android.com/apk/res/android">
<ImageView android:id="@id/no_sim" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<View android:id="@id/no_sim_spacer" android:visibility="gone" android:layout_width="6.0dip" android:layout_height="6.0dip" />
<FrameLayout android:id="@id/wifi_combo" android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:id="@id/wifi_signal" android:layout_width="wrap_content" android:layout_height="wrap_content" android:scaleType="center" android:layout_alignParentRight="true" android:layout_centerVertical="true" />
<ImageView android:layout_gravity="bottom|center" android:id="@id/wifi_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>
<View android:id="@id/spacer" android:visibility="gone" android:layout_width="0.0dip" android:layout_height="6.0dip" />
<FrameLayout android:layout_width="wrap_content" android:layout_height="wrap_content">
<View android:visibility="invisible" android:layout_width="6.0dip" android:layout_height="6.0dip" />
<LinearLayout android:orientation="horizontal" android:id="@id/mobile_separate" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content">
<FrameLayout android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:id="@id/mobile_separate_type" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:id="@id/mobile_separate_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>
<FrameLayout android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:id="@id/mobile_separate_roaming" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:id="@id/mobile_separate_signal" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>
</LinearLayout>
<FrameLayout android:id="@id/mobile_combo" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:id="@id/mobile_signal" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:id="@id/mobile_type" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:layout_gravity="bottom|right|center" android:id="@id/mobile_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>
</FrameLayout>
<ImageView android:id="@id/airplane" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</com.android.systemui.statusbar.SignalClusterView>
Looks intimidating, doesn't it? If you've never faced xml before, this may look completely incomprehensible to you. But don't worry. It makes sense..and you don't actually need to understand any of it.
This particular xml defines the layout of your WiFi and mobile signal icons. Without going into a lot of detail, the WiFi icon is defined first then the mobile signal icons. And what we're going to do is swap the WiFi and signal icons around.
You'll see why in a little while!
This will give us this code here:
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.SignalClusterView android:orientation="horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content"
xmlns:android="http://schemas.android.com/apk/res/android">
<ImageView android:id="@id/no_sim" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<View android:id="@id/no_sim_spacer" android:visibility="gone" android:layout_width="6.0dip" android:layout_height="6.0dip" />
<View android:id="@id/spacer" android:visibility="gone" android:layout_width="0.0dip" android:layout_height="6.0dip" />
<FrameLayout android:layout_width="wrap_content" android:layout_height="wrap_content">
<View android:visibility="invisible" android:layout_width="6.0dip" android:layout_height="6.0dip" />
<LinearLayout android:orientation="horizontal" android:id="@id/mobile_separate" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content">
<FrameLayout android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:id="@id/mobile_separate_type" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:id="@id/mobile_separate_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>
<FrameLayout android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:id="@id/mobile_separate_roaming" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:id="@id/mobile_separate_signal" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>
</LinearLayout>
<FrameLayout android:id="@id/mobile_combo" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:id="@id/mobile_signal" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:id="@id/mobile_type" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:layout_gravity="bottom|right|center" android:id="@id/mobile_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>
</FrameLayout>
<FrameLayout android:id="@id/wifi_combo" android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:id="@id/wifi_signal" android:layout_width="wrap_content" android:layout_height="wrap_content" android:scaleType="center" android:layout_alignParentRight="true" android:layout_centerVertical="true" />
<ImageView android:layout_gravity="bottom|center" android:id="@id/wifi_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>
<ImageView android:id="@id/airplane" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</com.android.systemui.statusbar.SignalClusterView>
Like I said, you'll see why we've done this very soon..
But first we need to change our WiFi icons. Download the attachment, extract it and add the icons to whichever drawable folder your devices uses. This may take a little trial and error. The Xperia Z is a xxhdpi device, so just add them to drawable-xxhdpi. You'll be asked if you want to overwrite the existing files. Just say 'yes'!
And that's all the modding we need to do. Now you need to recompile, sort out the signature, the compression rate, etc. Again, refer to your compiling programs instructions.
Push, flash or manually move your modded SystemUI.apk back to your phone, wait for it to think about everything..then marvel as your statusbar looks that little bit neater and your WiFi icon looks like it's part of your signal icon.
Enjoy!
Click to expand...
Click to collapse
Is there anyway you can make a flasable zip for this ??
Sent from my C6603 using xda premium
MRL3GS said:
Is there anyway you can make a flasable zip for this ??
Sent from my C6603 using xda premium
Click to expand...
Click to collapse
please don't quote op.
@Ticklefish thank you again . It work perfect :good::good::highfive:
Can you make separate the data to signal icon?
If I can't visit here again,
I give you my email for your response. I giue to you my SystemUI thanks
Sent from my MyPhone A848i Duo using xda app-developers app
MRL3GS said:
Is there anyway you can make a flasable zip for this ??
Sent from my C6603 using xda premium
Click to expand...
Click to collapse
It can be made, yes. There are tools out there, like my Tickle My Android, that can help you make zips. Or you can just make your own.
I won't be making them though, as I mentioned in my second post. I did that in a few other threads and there are just too many roms, recovery types and everything else to keep track of.
That's why this is a tutorial, so people can find out how to do all this themselves.
sorryimtaken06 said:
Can you make separate the data to signal icon?
If I can't visit here again,
I give you my email for your response. I giue to you my SystemUI thanks
Sent from my MyPhone A848i Duo using xda app-developers app
Click to expand...
Click to collapse
The data and signal icons can be quite easily separated. That's not a problem, it's just a case of editing the xml in the op.
However, the problem is what the icons look like. Currently, the data icons are meant to fit in the top-left of the signal icons. If they're separate, they'll look silly.
So, you just need to think about what the data icons will actually look like. It's not a code problem..it's an art problem! lol
Well I followed this tutorial on xperia neo v (2011 xperia) but the wifi and signal icons too huge. Its because z has a bigger resolution and icons on status bar. Jst some code modifications will work but I really dont know what codes. @Ticklefish can you help me with it? Thanks for this amazing tutorial.
Sent from my MT11i using Tapatalk 2
maybe I want the icon used in Samsung in their TouchWiz UI. is that possible?
Sent from my MyPhone A848i Duo using xda app-developers app
koradiavatsal said:
Well I followed this tutorial on xperia neo v (2011 xperia) but the wifi and signal icons too huge. Its because z has a bigger resolution and icons on status bar. Jst some code modifications will work but I really dont know what codes. @Ticklefish can you help me with it? Thanks for this amazing tutorial.
Sent from my MT11i using Tapatalk 2
Click to expand...
Click to collapse
Which folder did you put the wifi icons into?
sorryimtaken06 said:
maybe I want the icon used in Samsung in their TouchWiz UI. is that possible?
Sent from my MyPhone A848i Duo using xda app-developers app
Click to expand...
Click to collapse
Yup. Easily. All you need is the Samsung icons and you can overwrite your current ones with them.
Ticklefish said:
Which folder did you put the wifi icons into?
Yup. Easily. All you need is the Samsung icons and you can overwrite your current ones with them.
Click to expand...
Click to collapse
Drawable HDPI
koradiavatsal said:
Drawable HDPI
Click to expand...
Click to collapse
Hmm.. Can you give me a screenshot please?
Sent from my Xperia Z using XDA Premium
..Have you tried Tickle My Android yet?
Ticklefish said:
Hmm.. Can you give me a screenshot please?
Sent from my Xperia Z using XDA Premium
..Have you tried Tickle My Android yet?
Click to expand...
Click to collapse
Sure ill give as soon as i m home in a few hours!
Sent from my Xperia Neo V using Tapatalk 2
Installation Aborted, stock .253
EmeraldTimer said:
Installation Aborted, stock .253
Click to expand...
Click to collapse
Meaning?
Sent from my Xperia Z using XDA Premium
..Have you tried Tickle My Android yet?
Hi.. we know that, to revert to original aosp lockscreen on xperia JB 4.1.2.. we need to delete the lockscreen apk in system.
I'm using xperia TL, with xperiment 3.5.. i know how to decompile apk.
Does someone know how to make the lockscreen full? I've attached my screenshot, there is a black area at the bottom.how can I remove that? Thanks.
Sent from my LT30p using Tapatalk 4
@duke_dreadmoore
http://forum.xda-developers.com/showthread.php?t=2330784
@Yenkazu
Thank you!
But I still don't understand what is the element for that black area..
I look at the keyguard_screen_tab_unlock.xml, at the last lines.. I still cannot find the element.
<Button android:layout_gravity="right" android:id="@id/emergencyCallButton" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="4.0dip" android:layout_marginRight="16.0dip" android:text="@string/lockscreen_emergency_call" android:drawableLeft="@drawable/lockscreen_emergency_button" android:drawablePadding="4.0dip" style="?android:attr/buttonBarButtonStyle" />
<RelativeLayout android:layout_width="fill_parent" android:layout_height="302.0dip">
<com.android.internal.widget.multiwaveview.GlowPadView android:gravity="top" androidrientation="horizontal" android:id="@id/unlock_widget" android:focusable="true" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_alignParentBottom="true" android:innerRadius="@dimen/glowpadview_inner_radius" android:targetDescriptions="@array/lockscreen_target_descriptions_with_camera" android:directionDescriptions="@array/lockscreen_direction_descriptions" androiduterRingDrawable="@drawable/ic_lockscreen_outerring" androidointDrawable="@drawable/ic_lockscreen_glowdot" android:glowRadius="@dimen/glowpadview_glow_radius" android:targetDrawables="@array/lockscreen_targets_with_camera" android:handleDrawable="@drawable/ic_lockscreen_handle" androiduterRadius="@dimen/glowpadview_target_placement_radius" android:vibrationDuration="20" android:snapMargin="@dimen/glowpadview_snap_margin" android:feedbackCount="1" />
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="@dimen/keyguard_lockscreen_status_line_font_size" android:textColor="?textColorSecondary" android:ellipsize="marquee" android:gravity="center_horizontal" android:id="@id/carrier" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginBottom="12.0dip" android:singleLine="true" android:layout_alignParentBottom="true" />
</RelativeLayout>
<LinearLayout android:gravity="center" androidrientation="horizontal" android:layout_width="fill_parent" android:weightSum="2.0" style="?android:attr/buttonBarStyle">
<Button android:textSize="@dimen/keyguard_lockscreen_status_line_font_size" android:layout_gravity="center_horizontal" android:id="@id/emergencyCallButton" android:visibility="gone" android:layout_width="0.0dip" android:layout_height="wrap_content" android:text="@string/lockscreen_emergency_call" android:drawableLeft="@drawable/lockscreen_emergency_button" android:drawablePadding="0.0dip" android:layout_weight="1.0" style="?android:attr/buttonBarButtonStyle" />
</LinearLayout>
<include android:layout_gravity="fill" android:id="@id/transport" android:layout_width="0.0dip" android:layout_height="0.0dip" android:layout_column="0" android:layout_row="0" android:layout_rowSpan="4" android:layout_columnSpan="1" layout="@layout/keyguard_transport_control" />
Click to expand...
Click to collapse
@duke_dreadmoore
Maybe you can check this thread, if you still need any information, please PM the OP
=)
http://forum.xda-developers.com/showthread.php?t=1916792
wow..thanks man.. I learned from that 2 threads.. and finally I followed the first one.
It works like a charm!
You pointed me to the right direction
duke_dreadmoore said:
wow..thanks man.. I learned from that 2 threads.. and finally I followed the first one.
It works like a charm!
You pointed me to the right direction
Click to expand...
Click to collapse
what exactly did u do to fix it
Alex5699 said:
what exactly did u do to fix it
Click to expand...
Click to collapse
just follow this :
http://forum.xda-developers.com/xperia-u/themes-apps/how-to-aosp-lockscreen-t2330784