Hello,
You maybe notice that nothing happens when you try to change, shade_bg.png and shade_header_background.9.png
Thats because the resources didn't point to the right images, However here you have a SystemUI.apk that i modded, so you can get transparent notification background and etc.. for your themes.
Hope you like it
Download Links - (please do not mirror)
[Latest - 4.0.1.A.0.283]
AdamTT_SystemUI.zip - Transparent notifications background + statusbar
AdamTT_SystemUI2.zip - Transparent notifications background
[Old - 4.0.A.2.368]
AdamTT_SystemUI.zip - Transparent notifications background
AdamTT_SystemUI2.zip -Transparent notifications background + statusbar
Flash .zip i recovery
Guide How to:
First of all decompile SystemUI.apk
Step 1
In res/layout/status_bar_tracking.xml
change this:
Code:
<View android:background="#ff212121" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0" />
to
Code:
<View android:background="@drawable/shade_bg" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0" />
Save and close
(this is to point the notifications backgruond to the image instead of just a color)
Step 2
In res/layout/status_bar_expanded.xml
change this:
Code:
<TextView android:textAppearance="@style/TextAppearance.StatusBar.Title" android:id="@id/noNotificationsTitle" android:background="@drawable/shade_bgcolor" android:paddingLeft="5.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/status_bar_no_notifications_title" />
to
Code:
<TextView android:textAppearance="@style/TextAppearance.StatusBar.Title" 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" />
and this:
Code:
<TextView android:textAppearance="@style/TextAppearance.StatusBar.Title" android:id="@id/ongoingTitle" android:background="@drawable/shade_bgcolor" android:paddingLeft="5.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/status_bar_ongoing_events_title" />
to
Code:
<TextView android:textAppearance="@style/TextAppearance.StatusBar.Title" 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" />
and this:
Code:
<TextView android:textAppearance="@style/TextAppearance.StatusBar.Title" android:id="@id/latestTitle" android:background="@drawable/shade_bgcolor" android:paddingLeft="5.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/status_bar_latest_events_title" />
to
Code:
<TextView android:textAppearance="@style/TextAppearance.StatusBar.Title" 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" />
Save and close
(this is to point the headers to the image instead of just a color)
Step 3
In smali/com/android/systemui/statusbar/StatusBarService.smali
Search for this: .method onBarViewAttached()V
Shortly after that, you will find this:
Code:
const/4 v0, 0x2
Change it to:
Code:
const/4 v0, -0x3
(this is so we can make the notifications background transparent)
Search for this: new-instance v0, Landroid/view/WindowManager$LayoutParams;
Shortly after that, you will find this:
Code:
const/4 v5, 0x2
Change it to:
Code:
const/4 v5, -0x3
Save and close
(this is so we can make the statusbar transparent)
Step 4
Now you can change the images:
shade_bg.png
shade_header_background.9.png
statusbar_background.9.png
to get it transparent, or whatever you like.
When you done, Compile it and push it to the phone
Or you can do it the easy way, just copy the files from my SystemUI.apk
Can we have screenshots
Sent from my LT15i using XDA Premium App
hey adam....
.....i'm asking myself if your mod actually enables background transparency throughout the system, including the background of settings, messages, etc....I've been trying to enable transparency for the whole ui by just editing images, which hasn't worked out that well so far, so it'd be quite cool if your mod could help me finally do that
thx for sharing
festa20 said:
Can we have screenshots
Sent from my LT15i using XDA Premium App
Click to expand...
Click to collapse
yepp, fix it soon.
279Paddy said:
hey adam....
.....i'm asking myself if your mod actually enables background transparency throughout the system, including the background of settings, messages, etc....I've been trying to enable transparency for the whole ui by just editing images, which hasn't worked out that well so far, so it'd be quite cool if your mod could help me finally do that
thx for sharing
Click to expand...
Click to collapse
no, it's just the notification pulldown background
Great work Adam Gonna try it..
Edit: Done.. Thanks Adam
Mano1982 said:
Great work Adam Gonna try it..
Edit: Done.. Thanks Adam
Click to expand...
Click to collapse
Did u use UOT kitchen to write your name on footer of notification bar ???
How to use it... Every time i tried, submit button was disabled...!!!
in wich folder can i find SystemUI.apk?
system/app
thanks AdamTt
I combine this Mod and Transparent notifications bar Mod
man thanks for this, using it now
adiktz said:
Did u use UOT kitchen to write your name on footer of notification bar ???
How to use it... Every time i tried, submit button was disabled...!!!
Click to expand...
Click to collapse
Submit button should not be disabled I don't know the reason, but if you want, i can try to make these files for you using UOT Kitchen
I'm glad everyone liked it.
please hit thanks button
I think I screwed up.. my notification bar disappeared altogether.
icepixie said:
I think I screwed up.. my notification bar disappeared altogether.
Click to expand...
Click to collapse
it's the permissions mate, you have to ensure it's set the same as the original SystemsUI.apk first. Then reboot. It should come back.
This is What I want exactly~~~ Thank you so much!!! AdamTt..
Could you share us how you had modified this....??
As you mentioned, the resource didn't point to the right image~~ So I think you should modify some xml file....
I'd like to make the background of system app transparent but still not find out~~~
If you do, I can get some idea or inspiration from you comment~~
Pls~~~ Pls~~`
Mano1982 said:
Great work Adam Gonna try it..
Edit: Done.. Thanks Adam
Click to expand...
Click to collapse
I like yout font and colour scheme. How did you do it mate? Thanks.
wow, i love it
Mano1982 said:
Great work Adam Gonna try it..
Edit: Done.. Thanks Adam
Click to expand...
Click to collapse
Hi there, can you tell me what widget are you using to show the houly temperature and graph?
thanks!
xeon11 said:
I like yout font and colour scheme. How did you do it mate? Thanks.
Click to expand...
Click to collapse
Thanks i did it using UOT Kitchen
Related
I am new to the android development. But i want to learn and i am trying.....I have Samsung galaxy tab 2 P3100 currently running CM10.....I rooted that myself and i can install different roms i.e. I can understand the instructions.... I want to edit an app called 7notes with mazec....the app looks like this when installed.....
1) The blue rectangle shows an app called Notebooks which is a note taking app...
2) The red rectangle shows the app i want to edit i.e. 7notes with mazec which is an input method....
I am a right handed guy....i want to edit the app so that it will be convenient for me to use....I want the app to look like this.....
Is there any way i can edit the app like that....i can provide the .apk file....
AkshayGTP3100 said:
I am new to the android development. But i want to learn and i am trying.....I have Samsung galaxy tab 2 P3100 currently running CM10.....I rooted that myself and i can install different roms i.e. I can understand the instructions.... I want to edit an app called 7notes with mazec....the app looks like this when installed.....
1) The blue rectangle shows an app called Notebooks which is a note taking app...
2) The red rectangle shows the app i want to edit i.e. 7notes with mazec which is an input method....
I am a right handed guy....i want to edit the app so that it will be convenient for me to use....I want the app to look like this.....
Is there any way i can edit the app like that....i can provide the .apk file....
Click to expand...
Click to collapse
It "should" be as simple as editing the res/layout to the values you want. I say "should" because I've never done more than a center clock mod in respect to moving placement of items. Hopefully someone can either verify this, or send you on the right path :thumbup:
Sent from my SPH-D710 using xda premium
Stryke_the_Orc said:
It "should" be as simple as editing the res/layout to the values you want. I say "should" because I've never done more than a center clock mod in respect to moving placement of items. Hopefully someone can either verify this, or send you on the right path :thumbup:
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
Here is a link for the .apk file...... https://www.dropbox.com/sh/xnm0f7qax191raw/KZRRuJSsh-
I found the layout folder already.....i think the related xml code is in the /res/layout/keyboard_handwriting.xml file.... am i correct?
i dnt know anything about the xml.....mean while, i will try to find out how to relocate the layout for the buttons.....
Can you send me the original and the edited xml file of the mod you did abt the center clock? maybe this mod is on the similar lines.....That will help me understand the modifications in this app.....
AkshayGTP3100 said:
Here is a link for the .apk file...... https://www.dropbox.com/sh/xnm0f7qax191raw/KZRRuJSsh-
I found the layout folder already.....i think the related xml code is in the /res/layout/keyboard_handwriting.xml file.... am i correct?
i dnt know anything about the xml.....mean while, i will try to find out how to relocate the layout for the buttons.....
Can you send me the original and the edited xml file of the mod you did abt the center clock? maybe this mod is on the similar lines.....That will help me understand the modifications in this app.....
Click to expand...
Click to collapse
Yes, it appears to be that file. The xml's arent difficult to edit as long as you know what you're looking for, and know what terminology to use.
Code:
[SIZE="1"] <ImageView android:id="@id/delete_backward" android:paddingTop="@dimen/bottom_bar_padding_top" android:paddingBottom="@dimen/bottom_bar_padding_bottom" android:layout_width="@dimen/img_w_menubar_button" android:layout_height="@dimen/img_h_menubar_button" [COLOR="Red"]android:layout_marginRight[/COLOR]="@dimen/bottom_bar_btn_margin" android:src="@drawable/backspace" android:layout_toLeftOf="@id/new_line" [COLOR="Red"]android:layout_alignBottom[/COLOR]="@id/menu" />
<ImageView android:id="@id/delete_stroke" android:paddingTop="@dimen/bottom_bar_padding_top" android:paddingBottom="@dimen/bottom_bar_padding_bottom" android:layout_width="@dimen/img_w_menubar_button" android:layout_height="@dimen/img_h_menubar_button"[COLOR="Red"] android:layout_marginRight[/COLOR]="@dimen/bottom_bar_btn_margin" android:src="@drawable/delete_stroke_n" [COLOR="Red"]android:layout_toLeftOf[/COLOR]="@id/new_line" [COLOR="red"]android:layout_alignBottom[/COLOR]="@id/menu" />
[/SIZE]
The code selected in red, is what you would to change, however, I'm not entirely sure what to change them to. I would try to find an app that already has something setup like you want this to be and look at the layout of those buttons.
The center clock mod I found using this guide only edited one line, like this
Code:
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" [COLOR="red"]android:gravity="left|center"[/COLOR] android:id="@id/clock" android:paddingLeft="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
and changed it to this
Code:
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" [COLOR="Blue"]android:gravity="center"[/COLOR] android:paddingTop="3.0px" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:layout_weight="1.0" />
again, the code in red is the original, and code in blue is edited.
You could try something to the effect of
Code:
<ImageView android:id="@id/delete_stroke" android:paddingTop="@dimen/bottom_bar_padding_top" android:paddingBottom="@dimen/bottom_bar_padding_bottom" android:layout_width="@dimen/img_w_menubar_button" android:layout_height="@dimen/img_h_menubar_button[COLOR="Blue"]android:layout_marginLeft[/COLOR]="@dimen/bottom_bar_btn_margin" android:src="@drawable/delete_stroke_n" [COLOR="Blue"]android:layout_alignBottom[/COLOR]="@id/new_line" [COLOR="red"]android:layout_alignBottom[/COLOR]="@id/menu" />
Obviously, I dont know if this will work or not, but you can try it. Just make sure you keep your original apk so you can replace it if you need to:good:
Stryke_the_Orc said:
Yes, it appears to be that file. The xml's arent difficult to edit as long as you know what you're looking for, and know what terminology to use.
Code:
[SIZE="1"] <ImageView android:id="@id/delete_backward" android:paddingTop="@dimen/bottom_bar_padding_top" android:paddingBottom="@dimen/bottom_bar_padding_bottom" android:layout_width="@dimen/img_w_menubar_button" android:layout_height="@dimen/img_h_menubar_button" [COLOR="Red"]android:layout_marginRight[/COLOR]="@dimen/bottom_bar_btn_margin" android:src="@drawable/backspace" android:layout_toLeftOf="@id/new_line" [COLOR="Red"]android:layout_alignBottom[/COLOR]="@id/menu" />
<ImageView android:id="@id/delete_stroke" android:paddingTop="@dimen/bottom_bar_padding_top" android:paddingBottom="@dimen/bottom_bar_padding_bottom" android:layout_width="@dimen/img_w_menubar_button" android:layout_height="@dimen/img_h_menubar_button"[COLOR="Red"] android:layout_marginRight[/COLOR]="@dimen/bottom_bar_btn_margin" android:src="@drawable/delete_stroke_n" [COLOR="Red"]android:layout_toLeftOf[/COLOR]="@id/new_line" [COLOR="red"]android:layout_alignBottom[/COLOR]="@id/menu" />
[/SIZE]
The code selected in red, is what you would to change, however, I'm not entirely sure what to change them to. I would try to find an app that already has something setup like you want this to be and look at the layout of those buttons.
The center clock mod I found using this guide only edited one line, like this
Code:
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" [COLOR="red"]android:gravity="left|center"[/COLOR] android:id="@id/clock" android:paddingLeft="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
and changed it to this
Code:
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" [COLOR="Blue"]android:gravity="center"[/COLOR] android:paddingTop="3.0px" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:layout_weight="1.0" />
again, the code in red is the original, and code in blue is edited.
You could try something to the effect of
Code:
<ImageView android:id="@id/delete_stroke" android:paddingTop="@dimen/bottom_bar_padding_top" android:paddingBottom="@dimen/bottom_bar_padding_bottom" android:layout_width="@dimen/img_w_menubar_button" android:layout_height="@dimen/img_h_menubar_button[COLOR="Blue"]android:layout_marginLeft[/COLOR]="@dimen/bottom_bar_btn_margin" android:src="@drawable/delete_stroke_n" [COLOR="Blue"]android:layout_alignBottom[/COLOR]="@id/new_line" [COLOR="red"]android:layout_alignBottom[/COLOR]="@id/menu" />
Obviously, I dont know if this will work or not, but you can try it. Just make sure you keep your original apk so you can replace it if you need to:good:
Click to expand...
Click to collapse
Thank you very much Stryke_the_Orc.....i tried what you suggested but i am getting some compilation error.....i not only want to move the buttons horizontally but i want them staked also.... i will keep looking for solution....
AkshayGTP3100 said:
Thank you very much Stryke_the_Orc.....i tried what you suggested but i am getting some compilation error.....i not only want to move the buttons horizontally but i want them staked also.... i will keep looking for solution....
Click to expand...
Click to collapse
Good luck to you, like I said, I wasn't sure that would work, but it should give you some idea of what you're looking for:beer:
Sent from my SPH-D710 using xda premium
you have a status bar,
And it got a clock,,,
BUT ALAS, when you try to change its colour
Da hell dude its in smali,, now i have to handle like a thousand lines of code and use google
^^DID YOU EVER FACE SUCH A SITUATION,,, well then,, here comes mvsdroid to enable you to edit the clock text features
with xmls only so dont rot in the SMALI FILES (the horror)
----all u need is ur brain and a tool to work on apks----
1) Decompile SystemUI.apk
2) Open res/layout/Status_bar.xml
3) You will see this
<com.android.systemui.statusbar.Clock android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:textColor="#ff33b5e5" android:gravity="left|center" androidaddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
</LinearLayout>
kick this line with the delete button and in place of that paste this
<com.android.systemui.statusbar.policy.DigitalClock android:id="@id/clock" android:background="#ee000000" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="0.0dip" android:layout_alignParentRight="true">
<TextView android:textSize="16.0dip" android:textColor="#ff33b5e5" android:ellipsize="none" android:gravity="Right" android:id="@id/timeDisplayBackground" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
<TextView android:textSize="16.0dip" android:textColor="#ff33b5e5" android:ellipsize="none" android:gravity="Right" android:id="@id/timeDisplayForeground" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" android:layout_alignLeft="@id/timeDisplayBackground" android:layout_alignTop="@id/timeDisplayBackground" />
</com.android.systemui.statusbar.policy.DigitalClock>
Now since u have added that android:id attribute,, that cool piece of text shall help us change whatever we want,,,
Now there are two android:textColor attributes...
Find em and change it to whatever hex code you want,, means like if you want ICS BLUE,, make them android:textColor="#ddff00"
and similarly change the size attributes,, so now next time you want that clock to obey ur command,, you dont need no smali!!!!!!
4) Now download the digital clock smali i am giving and place it in systemUI/smali\com\android\systemui\statusbar\policy
5) Then save it and close it
Now download the digital clock smali i am giving and place it in systemUI/smali\com\android\systemui\statusbar\policy
6) Recompile properly
7) Have fun
8) If you had fun in step 6,, press thanks button
<---- dont just see this and laugh,, Press thanks if you like it
STILL ,,, post a reply,, I am still alive to help
I think have to add digitalclock smali?
Sent from my GT-S5360 using Tapatalk 2
Well bro............. NO NEED
Its already there,,,, thats the good thing,,,, maybe samsung wanted an expanded clock and then threw the option but did not delete the smali!!!!
What firmware?
Sent from my GT-S5360 using Tapatalk 2
Well bro.............
the smali part is needed only if you are using stock rom,, but most roms have that already,, but thankyou,,, i will add that too!!!!!!!!!!!!!!!!!!
Nice guide
Sent from my GT-S5360 using Tapatalk 2
Nice...
Regards,
Ganesh
mvsdroid said:
you have a status bar,
And it got a clock,,,
BUT ALAS, when you try to change its colour
Da hell dude its in smali,, now i have to handle like a thousand lines of code and use google
^^DID YOU EVER FACE SUCH A SITUATION,,, well then,, here comes mvsdroid to enable you to edit the clock text features
with xmls only so dont rot in the SMALI FILES (the horror)
----all u need is ur brain and a tool to work on apks----
1) Decompile SystemUI.apk
2) Open res/layout/Status_bar.xml
3) You will see this
<com.android.systemui.statusbar.Clock android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:textColor="#ff33b5e5" android:gravity="left|center" androidaddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
</LinearLayout>
kick this line with the delete button and in place of that paste this
<com.android.systemui.statusbar.policy.DigitalClock android:id="@id/clock" android:background="#ee000000" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="0.0dip" android:layout_alignParentRight="true">
<TextView android:textSize="16.0dip" android:textColor="#ff33b5e5" android:ellipsize="none" android:gravity="Right" android:id="@id/timeDisplayBackground" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
<TextView android:textSize="16.0dip" android:textColor="#ff33b5e5" android:ellipsize="none" android:gravity="Right" android:id="@id/timeDisplayForeground" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" android:layout_alignLeft="@id/timeDisplayBackground" android:layout_alignTop="@id/timeDisplayBackground" />
</com.android.systemui.statusbar.policy.DigitalClock>
Now since u have added that android:id attribute,, that cool piece of text shall help us change whatever we want,,,
Now there are two android:textColor attributes...
Find em and change it to whatever hex code you want,, means like if you want ICS BLUE,, make them android:textColor="#ddff00"
and similarly change the size attributes,, so now next time you want that clock to obey ur command,, you dont need no smali!!!!!!
4) Now download the digital clock smali i am giving and place it in systemUI/smali\com\android\systemui\statusbar\policy
5) Then save it and close it
Now download the digital clock smali i am giving and place it in systemUI/smali\com\android\systemui\statusbar\policy
6) Recompile properly
7) Have fun
8) If you had fun in step 6,, press thanks button
<---- dont just see this and laugh,, Press thanks if you like it
STILL ,,, post a reply,, I am still alive to help
Click to expand...
Click to collapse
Nice...
that is not how you thank someone in xda bro,,,
salizzan said:
Nice...
Click to expand...
Click to collapse
DOnt say IT,,, PRess it
Im trying to change the color of my status bar clock(by battery) to black. I decompiled my rom, In my SystemUI>layout>status bar.xml I edited the color in Line 7 to #00000000 and compiled. No errors. I reflashed my systemUI but the clock never changes. I re checked my xml file and the changes held.
Is there another line/file I need to be editing as well.
Driving me nuts.
Thanks
Razr Maxx x912
JellyBean
Post the line you edited here.
Sent from my MOTOROLA RAZR using xda app-developers app
<TextView android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:textColor="#00000000" android:gravity="left|center" android:id="@id/onsText" androidaddingLeft="6.0dip" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:maxLength="18" />
Trying for Black or Transparent clock
You are not editing the right code, try find the below and change the color code you like
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:textColor="#ff1d849f" android:gravity="left|center" android:id="@id/clock" androidaddingLeft="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
ok i tried to change the clock color on my rom but i was unable to locate files i tried sme Tuto but files name are diffrent i'm using the belkota BETA1 Standard Edition - S4 and the clock color is blue wanna change it to white can you help me please thank you
Mod the system ui for lock screen and recent apps in status bar. No extra running app required, just inbuild system keys. It will reduce the use of physical keys a bit.
Thanks hara74 for guide http://forum.xda-developers.com/showpost.php?p=41120123&postcount=3
SystemUI.apk\res\layout\tw_status_bar_expanded_header.xml
Added lines in blue colour
Code:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:background="#ff000000" android:layout_width="fill_parent" android:layout_height="39.0dip" android:baselineAligned="false"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Clock" android:textColor="#ffffffff" android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="4.0dip" android:layout_marginTop="-3.0dip" android:singleLine="true" systemui:ampmSmall="true" />
<com.android.systemui.statusbar.policy.DateView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Date" android:textColor="[COLOR="DeepSkyBlue"]#ffffffff[/COLOR]" android:ellipsize="none" android:id="@id/date" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="2.0dip" android:layout_marginRight="2.0dip" android:maxLines="2" />
<com.android.systemui.statusbar.RotationToggle android:id="@id/rotation_lock_button" android:clickable="true" android:layout_width="32.0dip" android:layout_height="32.0dip" android:layout_margin="2.0dip" android:button="@drawable/ic_notify_rotation" android:contentDescription="@string/accessibility_rotation_lock_off" />
[COLOR="DeepSkyBlue"]<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/back" android:background="@drawable/tw_quick_panel_setting_button_bg" android:paddingLeft="2.0dip" android:paddingRight="2.0dip" android:focusable="true" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/keylockwhite" android:layout_toLeftOf="@id/recent_apps" android:contentDescription="@string/accessibility_back" systemui:keyCode="26" />
<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/recent_apps" android:background="@drawable/tw_quick_panel_setting_button_bg" android:paddingLeft="2.0dip" android:paddingRight="2.0dip" android:focusable="true" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/recentwhite" android:layout_toRightOf="@id/back" android:contentDescription="@string/accessibility_recent" systemui:keyCode="187" />[/COLOR]
<Space android:layout_width="0.0dip" android:layout_height="0.0dip" android:layout_weight="1.0" />
<ImageView android:layout_width="1.0dip" android:layout_height="25.0dip" android:layout_marginTop="7.0dip" android:layout_marginBottom="7.0dip" android:src="@drawable/tw_quick_panel_plnm_setting_dv" />
<RelativeLayout android:id="@id/settings_button" android:background="@drawable/tw_quick_panel_setting_button_bg" android:focusable="true" android:visibility="visible" android:layout_width="58.0dip" android:layout_height="39.0dip">
<ImageView android:id="@id/settings_button_icon" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/43_notify_quicksettings_normal" android:scaleType="center" android:layout_centerHorizontal="true" android:layout_centerVertical="true" android:contentDescription="@string/accessibility_settings_button" />
</RelativeLayout>
</LinearLayout>
You can also add home button:
Code:
<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/home" android:background="@drawable/tw_quick_panel_setting_button_bg" android:paddingLeft="2.0dip" android:paddingRight="2.0dip" android:focusable="true" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/ic_sysbar_home" android:layout_toRightOf="@id/back" android:contentDescription="@string/accessibility_recent" systemui:keyCode="3" />
long pressing home will show recent apps and long press of keylock will give Device options (Power off, Data network mode, Restart.. etc)
How to install:
1. Rename /system/app/SystemUI.apk to SystemUI.apk.bkp (for backup)
2. Copy the downloaded SystemUI.apk in the /system/app
3. Change permission: rw-r--r--
4. Reboot if required.
Icon layout and bug fixed in new BG trans 50% zip.
where you put the images of the new icons ? i can't fin the xhdpi folder ...
Javho said:
where you put the images of the new icons ? i can't fin the xhdpi folder ...
Click to expand...
Click to collapse
You can put them where you prefer and link them in the xmls
Inviato dal mio GT-I9070 con Tapatalk 2
Javho said:
where you put the images of the new icons ? i can't fin the xhdpi folder ...
Click to expand...
Click to collapse
New icon images are in res\drawable-nodpi\ keylockwhite.png, recentwhite.png and home_normal1.png attached above if required.
Deleted battery indicator?
Deleted battery indicator?
P123456 said:
Mod the system ui for lock screen and recent apps in status bar. No extra running app required its just inbuild system keys. It will reduce the use of physical keys a bit.
Thanks hara74 for guide http://forum.xda-developers.com/showpost.php?p=41120123&postcount=3
How to install:
1. Rename /system/app/SystemUI.apk to SystemUI.apk.bkp (for backup)
2. Copy the downloaded SystemUI.apk in the /system/app
3. Change permission: rw-r--r--
4. Reboot if required.
Click to expand...
Click to collapse
arieligena said:
Deleted battery indicator?
Click to expand...
Click to collapse
No.
I ask because I can't see the indicator in your screenshot, isn't it ?
P123456 said:
No.
Click to expand...
Click to collapse
Can you tell me what xml you exactly editted and what in it ?
I have cm and will edit its systemui and try using it with stock
Just check this link http://forum.xda-developers.com/showpost.php?p=41120123&postcount=3
Download .png images above (or extract from my modded apk res\drawable-nodpi\ keylockwhite.png and recentwhite.png) rename them as required and put them in res\drawable-nodpi\ folder.
change this in that two copied lines...
android:src="@drawable/ic_sysbar_recent"
to
android:src="@drawable/*" //* is the name given by you to recent .png image without extension
And change
android:src="@drawable/ic_sysbar_lock"
to
android:src="@drawable/*" //* is the name given by you to lock .png image without extension
Save changes and recompile.
Is the background changing to blue on press?
P123456 said:
Just check this link http://forum.xda-developers.com/showpost.php?p=41120123&postcount=3
Download .png images above (or extract from my modded apk res\drawable-nodpi\ keylockwhite.png and recentwhite.png) rename them as required and put them in res\drawable-nodpi\ folder.
change this in that two copied lines...
android:src="@drawable/ic_sysbar_recent"
to
android:src="@drawable/*" //* is the name given by you to recent .png image without extension
And change
android:src="@drawable/ic_sysbar_lock"
to
android:src="@drawable/*" //* is the name given by you to lock .png image without extension
Save changes and recompile.
Click to expand...
Click to collapse
I tried making changes in cm's systemui.apk but it didnt had any tw_xxx file. I made changes in without tw_xxx file. And failed while recompiling. I used apktool to de and recompile. Not abd shell !
VooDoo` said:
Is the background changing to blue on press?
Click to expand...
Click to collapse
Yes now as setting icon.
szzlgupta said:
I tried making changes in cm's systemui.apk but it didnt had any tw_xxx file. I made changes in without tw_xxx file. And failed while recompiling. I used apktool to de and recompile. Not abd shell !
Click to expand...
Click to collapse
Use apk multitool http://forum.xda-developers.com/showthread.php?t=1310151
P123456 said:
Use apk multitool http://forum.xda-developers.com/showthread.php?t=1310151
Click to expand...
Click to collapse
Tomorrow now. Its late, 12:10AM :|
Thanks btw
Please dont have this SystemUI but whit the black backgroung?
Enviado desde mi GT-I9070 usando Tapatalk 2
can someone help me... i am try ing to add recent app buton to statusbar but I cannot recompilate the SystemUI.apk
but if i delete the "systemui:keyCode="187" " i can compilate the SystemUI
the rezult...it shows the button on statusbar but i doesn't do anything...
P.S. I am on CM10
can u mod it so that when we press the last button we get a variety of options like in s4 and not just the settings?
MFaust said:
can someone help me... i am try ing to add recent app buton to statusbar but I cannot recompilate the SystemUI.apk
but if i delete the "systemui:keyCode="187" " i can compilate the SystemUI
the rezult...it shows the button on statusbar but i doesn't do anything...
P.S. I am on CM10
Click to expand...
Click to collapse
You can get this lines in navigation_bar.xml or system_bar.xml (same layout folder) of your systemui. Copy and paste from there.
a strange thing happen...
i found the recent apps lines in "system_bar.xml" i put them in statusbar extended and still nothing
it shows the button but when i press the button nothing happen.. the phone onley vibrate but the recent apps menu dose not appear...
any suggestion?
MFaust said:
a strange thing happen...
i found the recent apps lines in "system_bar.xml" i put them in statusbar extended and still nothing
it shows the button but when i press the button nothing happen.. the phone onley vibrate but the recent apps menu dose not appear...
any suggestion?
Click to expand...
Click to collapse
You need the key code or the button won't know what to do .
Sent from 'The Highlands' with a phone.
Hi, can someone make a center clock mod on statusbar for evolution x4 rom? I really need to center my clock on statusbar because i dont know how to edit systemui.apk :crying:
Really need it
For starters this should be in questions & answers as only themes & apps should be posted here (not request for them)
I don't have time to do it for you & you should learn how so here is the way to do it
decompile systemui.apk (found in system/app) with apktool - guides to which are found in general section
Once decompiled open res/layout/status_bar.xml with notpad++
Find the line about the clock & replace with something similar
Code:
<LinearLayout android:textColor="#ff09a9ec" 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="26.5dip" android:textStyle="bold" android:gravity="center" android:layout_width="fill_parent" android:layout_height="fill_parent" android:singleLine="false" android:layout_weight="1.0" />
</LinearLayout>
You may have to change it around a bit depending on the layout but that in general will center the clock
marcussmith2626 said:
For starters this should be in questions & answers as only themes & apps should be posted here (not request for them)
I don't have time to do it for you & you should learn how so here is the way to do it
decompile systemui.apk (found in system/app) with apktool - guides to which are found in general section
Once decompiled open res/layout/status_bar.xml with notpad++
Find the line about the clock & replace with something similar
Code:
<LinearLayout android:textColor="#ff09a9ec" 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="26.5dip" android:textStyle="bold" android:gravity="center" android:layout_width="fill_parent" android:layout_height="fill_parent" android:singleLine="false" android:layout_weight="1.0" />
</LinearLayout>
You may have to change it around a bit depending on the layout but that in general will center the clock
Click to expand...
Click to collapse
Thank You Sir !!+1
marcussmith2626 said:
For starters this should be in questions & answers as only themes & apps should be posted here (not request for them)
I don't have time to do it for you & you should learn how so here is the way to do it
decompile systemui.apk (found in system/app) with apktool - guides to which are found in general section
Once decompiled open res/layout/status_bar.xml with notpad++
Find the line about the clock & replace with something similar
Code:
<LinearLayout android:textColor="#ff09a9ec" 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="26.5dip" android:textStyle="bold" android:gravity="center" android:layout_width="fill_parent" android:layout_height="fill_parent" android:singleLine="false" android:layout_weight="1.0" />
</LinearLayout>
You may have to change it around a bit depending on the layout but that in general will center the clock
Click to expand...
Click to collapse
Okay i will try. Thank you