Circle Battery 1% Increments w/animation Info/Example - Sprint Samsung Galaxy S 4 Themes and Apps

In case any of you people who make themes hadn't noticed yet, Samsung changed the names of the xml files that handle the battery indicator.
They used to be:
stat_sys_battery.xml
stat_sys_battery_charge.xml
They are now:
tw_stat_sys_battery.xml
tw_stat_sys_battery_charge.xml
After decompiling the SystemUI.apk, they are located in the /res/drawable folder.
I have attached the two files I use that give you the 1% increment battery and 100 file animation. Note that the icon names for the indicator do not need to change, you can use the same ones you always have and just drop them in the drawable-xxhdpi folder.
I also attached my SystemUI.apk for anyone who's interested to look at and use if you like. I don't go to fancy with my stuff, just add a little color. I also change the res of the battery indicator from 54 to 60 to make it a little bigger for my tired old eyes.
Please note that I don't have time to take requests for mods (as much as I'd love to). When I have a few minutes, I make something for myself to use, and if someone else likes it too I'm glad to share.
Here are the files:
tw_stat_sys_battery.xml
tw_stat_sys_battery_charge.xml
SystemUI.apk
Here is a 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"
}

OK so I get that one of these is the circle battery, but what are the other 2 files??

Joe0113 said:
OK so I get that one of these is the circle battery, but what are the other 2 files??
Click to expand...
Click to collapse
other two files are the .xml files needed to make it 1% increments, those are for the themers and devs :fingers-crossed:

Related

Where to find simple themes?

I have searched for themes (although admittedly not all that hard as I am searching on my Vox on EDGE) and all of the custom ones I can find are very visually busy and/or hard to read.
I just want onto that is nice and simple with no unnecessary words, logos, or anything else.
But I want it to display:
MRU
profile
next 2 appts (I'll settle for one)
SMS/MMS/email
time, date
Anyone know where to find some?
Well since I couldn't find any I just made* my own. (*made meaning compiled and tweaked, not created)
Here it it: (for a first try, I think it is not too bad)
{
"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"
}
hey that looks really nice
can you attach the homescreen files ?
prajith said:
hey that looks really nice
can you attach the homescreen files ?
Click to expand...
Click to collapse
Thanks.
I would if I knew how.
SUper!
Hi CHillin,
I am also on ROgers. Can you tell me what is your "receipe" for getting your home screen installed with wich plugin etc.
Regards,
JL
I think this is all you need.... I think.
I used Facade, Endless (attached), HTC Home (attached), and a pic I took using with the Vox's cam (attached)
Colour Scheme: Endless: Blue
Wallpaper: IMAGE_004
I have attached the xml file, that I Think will give you the layout. Since I can't attach xml files I added .txt to the end of the file name. So simply delete ".txt" from the file name after you download it and it should work.
Actually I think you will need this one too.

Calling all themers

I've taken it upon myself to AOSP-ize a Sense ROM in the most complete way possible. I've done pretty well so far but I seem to have hit a snag. I swiped the stock MMS app from CM6 and pasted it into myn no problem, but I can't for the life of me figure out why it's framing the black background in white:
{
"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"
}
It looks fine with the white background, but as soon as I switch to the dark the frame remains. I cycled through all the images for both my framework and the MMS app itself but I can't find anything... Thoughts? Am I missing something?
I'm not a Dev. But maybe it needs resized. Because it doesn't look like it's filling the screen
Sent from my PC36100 using Tapatalk
It looks like the background is set to white, with black and gray list items on top. The color setting is most likely in styles.xml or in one of the layout files.
I thought about that too knoc, but I don't think its the case because the text field stretches, and that's part of the app. I may be wrong though.
jj, I haven't played with xml files yet but ill give it a shot. Thanks.
Have you edited any .9.png files? if so you might want to check into those.
XsMagical said:
Have you edited any .9.png files? if so you might want to check into those.
Click to expand...
Click to collapse
yep, looks like a draw9 patch bug to me too. something isn't stretching right.
So did you modify any xml's? Or are you just copying and paisting. The reason I ask is that by your description is sounds like the padding is all f'd up. I know there is a flashable zip that removes sense if you want that. You will have to check around on here to find it.

[MOD] [SENSE] 5.07 Improved Stock Battery Icons with Percentages

I humbly submit my first flashable mod, an improved set of battery icons showing charge in 1% increments for Stock Sense ROMs based on the 5.07.651.1 OTA .
These icons are not new by any means: they have been seen in such ROMs as Classic, Synergy, EViO and Sprint Lovers. See second row of images below.
THIS MOD GETS YOU THE ICONS IN THE SECOND ROW - the first row is only for comparison with what passes for a "Stock" percent battery in the UOT kitchen.
{
"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"
}
If you look inside you will see the flashable zip itself does contain code generated by UOT Kitchen. It was originally produced by Captain Throwback (see post 2 of this thread); all I did was replace the png's. I did *not* touch any xml. I'm saving that learning project for another day. For now I just duplicated and renamed the original 33 charging icons I had to work with until I had 100 of them as required by the existing stat_sys_battery_charge.xml
I also replaced the heinous crude generic battery_low_battery.png from UOT kitchen with one that actually depicts an Evo.
If there is another flashable zip with these icons compatible with 5.07 ROMS already, I apologize, but creating this was educational for me and I hope you will indulge me posting it here anyway. Sharing is caring.
I thank Captain Throwback and whoever was the first person to create these images. If anyone has any leads let me know so I can thank them properly.
Looks pretty cool.
Sent from my PC36100 using xda premium

Change TW Quickpanel background. Which files?

Hey all.. I've searched everywhere, modified all sorts of files/png's... I can't seem to get the blue background for the touchwiz quickpanel to change.
What apk? I assume it's SystemUI.apk. Which file? Is it a PNG or is it an XML edit?
One more.. the green bar below the quickpanel icon (the on/off indicator).. same question as above. What file is it?
What I'm talking about:
{
"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"
}
Like I said.. I've searched everywhere, read all sorts of threads, edited all sorts of XML/PNGs... Need help!
Thanks all.
Inside SystemUI/res/drawable named as tw_quick_panel*.9.png. To modify 9.png format (stretchable png), you need a special editor draw9patch from Android SDK. I had no experience editing 9.png file
Or you can make suitable size toggles and put then in drawable folder and then give reference to them in toggles xml file!!!!
@ketut I think toggles png s are not in .9 format!!!!!
but even if they are above method will work and will probably save you from messing with .9 png files
Sent from my C1505 using xda app-developers app
Awesome. Thanks. Gonna check to see if I can find. Those when I get a chance. On a business trip right now so I'm working 14-15 hr days
Sent from my SCH-I535 using XDA Premium HD app
Great. They're located in SystemUI/res/drawable-sw600dp-mdpi on the i705. Thanks again guys!

[THEMER | MODDER| S5] [Q] Changing Apk Background Color

Themers and modders out there just some few help and questions
Im currently making my very first custom rom, here's the screen shot of the home
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
as you can see I edited the status bar and made it completely transparent and so problems came in with apps such as Mms, People, and Contact
having white status bar, having white status bar and white icons(wifi,battery,signal etc) results in complete white status bar and its ugly
Dont my assignment already searches around here in XDA and with the help of our friend google, I cant seem to find a solution yet
which drawables(?) xml (?) smali(?) would I replace or edit in per apps? just need some guides and I'll do the rest
and Oh lasty where in SystemUI would change background of status bar expanded (done all the way to editing some stuffs)
THANK YOU IN ADVANCE
rest assured you will be credited for the help after I finish my custom rom
why dont you change drawable .png in res
system UI
kundan.lohar said:
why dont you change drawable .png in res
system UI
Click to expand...
Click to collapse
Men thanks for the reply! )) I cant seem to find the .png associated can you help me Identify? Ill attach my SystemUI.apk cheers!

Categories

Resources