I need some help with editing the tw_status_bar_expanded_header.xml to include Previous Apps. Where I want to put it is in between the Settings icon and the clear all icon. I have tried several times but only get errors when recompiling the systemui. Hope someone can help who knows editing of xml and language needed. Thanks in advance
See screen shot:
{
"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"
}
Here is my tw_status_bar_expanded_header xml file:
View attachment tw_status_bar_expanded_header.zip
just so you know, this just the xml file, not an installable zip file.
Edit: see last post for result
Try adding this line...
Code:
<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/recent_apps" android:paddingLeft="2.0dip" android:paddingRight="1.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/ic_sysbar_recent" android:layout_toLeftOf="@id/back" android:contentDescription="@string/accessibility_recent" systemui:keyCode="187" systemui:glowBackground="@drawable/ic_sysbar_highlight" />
After this line....
Code:
<com.android.systemui.statusbar.RotationToggle android:id="@id/rotation_lock_button" android:visibility="gone" android:clickable="true" android:layout_width="32.0dip" android:layout_height="32.0dip" android:layout_margin="8.0dip" android:button="@drawable/ic_notify_rotation" android:contentDescription="@string/accessibility_rotation_lock_off" />
Make sure that you have the proper png file named "ic_sysbar_recent" in drawable-hdpi folder....
I'm not an expert themer, but I know a thing or two about all these... So please give it a try and inform me....
Sami Kabir said:
Try adding this line...
Code:
After this line....
Code:
Make sure that you have the proper png file named "ic_sysbar_recent" in drawable-hdpi folder....
I'm not an expert themer, but I know a thing or two about all these... So please give it a try and inform me....
Click to expand...
Click to collapse
Thanks. Got it how I like it. Had to do some changes to the code and other things in the xml. Will post screen & the xml when done for you and others to see when I get to my computer.
sent from my phone because i can
EDIT: Here is the edited tw_status_bar_expanded_header xml to go in layout along with the png for the recentapps that should go in drawable-hdpi folder,
View attachment tw_status_bar_expanded_header_edited.zip
This is what it looks like:
@ Sami Kabir thank you for your help...
bobfrantic said:
View attachment 2274246
@ Sami Kabir thank you for your help...
Click to expand...
Click to collapse
You're welcome....
and Wow, it looks great mate!!
Sami Kabir said:
You're welcome....
and Wow, it looks great mate!!
Click to expand...
Click to collapse
Yup, I Like it.. and thanks again
bobfrantic said:
Yup, I Like it.. and thanks again
Click to expand...
Click to collapse
About this image:
http://forum.xda-developers.com/attachment.php?attachmentid=2274246&d=1379835545
Can you please provide me all pngs?
In this thread you provided only recentapps png, not the other two.
littlethings said:
About this image:
http://forum.xda-developers.com/attachment.php?attachmentid=2274246&d=1379835545
Can you please provide me all pngs?
In this thread you provided only recentapps png, not the others.
Click to expand...
Click to collapse
That's because the other two are already in the drawable_hdpi folder of systemui.apk's
but here you go anyways,
View attachment otherimages.zip
bobfrantic said:
That's because the other two are already in the drawable_hdpi folder of systemui.apk's
but here you go anyways,
View attachment 2752400
Click to expand...
Click to collapse
My apologies, it's because I'm trying to fix touchwiz glitches.
littlethings said:
My apologies, it's because I'm trying to fix touchwiz glitches.
Click to expand...
Click to collapse
Not a problem, hope they help you.
Related
i am using gingerdx v22 on my w8 walkman. i noticed that it has no background image, it has black solid background. so i want to know how to add background image in framework-res so that it appear as like in screenshot below...pls guide me
{
"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"
}
Before editing your framework try to use another or different themes.
Mika Dee said:
Before editing your framework try to use another or different themes.
Click to expand...
Click to collapse
i dont want to use theme for just a background image..
i m ready to mess up framework-res
adminn said:
i dont want to use theme for just a background image..
i m ready to mess up framework-res
Click to expand...
Click to collapse
Try by unziping this apk and compare the content with your framework.apk for modification. this is from GC 8.2 which look like stock rom as in my sig pic.
dipusen said:
Try by unziping this apk and compare the content with your framework.apk for modification. this is from GC 8.2 which look like stock rom as in my sig pic.
Click to expand...
Click to collapse
ok, compared and found that your framework has background.png image in drawable-mdpi, mine dont have, so i added background in mine but didnt appeared,,,
any chane in xmls is required?????
can i use your framework in gingerdx v22????
adminn said:
ok, compared and found that your framework has background.png image in drawable-mdpi, mine dont have, so i added background in mine but didnt appeared,,,
any chane in xmls is required?????
can i use your framework in gingerdx v22????
Click to expand...
Click to collapse
you have to make change in xml files to show the background image.
i dont know the framework file i uploaded will work in GDX. think not.
dipusen said:
you have to make change in xml files to show the background image.
i dont know the framework file i uploaded will work in GDX. think not.
Click to expand...
Click to collapse
i want to know which xml file, line? there are tons of xml file in there
adminn said:
i want to know which xml file, line? there are tons of xml file in there
Click to expand...
Click to collapse
Sorry this time I can not help you. If I knew it I could have already done this.
This question is already answered and completely explained...if im not wrong at kuyadroid thread, just use search before asking...
dsaklein said:
This question is already answered and completely explained...if im not wrong at kuyadroid thread, just use search before asking...
Click to expand...
Click to collapse
pls give link, tried search many time but unable to find relevant thread.
Search kuyadroid thread if im not wrong there is an answer....
Sent from my X8 using XDA App
thnx all, but I figured it out myslf, bg depends on res/values/styles.xml
lolz....late rply helped me to learn a lot about android, ....
yess ur right...framework-res\res\values\styles.xml
there is my example styles framework-res.apk from PrimeHD 80 ...
in section <style name="Theme">
<item name="windowBackground">@drawable/screen_background_dark</item>
<item name="colorBackgroundCacheHint">?colorBackground</item>
to
<item name="windowBackground">@drawable/semc_bg</item>
<item name="colorBackgroundCacheHint">@null</item>
*semc_bg >>> your png image file, put on drawable-mdpi & drawable-land-mdpi folder
sorry for my bad english...
fjw0803 said:
yess ur right...framework-res\res\values\styles.xml
there is my example styles framework-res.apk from PrimeHD 80 ...
in section <style name="Theme">
<item name="windowBackground">@drawable/screen_background_dark</item>
<item name="colorBackgroundCacheHint">?colorBackground</item>
to
<item name="windowBackground">@drawable/semc_bg</item>
<item name="colorBackgroundCacheHint">@null</item>
*semc_bg >>> your png image file, put on drawable-mdpi & drawable-land-mdpi folder
sorry for my bad english...
Click to expand...
Click to collapse
U are right too
Sent from my E16i using XDA
{
"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"
}
Sorry for my Endlish
I love beautiful and I often make up my homescreen, I had seen some skin of Mclock is very nice, I download them, but them not fixed for LDPI so i cant use it, therefore I try to fix them for LDPI and it had done
And now I will share you my work
ah, fist, you must go to market, search Mclock and install it, then you make a folder name "mclock" in your sdcard, then extrac skin and put them to this folder. In homescreen, you add a mclock widget 4x2 (some skin you choose 4x1 is bestter), and then choose Xml template, goto mclock folder, and then find your XML template which skin you want
Good luck!
http://www.box.com/s/3m5hnkkf4eafns7koq2p
http://www.box.com/s/zh0cu7onm8yx7kmafnzq
http://www.box.com/s/ci88hypxh9eq7vgacaz8
http://www.box.com/s/3tjfmhvvy33et9ze9qhu
http://www.box.com/s/bpf4n68te5ttfeqq7h85
http://www.box.com/s/5db536thx4ifuvjuguho
http://www.box.com/s/2k3vr7kxg3j9b41cmch7
http://www.box.com/s/i3v744n2cx8tsyplynij
http://www.box.com/s/8cqvtkhvx2imm19mbdd5
http://www.box.com/s/xx1jt00efu0q1834c5nh
http://www.box.com/s/yfymhylrdup2uf795yg6
http://www.box.com/s/qaj3zr1g5u49oe1dxd0a
http://www.box.com/s/vc8ma7vfg3babnqmbeyx
http://www.box.com/s/jtr32r1n00g69y10zuhr
[later]
Somewhere you see nice skin of mclock, you can link it for me, if I have time I will fix it for you
IF YOU LIKE MY WORK, PRESS THANKS BUTTON
downloading now, thanks for sharing!
very beautiful. thanks
thanks for this. very elegant
Thanks... it's beautiful
My old outdated collection (images dont show up sry)
As said...
click--->mClock collection (old)<---click
If the images dont show up i've linked the originals in the credits so if u want to look at the images click on those links.
ok, links are fixed..at least for now.
thanks for the add roof
Bro, Can you make the rip clock for 12 hrs format. I kinda prefer that one.
Sent from an unknown device.
nishanty13 said:
Bro, Can you make the rip clock for 12 hrs format. I kinda prefer that one.
Sent from an unknown device.
Click to expand...
Click to collapse
that's easy...just open the xml and look for
Code:
is24hour="true"
and change it to
Code:
is24hour="false"
roofrider said:
that's easy...just open the xml and look for
Code:
is24hour="true"
and change it to
Code:
is24hour="false"
Click to expand...
Click to collapse
Pretty easy stuff. Anyway Thanks
Sent from an unknown device.
Thanks dude waiting for sgs2 clock widget its awesome..,
thanks downloading now and what's that CM7 theme do you use , can you please link it to me
lackhoo said:
thanks downloading now and what's that CM7 theme do you use , can you please link it to me
Click to expand...
Click to collapse
im using MIUI4 theme, you can search it in XDA
UPDATE 11/02/2012
- Galaxy SII clock widget
- Neiled clock widget
THAAAAAAAAAAAAANKS
I was looking for this,
alvarorojas4 said:
THAAAAAAAAAAAAANKS
I was looking for this,
Click to expand...
Click to collapse
uhm, just press thanks button
How can I add weather to mclock ?
Thanks...good job
Boss.bhavesh2 said:
How can I add weather to mclock ?
Click to expand...
Click to collapse
mmm, I dont know, dude
more more more :rofl:
thanks !!!
guys can anyone teach me how to edit the background of mms.apk.. i was able to modify the bubbles but not the background.. please help me
{
"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"
}
Sent from my LG-P990 using Tapatalk 2
what????
You must say what you want
cojo11 said:
what????
You must say what you want
Click to expand...
Click to collapse
i want to change the blue background into pure black.. not the bubble background, the conversation background
Sent from my LG-P990 using Tapatalk 2
here is my mms.apk
that is a problem,me and some guys trie it but nobody has done it,when you make it,please say how;-)
i may have an idea but i can't build it after decompiling.. that is my problem
Sent from my LG-P990 using Tapatalk 2
tell me what,maybe i can help
maybe at PM;-)
i think the backgroundd is not a .png file but a configuration which can be found in one of the xml files inside the layout folder..
Sent from my LG-P990 using Tapatalk 2
i think two but i find only one enrty with background and chage it,but nothing happend:-(
cojo11 said:
i think two but i find only one enrty with background and chage it,but nothing happend:-(
Click to expand...
Click to collapse
how did you compile it? i can't do it with apktool
Sent from my LG-P990 using Tapatalk 2
how about editing list_item_background in drawable folder?
Sent from my LG-P990 using Tapatalk 2
shure you can do it with apktool
what will you edit here??
<?xml version="1.0" encoding="utf-8"?>
<selector
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_selected="true" android:drawable="@android:color/transparent" />
<item android:state_selected="false" android:state_pressed="true" android:drawable="@android:color/transparent" />
<item android:state_selected="false" android:drawable="@android:color/transparent" />
</selector>
cojo11 said:
shure you can do it with apktool
what will you edit here??
<?xml version="1.0" encoding="utf-8"?>
<selector
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_selected="true" android:drawable="@android:color/transparent" />
<item android:state_selected="false" android:state_pressed="true" android:drawable="@android:color/transparent" />
<item android:state_selected="false" android:drawable="@android:color/transparent" />
</selector>
Click to expand...
Click to collapse
dude i guess i found it.. i just cant try it coz i cant recompile my apks.. can u please edit compose_message_activity.xml in res/layout folder and change #ffadc0ce to black hexa #000000....
dont laugh,i modify today some apk but after modify the mms.apk,nothing work anymore:-(
same when i change nothig in a apk,only errors:-(
the same on 2 pcs
cojo11 said:
dont laugh,i modify today some apk but after modify the mms.apk,nothing work anymore:-(
same when i change nothig in a apk,only errors:-(
the same on 2 pcs
Click to expand...
Click to collapse
no worries mate.. look what i've done
Sent from my LG-P990 using Tapatalk 2
hey great!! how???
or can you give me maybe the apk??
cojo11 said:
hey great!! how???
or can you give me maybe the apk??
Click to expand...
Click to collapse
i did what i told you.. i edited that xml.. and finally apktool worked for me here is the apk
great!!! now i hope its from a 20q;-)
i will put it in my Rom with big credit to you
cojo11 said:
great!!! now i hope its from a 20q;-)
i will put it in my Rom with big credit to you
Click to expand...
Click to collapse
of course its from v20q rom.. i have a fully stock rom themed by me
nice,when you want,you can upload it or i put in my Rom with credits,may you will try my Rom
How to mod softkey in status bar? [CM9]
plzz.....i need guide........
Thanks
be more specific, what you want to change?
yeah, i use lg p500 .......
i like it,,,,,,,
can u help!?
thanks
x-dira said:
yeah, i use lg p500 .......
i like it,,,,,,,
can u help!?
thanks
Click to expand...
Click to collapse
He mean, what do you want mod ?
F4uzan said:
He mean, what do you want mod ?
Click to expand...
Click to collapse
........softkey in status bar (CM9).......:good:
x-dira said:
........softkey in status bar (CM9).......:good:
Click to expand...
Click to collapse
not sure if trolling or not... ok, so you already have softkeys at the bottom, but you want to change how they look? that's what you want?
{
"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 actually never liked soft buttons on statusbar... but i know that navbar at the bottom is damn handy maybe you should try harder by searching for tutorial or something, because if that's possible i'm sure someone made a tutorial about it already or just ask the guy who made it for cm9, send him a pm...
there's a thread here in themes section...OP y u no search ?
x-dira said:
Click to expand...
Click to collapse
:what:
Sent from my GT-I9100 using Tapatalk 2
mr.faridcom said:
:what:
Sent from my GT-I9100 using Tapatalk 2
Click to expand...
Click to collapse
sr....screenshot for u
can u help me :crying: .........i want mod on LG P500 (CM9)
Thanks
A_U said:
there's a thread here in themes section...OP y u no search ?
Click to expand...
Click to collapse
i cannot find guide
x-dira said:
sr....screenshot for u
can u help me :crying: .........i want mod on LG P500 (CM9)
Thanks
i cannot find guide
Click to expand...
Click to collapse
OK, do the following:
download any mod which contains those softkeys
decompile it with apktool
look to file called status_bar.xml in /res/layouts folder and see what going in there, make your mod and don't forget to give credits to the original moder
Sent from my GT-I9100 using Tapatalk 2
mr.faridcom said:
OK, do the following:
download any mod which contains those softkeys
decompile it with apktool
look to file called status_bar.xml in /res/layouts folder and see what going in there, make your mod and don't forget to give credits to the original moder
Sent from my GT-I9100 using Tapatalk 2
Click to expand...
Click to collapse
Thank you so much!
yeah! im Succses......but......back, menu in status bar not working? how to fix?
code
<LinearLayout androidrientation="horizontal" android:id="@id/navigationArea" android:clipChildren="false" android:clipToPadding="false" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentLeft="true">
<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/back" android:layout_width="40.0dip" android:layout_height="fill_parent" android:src="@drawable/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="40.0dip" android:layout_height="fill_parent" android:src="@drawable/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/menu" android:layout_width="40.0dip" android:layout_height="fill_parent" android:src="@drawable/ic_sysbar_menu" android:contentDescription="@string/accessibility_menu" systemui:keyCode="82" systemui:glowBackground="@drawable/ic_sysbar_highlight" />
</LinearLayout>
Click to expand...
Click to collapse
x-dira said:
Thank you so much!
yeah! im Succses......but......back, menu in status bar not working? how to fix?
Click to expand...
Click to collapse
Hmm, actually it works in apps like XDA ... etc, seems you need to do few modifications in code, search in xda member evilsto's threads.
edit: try to add parameter called "clickable=true" to the status bar layout, maybe it helps.
Sent from my GT-I9100 using Tapatalk 2
Intro
Hi guys, I found this guide by @fugjoo, to add seconds to the status bar clock, seemed really cool but, it was for CM10.1, so I did some more searching and found another guide by @Ticklefish, but that was for ICS. Disappointed again, I said, why not GB?
And you guys know, "Curiosity is the mother of all inventions" [It's not an invention, but, mehh ]
I tried, and it worked. [Reason for the guide]
The method is same but the line to edit is not the same as of ics/jb so many users would get confused whether to take the risk or not. [Second reason of this]
Click to expand...
Click to collapse
How to
What you'll need:
Apk Multi Tool or any tool capable of compiling and decompiling apks.
Notepad++
SystemUI.apk
Procedure:
Pull your SystemUI.apk
Decompile your SystemUI.apk
Go to res/layout/status_bar.xml
Find this line:
Code:
<[COLOR="Red"]com.android.systemui.statusbar.Clock[/COLOR] android:textAppearance="@*android:style/TextAppearance.StatusBar.Icon" android:gravity="left|center" android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
Delete the highlighted part and replace it with
Code:
DigitalClock
It should look like this after editing,
Code:
<DigitalClock android:textAppearance="@*android:style/TextAppearance.StatusBar.Icon" android:gravity="left|center" android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
Compile your SystemUI.apk
That's all
Click to expand...
Click to collapse
Screenshot
{
"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"
}
Click to expand...
Click to collapse
Credits
@fugjoo
@Ticklefish
@destructo570
Click to expand...
Click to collapse
COOL
..........Reserved....... :highfive:
Reserved
Sent from my GT-S5830i using xda app-developers app
Reserved
will add in JELLYBREAD5.1.1
And Amogh how was the progress for Pure JellybeanMod For V5.1
I will add it too.
Sent from my GT-S5830i using Tapatalk 2
lol
1) Replace the red text with <DigitalClock
2) That's all xD
Nice discovery anyway
Sniper Killer said:
lol
1) Replace the red text with <DigitalClock
2) That's all xD
Nice discovery anyway
Click to expand...
Click to collapse
Yeah, just a minor thing, found it working on GB, thought everyone should know
Sent from my GT-I8150 using Tapatalk now Free
VERY good and useful
400 !!
Great Guide !!
Hit Thanx If I helped U - Its frEE
Bootanimations-MDPI
Post Your DevicE History HerE.
Lol very usefull and damn easy. Good work!
Gesendet von meinem GT-S5830i mit Tapatalk 2
Looking good!
amogh420 said:
Yeah, just a minor thing, found it working on GB, thought everyone should know
Sent from my GT-I8150 using Tapatalk now Free
Click to expand...
Click to collapse
what i've to change to make digital clock on statusbar.
imElectronica said:
what i've to change to make digital clock on statusbar.
Click to expand...
Click to collapse
Change
Code:
com.android.systemui.statusbar.Clock
to
Code:
DigitalClock