So as the title suggests, Is there a way to theme the softkeys in CM or Stock roms. I need to theme the background of the status bar as i dont like black. Can some one help me??
As i know the easiest way is to use aokp rom work best if you have 3113 or 5113 their are already roms for both
Sent from my GT-P5100 using xda app-developers app
For stock. Decompile systemUI.apk and edit \res\drawable-sw600dp-mdpi\tw_status_bar_background.9 All of the other assoiciated images are in the same location. My location knowledge is based off of a 7" and the 10" is prolly in the drawable-sw800dp-mdpi folder.
good day.
Now as a side bar, I run a stock tw rom on my tab2 7 (I love the ir blaster so aosp is out for me ) but I do some personal tweaking for my taste. You can change the order and add a custom button with this quick breeze over.
{
"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"
}
I added a power button and changed order of recent and home buttons plus edited all of the pressed images (also de-touch wizzed the crap out of the notif panel and got rid of the text under toggles and made line indicator line smaller and found all the powder blue text colors via xml edits). But on to adding power button and changing order.
decompile systemUI.apk and navigate to \res\layout-sw600dp\tw_status_bar.xml
Code:
<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/back" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/tw_ic_sysbar_back" android:contentDescription="@string/accessibility_back" systemui:keyCode="4" systemui:glowBackground="@drawable/ic_sysbar_highlight" />
<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/home" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/tw_ic_sysbar_home" android:contentDescription="@string/accessibility_home" systemui:keyCode="3" systemui:glowBackground="@drawable/ic_sysbar_highlight" />
<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/recent_apps" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/tw_ic_sysbar_recent" android:contentDescription="@string/accessibility_recent" systemui:glowBackground="@drawable/ic_sysbar_highlight" />
Above is the way the lines appear in the stock xml and you can simply reorder lines so that they will appear in set order. But I added a new line and changed order seen in code below.
Code:
<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/back" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/tw_ic_sysbar_back" android:contentDescription="@string/accessibility_back" systemui:keyCode="4" systemui:glowBackground="@drawable/ic_sysbar_highlight" />
<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/home" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/tw_ic_sysbar_power" android:contentDescription="@string/accessibility_home" systemui:keyCode="26" systemui:glowBackground="@drawable/ic_sysbar_highlight" />
<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/recent_apps" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/tw_ic_sysbar_recent" android:contentDescription="@string/accessibility_recent" systemui:glowBackground="@drawable/ic_sysbar_highlight" />
<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/home" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/tw_ic_sysbar_home" android:contentDescription="@string/accessibility_home" systemui:keyCode="3" systemui:glowBackground="@drawable/ic_sysbar_highlight" />
I added a new home line and changed the sytem key value to power from this reference http://developer.android.com/reference/android/view/KeyEvent.html and you also need to add new @drawable references as well. Next is creating 2 brand new images using gimp in \res\drawable-sw600dp-mdpi\ tw_ic_sysbar_power_normal.png and tw_ic_sysbar_power_press.png. It is also needed to create the "new" drawable xml for the 2 new images. In res\drawable\ create a new xml file named tw_ic_sysbar_power.xml with included content from below.
Code:
<?xml version="1.0" encoding="utf-8"?>
<selector
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="true" android:drawable="@drawable/tw_ic_sysbar_power_press" />
<item android:drawable="@drawable/tw_ic_sysbar_power_normal" />
</selector>
<?xml version="1.0" encoding="utf-8"?>
<selector
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="true" android:drawable="@drawable/tw_ic_sysbar_power_press" />
<item android:drawable="@drawable/tw_ic_sysbar_power_normal" />
</selector>
* edit * for some reason using the code paste it left off the last </selector> line as seen as a direct paste above.
compile apk and push to device.
Steps can be used to add any command. i.e. persistent play and skip media buttons.
good day.
:laugh: Thanks. Will try that and tell .
chopper the dog said:
Now as a side bar, I run a stock tw rom on my tab2 7 (I love the ir blaster so aosp is out for me ) but I do some personal tweaking for my taste. You can change the order and add a custom button with this quick breeze over.
Click to expand...
Click to collapse
Dont suppose you would happen to know about the actual navigation bar at all ? I'm under the impression that its in \framework-res\res\drawable-hdpi and named ab_bottom_solid_dark_holo.9.
I have decompiled it in VTS and extracted it and edited it. checked the 9 was ok with the 9patch tool and recompiled it . Pushed it back into my device and after a reboot nothing changes . wiped the cache and dalvik but no dice.
Also tried this one
Any ideas please ?
Thanks for the information on the softkeys , great tutorial ! :good:
Even i would love to have semi-transparent bar at bottom. With headset icon if possible
silentvisitor said:
Even i would love to have semi-transparent bar at bottom. With headset icon if possible
Click to expand...
Click to collapse
Thats what im hoping to do , just kinda stuck at the moment tho
Sean_Seany said:
Dont suppose you would happen to know about the actual navigation bar at all ? I'm under the impression that its in \framework-res\res\drawable-hdpi and named ab_bottom_solid_dark_holo.9.
I have decompiled it in VTS and extracted it and edited it. checked the 9 was ok with the 9patch tool and recompiled it . Pushed it back into my device and after a reboot nothing changes . wiped the cache and dalvik but no dice.
Any ideas please ?
Thanks for the information on the softkeys , great tutorial ! :good:
Click to expand...
Click to collapse
I dont have it decompiled atm but if you changed something and dont see a affect it prolly means theres another drawable folder its pulling it from. You can check the other drawables and see if you see the same file in them. Hell i change emm all most times lol
RomsWell said:
I dont have it decompiled atm but if you changed something and dont see a affect it prolly means theres another drawable folder its pulling it from. You can check the other drawables and see if you see the same file in them. Hell i change emm all most times lol
Click to expand...
Click to collapse
AHA i see , cool thanks for the tip :good: I will give it a shot.
Related
Hi All,
This is the overcome in the taste of ginger.....
1 picture is worth than 1000 words....
apply via CWM recovery : -View attachment OverCom-1.6.X.GingerEleganceTheme.zip
{
"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"
}
,
,
,
,
,
Thanks to All,
Credit :-
Developers for XDA-Galaxy S themes :-
- _JKay_ for the nice Quick Panel icons
- ock for the GT-I9000 GB theme
Tab mates biopsn, kai_kiat88, natious, DistortedWisom, alterbridge86 & all...
Good luck..
That looks very neat!
You are the man
thanks alots
really apreciate your hard work
Nice work! Thanks for sharing.
Curious to see if it work with v. 1.4.5 but i doubt.
Sent from my GT-P1000 using XDA Premium App
af974 said:
Nice work! Thanks for sharing.
Curious to see if it work with v. 1.4.5 but i doubt.
Sent from my GT-P1000 using XDA Premium App
Click to expand...
Click to collapse
give it a chance after fw backup....
thnx
Galaxyer said:
give it a chance after fw backup....
thnx
Click to expand...
Click to collapse
i've tried applying a theme for overcome 1.4.5 on overcome 1.6.0 afew days back but boot-looped. i guess it won't work too if it's the other way round.
Galaxyer said:
give it a chance after fw backup....
thnx
Click to expand...
Click to collapse
Yeah, doesn't work. Boot loop but honestly i knew that cos i gave try with another theme here im forum, but as i said, nice work, i like it.
Sent from my GT-P1000 using XDA Premium App
Whaouuu soooo nice thanks a lot bro !!! Good work im just sad this theme will not work with BOYPPC rom
Sent from my GT-P1000
Great work, love the theme. Thanks.
Sent from my GT-P1000 using XDA App
its steel on overcome 145
ı put ıt on overcome 161 but the music player has no option of folder selection so i turn back to 145 again
Thanks
Very nice theme bro, thanks a lot !!!
P.S i flash overcom 1.6.1 just for this theme !!!
Good work !!
Hi bro Galaxyer,
Just a small request from you
Would you mind change the data icon on the status bar to the green one.. as it still appear as the default data icon
Thanks for the help.
Bit Of Help Please
Solved due to Galaxyer! Cheers
ElephantStone82 said:
Hi i was wondering if any one could help ive tried as much as possible to change the text colour on the pulldown
bar to white! for overcome 1.6.1
i tried apktool and followed many tutorials posted by the theme makers on this site! but no joy!
ive edited the! "status bar.xml, staus bar expanded.xml. staus bar latest event content.xml"
but all force close!!
I HAVE-
-decompiled, recompiled edited with notepad ++
-pulled out the the xml and edited them with and placed them in the orignal frame work.apk
ect................
Now im trying hex editor but not sure what text to change!
most sites say look for 08 00 00 1C but i cant find this code within some of the xmls Mainly "Staus bar latest
event content.xml"
i would love to make my "minimal theme" for Overcome 1.6.1 but this one thing is holding me back!
I would be greatful if someone could help me out!
or alternatively post one of the themes (VAGREEN 1.6.1/HONEYCOMB 1.6.1/GINGER ELEGANCE...)
with just the text changed to white (maybe brightness slider to grey would be great) so i can place and edit my png
into the framework.apk
Thank you so much!!!
Click to expand...
Click to collapse
Hi ElephantStone82;
This is what you're looking for:-
http://forum.xda-developers.com/showpost.php?p=9066440&postcount=1
hope to see your theme soon....
Thank You galaxyer!! my theme is on the section somewhere but after 200 views and no comments! doesnt fill me with confidence! its called Minimal Theme! just updated to 1.6.x
sorry to bring this up here but i can't seem to shrink the brightness panel like what you did.
i use apk manager.
after decompiling, editing the zzzz_quickpanel_brightness_settings.xml like below:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<com.android.server.status.quickpanel.BrightnessSettingsView android:orientation="vertical" android:background="@drawable/zzzz_quickpanel_brightness_bg" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:paddingTop="1.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0">
<ImageView android:gravity="center_vertical" android:id="@id/icon" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="10.0dip" android:src="@drawable/zzzz_quickpanel_brightness_icon" />
<TextView android:textSize="10.0dip" android:typeface="sans" android:textStyle="normal" android:textColor="@color/black" android:gravity="center_vertical" android:id="@id/title" android:background="@null" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="10.0dip" android:text="@string/brightness_settings_title" />
<SeekBar android:gravity="center_vertical" android:id="@id/brightness" android:paddingLeft="10.0dip" android:paddingTop="1.0dip" android:paddingRight="20.0dip" android:paddingBottom="1.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0" />
<CheckBox android:textSize="10.0dip" android:typeface="sans" android:textColor="@color/black" android:gravity="right|center" android:id="@id/automatic" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="1.0dip" android:layout_marginRight="10.0dip" android:text="@string/brightness_settings_automatic" />
</LinearLayout>
</com.android.server.status.quickpanel.BrightnessSettingsView>
i recompiled it but i get a long list of errors due to some public.xml
can you help me out please galaxyer ?
kay_kiat88 said:
sorry to bring this up here but i can't seem to shrink the brightness panel like what you did.
i use apk manager.
after decompiling, editing the zzzz_quickpanel_brightness_settings.xml like below:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<com.android.server.status.quickpanel.BrightnessSettingsView android:orientation="vertical" android:background="@drawable/zzzz_quickpanel_brightness_bg" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:paddingTop="1.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0">
<ImageView android:gravity="center_vertical" android:id="@id/icon" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="10.0dip" android:src="@drawable/zzzz_quickpanel_brightness_icon" />
<TextView android:textSize="10.0dip" android:typeface="sans" android:textStyle="normal" android:textColor="@color/black" android:gravity="center_vertical" android:id="@id/title" android:background="@null" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="10.0dip" android:text="@string/brightness_settings_title" />
<SeekBar android:gravity="center_vertical" android:id="@id/brightness" android:paddingLeft="10.0dip" android:paddingTop="1.0dip" android:paddingRight="20.0dip" android:paddingBottom="1.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0" />
<CheckBox android:textSize="10.0dip" android:typeface="sans" android:textColor="@color/black" android:gravity="right|center" android:id="@id/automatic" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="1.0dip" android:layout_marginRight="10.0dip" android:text="@string/brightness_settings_automatic" />
</LinearLayout>
</com.android.server.status.quickpanel.BrightnessSettingsView>
i recompiled it but i get a long list of errors due to some public.xml
can you help me out please galaxyer ?
Click to expand...
Click to collapse
Hi Kay_kiat88,,
It's my pleasure...You have to shrink the background png as well...
Code:
<com.android.server.status.quickpanel.BrightnessSettingsView android:orientation="vertical" android:background="@drawable/[COLOR="DarkRed"][U]zzzz_quickpanel_brightness_bg[/U][/COLOR]"
so you have to resize \res\drawable-hdpi-v4\zzzz_quickpanel_brightness_bg.png..
and thats all
Greetings
Galaxyer said:
Hi Kay_kiat88,,
It's my pleasure...You have to shrink the background png as well...
Code:
<com.android.server.status.quickpanel.BrightnessSettingsView android:orientation="vertical" android:background="@drawable/[COLOR="DarkRed"][U]zzzz_quickpanel_brightness_bg[/U][/COLOR]"
so you have to resize \res\drawable-hdpi-v4\zzzz_quickpanel_brightness_bg.png..
and thats all
Greetings
Click to expand...
Click to collapse
i did resized it but there were still errors when recompiling
kay_kiat88 said:
i did resized it but there were still errors when recompiling
Click to expand...
Click to collapse
can you post the log.txt from the apk_manager folder or just the last part of it...
may be due to miss-spell or some xml missing in layout folder.....
little help
since this theme seems to be one of the best and most edited
i was wondering if you could help me with you editing skills i would like to know what xml i need to edit to get rid of the text!
Thanks You!
I have managed to get CM10 style status bar in CM9 rom
A big thanks To ThilinaC for helping me
Now
what i want to do is to hide the statusbar
UPDATE 15-10-2012
statusbar close on/off pressed and unpressed(thanks To mr.faridcom)
Download link
http://www.mediafire.com/?66eni4a4ib59wyv
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
UPDATE 21-09-2012
-removed center clock
-statusbar hide problem
-some other allingments
DOWNLOAD LINK v2
http://www.mediafire.com/?bivyy24x690ahls
Testing only HDPI
http://www.mediafire.com/?3c1scc10q4nkp4y
Let me know it works or not
MY MODDED suystemui
http://www.mediafire.com/?y92cz70tgqchter
Now Its Perfect
By tarunagg at 2012-09-18
Uploaded with ImageShack.us
what i want to do is to hide the statusbar clock
DOCUMENTATION:-
What I Did Is
Assuming you know how to decompile and compile
in SystemUI.apk\res\layout\status_bar_expanded.xml
i modified so many things even i dont remeber exactly
if anyone need help in porting PM me
here's my status_bar_expanded.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.phone.ExpandedView android:orientation="vertical" android:focusable="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<RelativeLayout android:background="@drawable/notification_header_bg" android:paddingTop="3.0dip" android:paddingRight="3.0dip" android:paddingBottom="5.0dip" android:layout_width="fill_parent" android:layout_height="52.0dip">
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Clock" android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="8.0dip" android:singleLine="true" />
<com.android.systemui.statusbar.policy.DateView android:textAppearance="@style/TextAppearance.StatusBar.Date" android:gravity="left|center" android:id="@id/date" android:paddingLeft="5.0dip" android:paddingTop="2.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="false" android:layout_toRightOf="@id/clock" />
<ImageView android:id="@id/settings_button" android:paddingLeft="250.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/ic_notify_quicksettings" android:layout_alignParentLeft="true" android:contentDescription="@string/accessibility_settings_button" />
<ImageView android:id="@id/clear_all_button" android:paddingLeft="2.0dip" android:paddingRight="2.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/ic_notify_clear" android:layout_toRightOf="@id/settings_button" android:contentDescription="@string/accessibility_clear_all" />
<Space android:layout_width="0.0dip" android:layout_height="0.0dip" android:layout_weight="1.0" />
</RelativeLayout>
<LinearLayout android:orientation="vertical" android:background="@drawable/notification_header_bg2" android:layout_width="fill_parent" android:layout_height="wrap_content">
<com.android.systemui.statusbar.powerwidget.PowerWidget android:id="@id/exp_power_stat" android:background="@drawable/notification_header_bg2" android:layout_width="fill_parent" android:layout_height="wrap_content" android:minHeight="@dimen/notification_panel_widget_height" />
</LinearLayout>
<View android:background="@drawable/status_bar_hr" android:layout_width="fill_parent" android:layout_height="2.0dip" />
<FrameLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0">
<TextView android:textAppearance="@android:style/TextAppearance.Large" android:gravity="left" android:layout_gravity="top" android:id="@id/noNotificationsTitle" android:padding="8.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/status_bar_no_notifications_title" />
<ScrollView android:id="@id/scroll" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="fill_parent" android:overScrollMode="ifContentScrolls">
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">
<com.android.systemui.statusbar.policy.NotificationRowLayout android:id="@id/latestItems" android:layout_width="fill_parent" android:layout_height="wrap_content" systemui:rowHeight="@dimen/notification_height" />
</LinearLayout>
</ScrollView>
<ImageView android:layout_width="fill_parent" android:layout_height="fill_parent" android:src="@drawable/title_bar_shadow" android:scaleType="fitXY" />
</FrameLayout>
</com.android.systemui.statusbar.phone.ExpandedView>
after that dont forget to add all png's from my systemui to yours
and in styles.xml
add
Code:
<style name="TextAppearance.StatusBar.Clock2" parent="@android:style/TextAppearance.StatusBar.Icon">
<item name="android:textSize">32.0dip</item>
<item name="android:textStyle">normal</item>
<item name="android:textColor">#ffffffff</item>
<item name="android:textAllCaps">true</item>
</style>
<style name="TextAppearance.StatusBar.Expanded" parent="@android:style/TextAppearance.Small.CalendarViewWeekDayView" />
<style name="TextAppearance.StatusBar.Expanded.Clock" parent="@style/TextAppearance.StatusBar.Expanded">
<item name="android:textSize">32.0dip</item>
<item name="android:textStyle">normal</item>
<item name="android:textColor">#ffffffff</item>
</style>
<style name="TextAppearance.StatusBar.Expanded.Date" parent="@style/TextAppearance.StatusBar.Expanded">
<item name="android:textSize">12.0dip</item>
<item name="android:textStyle">normal</item>
<item name="android:textColor">#ffcccccc</item>
<item name="android:textAllCaps">true</item>
</style>
and in Strings.xml
find "status_bar_date_formatter"
change it to exact
Code:
<string name="status_bar_date_formatter">"%1$s
%2$s"</string>
Thanks for this mod.
And wow .. you got a nice theme there. Share that one as well.
Hetalk said:
Thanks for this mod.
And wow .. you got a nice theme there. Share that one as well.
Click to expand...
Click to collapse
well if u are talking about the icon pack then here you go
http://forum.xda-developers.com/showthread.php?t=1759709
ok clock is fixed only clear button is left
^^ Can i use on cm10?
Never mind. I did install the apex theme and it looks super cool. Thanks man.
Hetalk said:
^^ Can i use on cm10?
Click to expand...
Click to collapse
yes u can use that on any rom but u need apex launcher for that
nitinvaid said:
ok clock is fixed only clear button is left
Click to expand...
Click to collapse
For clear button I think u can look here
http://forum.xda-developers.com/showthread.php?t=1876018
vishal24387 said:
For clear button I think u can look here
http://forum.xda-developers.com/showthread.php?t=1876018
Click to expand...
Click to collapse
it is only possible after removing the settings button
nitinvaid said:
it is only possible after removing the settings button
Click to expand...
Click to collapse
http://forum.xda-developers.com/showpost.php?p=30912200&postcount=104
I aapriciate ur efforts...
Good Job :thumbup:
Sent from my Galaxy SL using XDA Premium App !!
almost complete
Uploaded with ImageShack.us
COMPLETED
Now what i want is to hide the clock while statusbar expended is open
released for Testing
Testing only
1st mount /system in cwm
http://www.mediafire.com/?3c1scc10q4nkp4y
Let me know it works or not
nitinvaid said:
released for Testing
Testing only
1st mount /system in cwm
http://www.mediafire.com/?3c1scc10q4nkp4y
Let me know it works or not
Click to expand...
Click to collapse
Bootloop
Vasishta Reddy said:
Bootloop
Click to expand...
Click to collapse
which Rom
Updated check op
Hey... You got your SL back?
ammar786 said:
Hey... You got your SL back?
Click to expand...
Click to collapse
nope
XPERIA GX
Thanks a lot for the systemUI bro,here is my XPERIA GX STYLE .
Tested on my XPERIA X10 ,and it will work on all HDPI devices.
DOWNLOAD
SGS3 (RemJB style)
Should look like this, Haven't tested it but it should work.
UNTESTED
so ink lockscreen comes pre configured in the sgs4, but all it needs is a place in the settings so..
all we have to do is
Decompile SecSettings.apk
Go to \res\xml folder and open lockscreen_settings.xml
Search for "CheckBoxPreference android:title="@string/ripple_effect"
then right below it replace the current inkeffect configuration cmds with these
Code:
<PreferenceScreen android:title="@string/ink_effect" android:key="ink_effect">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.InkeffectPreview" />
</PreferenceScreen>
then save it and Compile *if you can*
the only problem is that most of these SGS4 4.2.2 apks are to hard to decompile and compile so i havent tested this yet, so if anyone is able to
succeed in testing this. please give back feedback for testing :highfive: :highfive: :good: :good:
@cabloomi Doesnt work. I tested both by selecting the rippleeffect and also light effect! i modifed the same at line 25
<PreferenceScreen android:title="@string/ink_effect" android:key="ink_effect">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.InkeffectPreview" />
</PreferenceScreen>
I will have a look further in the smali files!
@grgsiocl , how are you able to decompile and compile it. i have many mods in mind that include the SecSettings.apk
but it wont go back and compile even if i dont touch or change anything. please zip your work space and send it to me. lol like the apktool and the framwork base's 1 and 2.
and i think it might be CSC activated like we figured out recently that the call recorder mod is also
cabloomi said:
@grgsiocl , how are you able to decompile and compile it. i have many mods in mind that include the SecSettings.apk
but it wont go back and compile even if i dont touch or change anything. please zip your work space and send it to me. lol like the apktool and the framwork base's 1 and 2.
and i think it might be CSC activated like we figured out recently that the call recorder mod is also
Click to expand...
Click to collapse
i can easily do it as i am using the newsest version apktool. I also pushed framewrok-res.apk, twframework-res.apk and ssytemui. I will upload the apktool for you in a minute!
Edit uploaded the tool here! Just push the corresponding frameworks after extracting the zip and you are good to go! I am also using the backsmali /smali versio 2.0 , that also will upload it!
i made centerclock for the s4, want it @grgsiocl
maybe you can make a black transparent bar
and thank you for the apktool. it worked perfectly
If you already done it, then share please. I always love to have missing features in phone
Sent from my GT-I9500 using Tapatalk 2
grgsiocl said:
If you already done it, then share please. I always love to have missing features in phone
Sent from my GT-I9500 using Tapatalk 2
Click to expand...
Click to collapse
the clock wont roll out the way for a notification. so.. help me. this is what i did to get it center
decompile SystemUI.apk
Navigate to res/layout/status_bar.xml
Look for a line that starts with
Code:
<com.android.systemui.statusbar.policy.Clock
and i deleted it.
then added these lines
Code:
<LinearLayout android:gravity="center" android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" 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>
under this line
Code:
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
then i changed the clock from blue to white
from this line
Code:
<style name="TextAppearance.StatusBar.Clock" parent="@*android:style/TextAppearance.StatusBar.Icon">
<item name="android:textSize">16.0dip</item>
<item name="android:textStyle">normal</item>
<item name="android:textColor">@*android:color/holo_blue_light</item>
</style>
I change the
<item name="android:textColor">@*android:color/holo_blue_light</item>
to <item name="android:textColor">#ffffffff</item>
so now its center, but it wont roll out the way for a notification
any ideas @grgsiocl
never mind. got it working, but its kinda glitchy
Cabloomi,
If you did not code this, please provide a link and credit to the "original" author.
Thanks
Sent from my GT-I9500 using xda premium
and what do i do if i did code it??
nothing right. ?
cabloomi said:
and what do i do if i did code it??
nothing right. ?
Click to expand...
Click to collapse
There is lots of info on the net for this mod...... and been for a long time.
I was just asking, not accusing you, because you would have wasted your time otherwise
Sent from my GT-I9500 using xda premium
UpInTheAir said:
There is lots of info on the net for this mod...... and been for a long time.
I was just asking, not accusing you, because you would have wasted your time otherwise
Sent from my GT-I9500 using xda premium
Click to expand...
Click to collapse
Remember this from last year
{
"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"
}
lol. i still have that message in my inbox
cabloomi said:
Remember this from last year
lol. i still have that message in my inbox
Click to expand...
Click to collapse
Yeah, do remember and still stick by it mate.
I am not criticizing you. I still encourage you to keep at it, but please try and provide links and credits to any "original" work you may have borrowed to edit. That's all.
Cheers,
UITA
BTW off topic .... Noticed you have a ROM out. Nice work. You'll notice on my signature I've been cooking also for the P6810 & P6800. More to do soon as JB just released
Sent from my GT-I9500 using xda premium
FIRST OF ALL BACKUP YOU ROM JUST IN CASE ANYTHING WENT WRONG
kitkat inspired systemUI
ONLY TESTED ON XPERIA E DUAL
( IT SHOULD WORK ON XPERIA E OR ANY MDPI XPERIA)
screenshots:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
change log:
All white themed kitkat icons
moved the toggles under the clock/date
reorderd toggles
increased clock size 32dip
removed am/pm
This mod supports dual sim but I'm using 1 sim on my xperia E dual
this is a noob friendly guide you wont need to decompile and recompile any apks
Method 1 (easy)
Backup your systemUI.apk and systemUI.odex if existed
rename systenUI final.apk to systemUI.apk
delete systemUI.odex if existed
copy systemUI.apk to "system\app" and replace
reboot or soft reboot you phone
Downloads:
systemUI.apk
Method 2 (advanced)
Backup your systemUI.apk and systemUI.odex if existed
extract systemUI.apk from "system\app"
open it with winrar
add the continents of res.rar to your systemUI.apk replace if promoted
return your systemUI.apk to "system\app" and replace
reboot or soft reboot your phone
Downloads:
res.rar
------------------------------------------------------------------------------------------------------------------------------------------
Update 1
screenshots:
change log:
transparent background
moved settings shortcut next to clear button
clear button is an icon instead of text
changed wifi off, data off, bluetooth off icon with more visible ones
drag handle pressed is now white
important note:
to make the notifications itself transparent you must add this Files to your framework-res.apk
steps:
Backup your systemUI.apk and framework-res.apk and systemUI.odex if existed
rename systemUI transparent.apk to systemUI.apk
delete systemUI.odex if existed
copy systemUI.apk to "system\app" and replace
reboot or soft reboot you phone
now the framework-res apk:
Extract framework-res.apk from "system\framework"
open framework-res.apk with winrar and put the continents of included RAR file inside framework-res.apk
this step is very important if you do it wrong you will end up with a boot loop
copy the modified framework-res.apk to your SDcard
then copy it to "system\"
then change Permissions to rw- r-- r--
then cut it to "system\framework" and replace
reboot or soft reboot you phone
Downloads:
SystemUI tarnsparent.apk
put inside (framework-res.apk).rar
I have just added another sim card to my phone so this is how it looks with dual sim
Thanks to @Dzepar for the transparent mod
:good: if it helps
Good SystemUI !
What Theme icons ? Name ?
DanielFlorin said:
Good SystemUI !
What Theme icons ? Name ?
Click to expand...
Click to collapse
systemUI icon are extracted from CM11
if you mean the launcher icons
they are called stark icons
https://play.google.com/store/apps/details?id=kov.theme.stark
zero_omar said:
systemUI icon are extracted from CM11
if you mean the launcher icons
they are called stark icons
https://play.google.com/store/apps/details?id=kov.theme.stark
Click to expand...
Click to collapse
which firmware will supports this????
Divesh ahuja said:
which firmware will supports this????
Click to expand...
Click to collapse
which icons do you mean ?
I tweaked it a little but I want to add the rotation lock toggle and brightness toggle but systemUI crashes when I add them
I will release it as soon as I figure it out
for now can any one help me to add them
this is the code I'm currently using
Code:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:gravity="center_vertical" android:orientation="vertical" android:background="@drawable/notification_header_bg" android:layout_width="fill_parent" android:layout_height="wrap_content" android:baselineAligned="false"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:background="@drawable/notification_header_bg" android:layout_width="fill_parent" android:layout_height="54.0dip">
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Clock" android:textSize="40.0dip" android:id="@id/clock_expanded" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="4.0dip" android:singleLine="true" />
<com.android.systemui.statusbar.policy.DateView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Date" android:id="@id/date" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="4.0dip" android:layout_marginRight="-4.0dip" />
<Space android:layout_width="0.0dip" android:layout_height="0.0dip" android:layout_weight="1.0" />
<ImageView android:id="@id/clear_all_button" android:layout_width="48.0dip" android:layout_height="48.0dip" android:src="@drawable/ic_notify_clear" android:scaleType="center" android:contentDescription="@string/accessibility_clear_all" />
<ImageView android:id="@id/settings_button" android:layout_width="48.0dip" android:layout_height="48.0dip" android:src="@drawable/ic_notify_quicksettings" android:scaleType="center" android:contentDescription="@string/accessibility_settings_button" />
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="54.0dip">
<ImageView android:id="@id/wifi_button" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/zzz_notification_quick_setting_wifi_on" android:scaleType="center" android:layout_weight="1.0" />
<ImageView android:id="@id/bluetooth_button" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/zzz_notification_quick_setting_bluetooth_on" android:scaleType="center" android:layout_weight="1.0" />
<ImageView android:id="@id/switch_sim_button" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/zzz_notification_quick_setting_sim_switch_default_sim_card_sim1" android:scaleType="center" android:layout_weight="1.0" />
<ImageView android:id="@id/sound_button" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/zzz_notification_quick_setting_sound_on" android:scaleType="center" android:layout_weight="1.0" />
</LinearLayout>
</LinearLayout>
@zero_omar which digital clock widget are u using ???
[email protected] said:
@zero_omar which digital clock widget are u using ???
Click to expand...
Click to collapse
clock jb+
zero_omar said:
clock jb+
Click to expand...
Click to collapse
SystemUI final.apk - [Click for QR Code] (1.04 MB, 235 views)
235 views 1 thanks .....
Not working on tipo dual
hard91 said:
Not working on tipo dual
Click to expand...
Click to collapse
It says in title E/EDual, and as I recall Tipo doesn't have stock JB.
All the Best.
Sent from my D2303
sorry,will you plz port one for tipo dual??
haha
hard91 said:
Not working on tipo dual
Click to expand...
Click to collapse
can i do it with locked bootloader???
works on odexed stock JB Xperia E?
Batter percentage not showed
When i add systemui.final in my sony xperia e dual
But battery percentage not showed?? wt to do???
!! Hello XDA !!
=====================
Last update: 1-16-2017
STOCK (BATTERY PERCENTAGE OFF)
{
"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"
}
STOCK (BATTERY PERCENTAGE ON)
MOD (BATTERY PERCENTAGE OFF)
MOD (BATTERY PERCENTAGE ON)
What have I done ??
Created a new layout structure, so that it looks different, when we choose the percentage mode on or off.
Created a new battery icon pack
Colored the stock battery icon pack
How to?
1. First, yes right!! Decompile your SystemUI.apk please (i'm using THIS GREAT TOOL by @Ticklefish || thanks )
2. Open your msim_system_icons.xml for Dual-SIM devices or system_icons.xml for Single-SIM devices. (res/layout/here)
Find this lines:
PHP:
<LinearLayout android:id="@id/somc_battery" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginStart="4.0dip">
<ImageView android:layout_gravity="center_vertical" android:id="@id/status" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<LinearLayout android:id="@id/battery_meter" android:layout_width="wrap_content" android:layout_height="fill_parent">
<ImageView android:layout_gravity="center_vertical" android:id="@id/battery_icon" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:layout_gravity="center_vertical" android:id="@id/stamina_icon" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</LinearLayout>
<FrameLayout android:id="@id/battery_percent" android:layout_width="wrap_content" android:layout_height="fill_parent">
<com.sonymobile.systemui.statusbar.BatteryImage android:layout_gravity="start|center" android:id="@id/battery_percent_bg" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>
</LinearLayout>
Change to be like this:
PHP:
<LinearLayout android:id="@id/somc_battery" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginStart="4.0dip" android:gravity="center_vertical" >
<ImageView android:id="@id/status" android:layout_gravity="center_vertical" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<FrameLayout android:id="@id/battery_meter" android:layout_width="wrap_content" android:layout_height="fill_parent" android:paddingBottom="1.0dip">
<TextView android:layout_width="wrap_content" android:layout_height="12.0dip" android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:text="POWER -" android:id="@+id/text_bat_add" android:textSize="7.0dip" android:gravity="center_vertical" android:paddingRight="2.0dip" />
<com.erryy.BatteryText android:layout_width="wrap_content" android:layout_height="12.0dip" android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:textSize="7.0dip" android:gravity="center_vertical" android:layout_gravity="right|top" android:paddingRight="3.0dip" />
<ImageView android:layout_gravity="center_horizontal|bottom" android:id="@id/battery_icon" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:layout_gravity="center_horizontal|bottom" android:id="@id/stamina_icon" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>
<FrameLayout android:id="@id/battery_percent" android:layout_width="wrap_content" android:layout_height="fill_parent">
<com.sonymobile.systemui.statusbar.BatteryImage android:layout_gravity="start|center" android:id="@id/battery_percent_bg" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>
</LinearLayout>
3. Copy my icons to the correct directory (look at attachment)
4. Copy smali codes to the correct directory. This is for adding battery percentage (look at attachment or check this LINK for original thread) || Thanks to @Erhany
FIXING IN EXPANDED HEADER (FOR DUAL-SIM ONLY)
Open your status_bar_expanded_header.xml, and find this line :
PHP:
<FrameLayout android:layout_gravity="center_vertical" android:id="@id/system_icons_container" android:layout_width="wrap_content" android:layout_height="@dimen/status_bar_height">
<include layout="@layout/system_icons" />
</FrameLayout>
Change to be like this :
PHP:
<FrameLayout android:layout_gravity="center_vertical" android:id="@id/system_icons_container" android:layout_width="wrap_content" android:layout_height="@dimen/status_bar_height">
<include layout="@layout/msim_system_icons" />
</FrameLayout>
5. Recompile and done !!
NOTE :
I'm running on Z5 STYLE ROM || base 5.1 || D2302 (Dual-SIM)
[*]If you want to try my codes in different devices or OS or ROM, please adapted with your codes
[*]If you want to change the icons, i suggest to adjust the size of icons that I made. Because I using FrameLayout, not LinearLayout for icons re-position
Excellent work, my friend! :good:
And I love the icons, especially the blue ones! They look great!
Sent from my Sony Xperia Z3 Compact using XDA Labs
Ticklefish said:
Excellent work, my friend! :good:
And I love the icons, especially the blue ones! They look great!
Sent from my Sony Xperia Z3 Compact using XDA Labs
Click to expand...
Click to collapse
Yap! Nice words. Thanks, sir [emoji3]
You can take my icons if you want
Sent from my XPERIA M2 DUAL using XDA-Developers mobile app
FunSucker said:
Yap! Nice words. Thanks, sir [emoji3]
You can take my icons if you want
Click to expand...
Click to collapse
Thanks! Just send them my way and I'll add them to the next Icon Pack. :highfive:
Sent from my Sony Xperia Z3 Compact using XDA Labs
Can u make mod for me? I dont know how mod smali. Stock blue battery is nice.
Ticklefish said:
Thanks! Just send them my way and I'll add them to the next Icon Pack. :highfive:
Click to expand...
Click to collapse
Great news, i'll be waiting, sir [emoji106]
djborek said:
Can u make mod for me? I dont know how mod smali. Stock blue battery is nice.
Click to expand...
Click to collapse
Yes, sure. I'll try to help you when i coming home.
Not needed changing the smali codes, just simply copy the smali files in OP to your systemui. Thats all, sir
=======================
EDIT
=======================
Please backup first before push this systemui.
I'm not sure this is works / not, because your running on odex ROM. But, let me know.
Sent from my XPERIA M2 DUAL using XDA-Developers mobile app
FunSucker said:
Great news, i'll be waiting, sir [emoji106]
Yes, sure. I'll try to help you when i coming home.
Not needed changing the smali codes, just simply copy the smali files in OP to your systemui. Thats all, sir
=======================
EDIT
=======================
Please backup first before push this systemui.
I'm not sure this is works / not, because your running on odex ROM. But, let me know.
Sent from my XPERIA M2 DUAL using XDA-Developers mobile app
Click to expand...
Click to collapse
Fail on odex se screen? M2 is HDPI u copy icons to good folder?
EDIT:
This is from z5style make this but i have too this rom
djborek said:
Fail on odex se screen? M2 is HDPI u copy icons to good folder?
EDIT:
This is from z5style make this but i have too this rom
Click to expand...
Click to collapse
In my systemui, still works in xhdpi folder
I made it with 2 version method, with decompile and without decompile.
AND, i put the icons in hdpi folder, in both. i hope it works.
try this
Its with decompile.Look icon its work but %battery is not good show.
Without decompile. Maybe works when only change icon? But numbers too much going to left siede.
bro can you make flashable zip ?
djborek said:
Without decompile. Maybe works when only change icon? But numbers too much going to left siede.
Click to expand...
Click to collapse
oke, i try to resize the icons. try this, sir.
Tamilselvan.love said:
bro can you make flashable zip ?
Click to expand...
Click to collapse
for same device model & ROM with me, i can.
It works bro but can u make version without decompile to white %battery?
djborek said:
It works bro but can u make version without decompile to white %battery?
Click to expand...
Click to collapse
yes, sure. try this.
where should i put the smali?
Biakjosh said:
where should i put the smali?
Click to expand...
Click to collapse
Decompile your SystemUI.apk first, and then you can see the smali folder.
Sent from my XPERIA M2 Dual using XDA-Developers mobile app
After decompiling, There was no smali folder so I just put the extracted smali folder there but doesn't work. does this method work on odex rom?
Biakjosh said:
After decompiling, There was no smali folder so I just put the extracted smali folder there but doesn't work. does this method work on odex rom?
Click to expand...
Click to collapse
Absolutely not, sir. Sorry.
I said in OP, I'm running on Z5 Style ROM and thats ROM using deodexed patch.
Sent from my XPERIA M2 Dual using XDA-Developers mobile app
hi @FunSucker thanks for this guide :good:
can you share how to change the text % battery for this mod?
what code should I change in file BatteryText.smali or BatteryText $ 1.smali?
Mirza_H said:
hi @FunSucker thanks for this guide :good:
can you share how to change the text % battery for this mod?
what code should I change in file BatteryText.smali or BatteryText $ 1.smali?
Click to expand...
Click to collapse
You can change it by simply changing or adding android: textAppearance values with your choice.
Find this line in your system_icons.xml / msim_system_icons.xml , and then change the blue text
Code:
<TextView [COLOR="Red"]android:textAppearance[/COLOR][COLOR="Blue"]="@style/TextAppearance.StatusBar.Clock" [/COLOR]android:textSize="7.0dip" android:gravity="center_vertical" android:id="@id/text_bat_add" android:paddingRight="2.0dip" android:layout_width="wrap_content" android:layout_height="12.0dip" android:text="POWER -" />
<com.erryy.BatteryText [COLOR="Red"]android:textAppearance[/COLOR][COLOR="Blue"]="@style/TextAppearance.StatusBar.Clock"[/COLOR] android:textSize="7.0dip" android:gravity="center_vertical" android:layout_gravity="center|right|top" android:paddingRight="3.0dip" android:layout_width="wrap_content" android:layout_height="12.0dip" />