[REQ] 1% Battery Icon Compiled - Verizon Samsung Galaxy S III

I'm looking to find a compiled file that would allow me use a 1% battery icon theme. I have been searching everywhere and found a file that contains:
<item android:drawable="@drawable/stat_sys_battery_0" android:maxLevel="0" />
<item android:drawable="@drawable/stat_sys_battery_1" android:maxLevel="1" />
<item android:drawable="@drawable/stat_sys_battery_2" android:maxLevel="2" />
<item android:drawable="@drawable/stat_sys_battery_3" android:maxLevel="3" />
etc... But when I use these two files, rather than the battery icon moving at 1% intervals, the battery icons completely disappeared. I was wondering if anyone could help me find the compiled files for 1% increments, unless this method is completely wrong.

Zarotu said:
I'm looking to find a compiled file that would allow me use a 1% battery icon theme. I have been searching everywhere and found a file that contains:
<item android:drawable="@drawable/stat_sys_battery_0" android:maxLevel="0" />
<item android:drawable="@drawable/stat_sys_battery_1" android:maxLevel="1" />
<item android:drawable="@drawable/stat_sys_battery_2" android:maxLevel="2" />
<item android:drawable="@drawable/stat_sys_battery_3" android:maxLevel="3" />
etc... But when I use these two files, rather than the battery icon moving at 1% intervals, the battery icons completely disappeared. I was wondering if anyone could help me find the compiled files for 1% increments, unless this method is completely wrong.
Click to expand...
Click to collapse
..did you add in the .PNG images for the new battery? Sounds like no.
Either that or the wrong folder you put the images, it's either drawable-hdpi or drawable-xhdpi I forget. Or you could have the new .PNG images named incorrectly. You essentially now need 202 battery icons, 0-100 for regular, and 0-100 for charging images

I do have 202 battery icons with .PNG extensions for each of them. They were working correctly, however they were running at very large intervals (91%, 71%, etc.). I am interested in 1% intervals, but the new .XML do not seem to be working correctly.

Zarotu said:
I do have 202 battery icons with .PNG extensions for each of them. They were working correctly, however they were running at very large intervals (91%, 71%, etc.). I am interested in 1% intervals, but the new .XML do not seem to be working correctly.
Click to expand...
Click to collapse
Upload the SystemUI.apk and I will take a look at it for you.

andybones said:
..did you add in the .PNG images for the new battery? Sounds like no.
Either that or the wrong folder you put the images, it's either drawable-hdpi or drawable-xhdpi I forget. Or you could have the new .PNG images named incorrectly. You essentially now need 202 battery icons, 0-100 for regular, and 0-100 for charging images
Click to expand...
Click to collapse
andybones said:
Upload the SystemUI.apk and I will take a look at it for you.
Click to expand...
Click to collapse
Hope you could find the problem. I really appreciate your help!

Related

how to modify the color of settings.apk?

id like to make my settings popup menu gloss black, im talking about the short menu that pops up when you click on the menu button. how do i mod this apk? or do i need to mod the color xml instead? im running myn's rls4 btw.
if you guys could help me out or post the required files id appreciate it.
seriously? nobody?...
i'm not sure if settings.apk is what controls the menu that pops up when you press the menu button. Pretty sure that is in framework-res.apk, but i wouldn't swear to it, either. If it is in settings.apk (which would be easier on your end), then using 7zip and ripping into it is prolly your best bet. Hell, you've themed some before. You know how this works.
Settings.apk has nothing to do with the menu that pops up when you press "menu." Settings.apk is for the settings app and power control widget.
What you're looking for is in the framework and called either menu_background.9 or menu_background_fill_parent_width.9 I can't remember off the top of my head.
If you do make it black, you'll have to edit an XML somewhere to make the text another color so you can read it.
sorry if i came off pissed, just frustrated. anybody have the black menu im talking about? can anybody upload their png's or xml for me? i have no clue how to edit xml's at all.
Why not pm myn? His Rom has this feature; ask him directly.
I would also like to know how to do this.
Sent from my netarchy_toast, froyo beast of a machine evo!
Don't quote me on this, but I'm pretty sure the text color is in an XML in the styles folder. Menu_item_something_something rings a bell.
Well firstly you're going to have to decompile the framework-res.apk in akpmanager. and edit the styles.xml file. You will need to change this:
<style name="TextAppearance.Widget.IconMenu.Item" parent="@style/TextAppearance.Small">
<item name="textColor">?textColorPrimaryInverse</item>
to
<style name="TextAppearance.Widget.IconMenu.Item" parent="@style/TextAppearance.Small">
<item name="textColor">@color/bright_foreground_dark</item>
and then you're going to have to change this:
<style name="Theme.ExpandedMenu" parent="@style/Theme">
<item name="listViewStyle">@style/Widget.ListView.Menu</item>
<item name="windowAnimationStyle">@style/Animation.OptionsPanel</item>
<item name="background">@null</item>
<item name="itemTextAppearance">?textAppearanceLargeInverse</item>
</style>
to this:
<style name="Theme.ExpandedMenu" parent="@style/Theme">
<item name="listViewStyle">@style/Widget.ListView.Menu</item>
<item name="windowAnimationStyle">@style/Animation.OptionsPanel</item>
<item name="background">@null</item>
<item name="itemTextAppearance">@style/TextAppearance.Large</item>
</style>
Then you are going to framework-res/res/drawable-hdpi and drawable-hdpi4 or drawable-hdpi-v4) and change menu_background.9 & menu_background_fill_parent_width.9 files to your specified colors but be careful editing the .9 files. and finally you will have to recompile and resign using apkmanager or apktool, whichever you prefer. (note: if you have edited your framework or used the UOT kitchen, more than likely it will not recompile. you will have to start over and make any xml changes, recompile and then use the UOT.

[javaDevelopment]Transparent activity background with active desktop

Hi, I am making some application with transparent background (image with alpha channel). All is ok but I would like to have active desktop under activity.
Transparent code xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="Theme.Transparent" parent="android:Theme">
<item name="android:windowIsTranslucent">true</item>
<item name="android:windowNoTitle">true</item>
<item name="android:windowIsFloating">true</item>
<item name="android:backgroundDimEnabled">false</item>
</style>
</resources>
How to do that? I want to make full screen image with active desktop and don't know how. If it's bad forum, please delete and do not ban me, this is my first post here.

[Q] ADW Icon pack question

Ok so im setting up the icon_pack.xml like this...
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string-array name="icon_pack" translatable="false">
<item>android_tether_mainactivity</item>
</string-array>
</resources>
When I install the apk on my phone and try to change an icon through the "adw icon pack" option it loads my theme but it doesn't display any of the icons but just a black empty screen. Any ideas?
Bump...
Does anyone have any idea on this? Im using this template kaydensigh-ADW.Theme-Template-99cb675 and i took the icon_pack.xml from AnderWeb-ADW.Theme-Template-d8491c4 and also edited my androidmanifest.xml with the following lines...
<action android:name="org.adw.launcher.icons.ACTION_PICK_ICON" />
<category android:name="android.intent.category.DEFAULT" />
The when i select to pick an icon from the theme images i have included i just get a black screen.
Hallo.
Got same problem, i found that in main.java theres no " addIcons(resources, packageName, R.array.icon_pack);" string, but dunno how to add it coz when i add whole function, got many errors ;(
Regreads
Pandik
www.android.pandik.pl

Galaxy Fit modding.The dockbar

Hello,
I'm on stock 2.3.6 rooted. I started manually editing/modifying my galaxy fit. Now I want to edit the dockbar of stock 2.3.6. I really hate that semi-transparency of the dockbar of the main screen. So far I managed to edit the dockbar of the app drawer, but can't find the .png of the MAIN SCREEN DOCKBAR BACKGROUND. Also, I can't figure out(if i find it) how to make it 100% transparent.
Can someone help me out with this??Which .png(from Touchwiz30Launcher.apk/res/drawable-Idpi) is it?
Edit: Ok,so I found it, but i can't make it full transparent.If i edit the .png, I can only give it a full color
If i try to edit the coresponding XML file, I don't know what to put in there.
"TouchWiz30Launcher.apk\res\drawable\homescreen_menu_mainmenu_icon_bg.xml" : <?xml version="1.0" encoding="utf-8" ?>
- <layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@color/menu_background_transparent" />
</layer-list>
Lawr3nce said:
Hello,
I'm on stock 2.3.6 rooted. I started manually editing/modifying my galaxy fit. Now I want to edit the dockbar of stock 2.3.6. I really hate that semi-transparency of the dockbar of the main screen. So far I managed to edit the dockbar of the app drawer, but can't find the .png of the MAIN SCREEN DOCKBAR BACKGROUND. Also, I can't figure out(if i find it) how to make it 100% transparent.
Can someone help me out with this??Which .png(from Touchwiz30Launcher.apk/res/drawable-Idpi) is it?
Edit: Ok,so I found it, but i can't make it full transparent.If i edit the .png, I can only give it a full color
If i try to edit the coresponding XML file, I don't know what to put in there.
"TouchWiz30Launcher.apk\res\drawable\homescreen_menu_mainmenu_icon_bg.xml" : <?xml version="1.0" encoding="utf-8" ?>
- <layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@color/menu_background_transparent" />
</layer-list>
Click to expand...
Click to collapse
just replace @color/menu_background_transparent with @color/transparent
if you don't have a transparent color in your app go to /res/values/colors.xml and add this line:
<color name="transparent">#00000000</color>
ehsan-black said:
just replace @color/menu_background_transparent with @color/transparent
if you don't have a transparent color in your app go to /res/values/colors.xml and add this line:
<color name="transparent">#00000000</color>
Click to expand...
Click to collapse
Thanks a lot. I already made it transparent. I just went on a online photoeditor site and edited the image KEEPING its transparency, made full transparent and voilla!
The thing is that the windows editor wouldn't keep transparency of the png's(or I don't know how to do it).
Lawr3nce said:
Thanks a lot. I already made it transparent. I just went on a online photoeditor site and edited the image KEEPING its transparency, made full transparent and voilla!
The thing is that the windows editor wouldn't keep transparency of the png's(or I don't know how to do it).
Click to expand...
Click to collapse
change color mode to RGB and save it again.

anyway to hide app lebels in poco launcher?

Is there any way to hide app lebels (not apps) of homescreen and app drawer in poco launcher?? It's looking Messy with levels
What do you mean levels
Aashish Bakshi said:
What do you mean levels
Click to expand...
Click to collapse
The app name below the app icons. In 3rd party launcher there is a option for hide the names and that look clean
Subhransu90 said:
The app name below the app icons. In 3rd party launcher there is a option for hide the names and that look clean
Click to expand...
Click to collapse
Oh you meant label
No in poco launcher there's no way to hide labels
Only way is to change to a custom launcher like nova launcher which I generally use since it gives tons of customisations
I created an overlay apk that sets to transparent the icons' label on the homescreen, following this https://code.tutsplus.com/tutorials...runtime-resource-overlay-framework--cms-29708
In pratice it replaces the following lines in /res/values/styles.xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="WorkspaceIconTitle">
<item name="android:textSize">1sp</item>
<item name="android:textColor">#00000000</item>
<item name="android:shadowColor">#00000000</item>
</style>
<style name="WorkspaceIconTitle.dark">
<item name="android:textColor">#00000000</item>
<item name="android:shadowColor">#00000000</item>
</style>
</resources>
You must place the attached .apk in /system/vendor/overlay that is read-only if you are not root.
Reboot and it should do its job.
Tested and working on a Xiaomi Mi 9 running Poco Launcher v. 2.7.4.38 on Android 10
I rewrote the apk because number in badges were not showing
Now it only overlays the text size property with 1 dp size, that is so small you should not even see the label (if you watch closely and have a contrasting background you could see a small line)

Categories

Resources