Is there a way to change the default folder icons?
This developer below has made transparent Status bar. I think he took the black image inside systemUI.apk (can open using winrar)and made it transparent and repacked it back. I tried to open systemUI.apk and locate the status bar but couldn't find one. I am trying to make one for XXLFB(which has brightness adjustment in the drop down and i don't want to loose it).
Is my analysis correct ? If so could you help me locate the .png file that is transparent. Thanks
http://forum.xda-developers.com/showthread.php?t=1687861
I removed all icons from a theme as I hoped Android would use system icons instead.
Unfortunately the app drawer now shows the same icon for all theme icons that I removed. Apparently it still tries to load the themed icons.
Which config file do I have to change to so that the default Android system icons will be shown?
Issue solved:
Simply open the .apk using WinRAR and change the images with new ones. If swapping images from one .apk to another you can actually extract the old .apk to a folder using WinRAR and then browse to see the images you want. Select them and drag and drop to the same corresponding folder in your new .apk using WinRAR. This is useful for changing simple things like icons, battery images etc. As long as the images are like for like number of images. If you want to add extra battery images for example battery circle mod then that is covered in another section.
Things to note when adding the images using WinRAR make sure the settings are "update mode = add and replace files" and "compression method = normal".
Source: http://www.modaco.com/topic/328510-guide-theme-editing-and-related-things/
Suppose you want to place a png on status_bar_expanded but do not want to keep in SystemUI/res/drawable-ldpi/ as that would cause transportation issues and increase risk of stealing pngs even if you give the SystemUI.apk to anyone only for study. Or have color xmls that if stolen can spoil your Rom surprises or TUTS
Well what would you want to do,, modify some smalis and place it in your own res.apk like lidroid-res,, etc,, but that would be too bulky and big hell of a job
It would be much better only if we could place these drawable xmls,, color xmls,, drawable pngs etc in framework-res.apk,, Well that is a trick only manufacturers use generally,, Well But since the developers/modders/themers works also need to safe guard their work, heres how we can place color xmls,, drawable xmls and drawable pngs in framework-res.apk and still make it work for other apps like SysUI, etc
-=--------Let us begin simple ----=-----------------------How to safe guard status_bar_tracking background png----------------------------------------------------------
1) decompile SystemUI.apk
2) Open status_bar_tracking.xml in res/layout
3) find its background attribute ( android:background="@drawable/x" )
4) now change it to android:background="@android:drawable/x"
5) Now delete x png from drawable-ldpi (<----------skip if u facing error recompiling)
6) Now open ur framework-res.apk with winrar and place x.png in drawable-ldpi
7) pUSH BOTH
--------------------------===---------------------------------------------------Safe guard a color xml------------------------__-==------------------------------------------------------------
Suppose you have seen my last tut regarding how to make any text change its color when you put your finger on it,, now similarly you perform the work on some other text,, say the quick panel toggle text so it turns blue when toggle is on and white when off,,, etc Now your problem is that if you give your lidroid-res.apk to anyone even for study,, he/she may steal ur color folder xml regarding toggle text dynamics and release it as his own TUT,, so what do you do,, hide the color xml regarding toggle text dynamics in framework-res.apk
1) Decompile lidroid-res.apk
2) copy the <toggle text dynamics xml name>.xml to somewhere safe
3) Open the xml that has android:textColor="@color/<toggle text dynamics xml name>"
and change it to android:textColor="@android:color/<toggle text dynamics xml name>"
4) Now decompile framework-res.apk,, place <toggle text dynamics xml name>.xml in color folder and recompile properly
This way,, safeguard whatever the hell you want
Just remember,, decompile framework-res for xmls and open using and archive opener for pngs
------------------------------------------------------------Remember to press thanks if i helped you---------------------------------------------------------------------------------------:good:
Nice bro :good:
Nice idea for ROM/Theme devs...
Regards,
Ganesh
hi guies.
i can problem speak english. i'm sorry
[problem] after decompile with any editing in framework-res.apk & recompile this file some part ,wrong color (example:color background and text reboot menu change to black & ....
please help me for change btn switch on or off for setting & ... in framework-res.apk (rom cm12.X)
email: [email protected]
:crying::good:
[Answer]
first decompile framework-res.apk ,after edit btn switch as theme cm12.x (folder android on theme) after recompile
after recompile open framework orginal with 7zip & copy any files in the framework-res.apk (recompiled) after again copy meta inf & android mainifest.xml assets & rexources.arsc
after copy on phone & root\system\framework
good lock