Are there certain elements of the framework-res and systemui apks that you shouldn't change in a stock based rom when you are themeing them?
Sent from my LS670 using Android Central ForumsCurrent Laptop - Samsung Ativ 4 Book, Ivy Bridge I7 @ 2.00GHz per Core, 8GB DDR3 Ram, Intel HD 4000, 750GB SATA
- 05-28-2012, 10:10 PM #2
Doing a theme on the framework-res and SystemUI are up to you. The biggest thing to be careful with any theme work is careful with the ".9.png". These are tricky to play with. They have their own custom formatting called Draw9Patch which is part of the Android SDK. These png's are specially formatted to stretch to certain dimensions. In a nut shell these files when properly done have hidden black lines or dots on the exterior edge of the graphic which tell Android how far and where to stretch the graphic. These can only be seen when you decompile the framework or apk's your working on. Then once you make your changes you recompile the apk and if all goes correct your in business.. If its incorrect normally it will fail the recompile of the apk.
There are various guides available to aid you in working with these. Normally if your theme comes out looking screwed up or something FC's its due to a badly formatted or improperly changed .9.png
My opinion this is probably the most common made error when themes are done to any apk is working with the 9's. When it comes to doing code changes, well thats another story for another time All depends on what your doing...Paul
Moderator Team Leader @ Android Central
I am the Tegra Champ. What this means is that from time to time NVIDIA might send me new products to try out. This will not affect my thoughts, ideas, or opinions about any product that are discussed in the forums. Those are still my own.