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 RIG || MSI Neo v-2 MB || Pentium 4 Prescott 3.5Ghz || 2GB Dual Channel DDR1 Ram || Dell 80GB 7200 rpm HDD || BFG Nvidia 6200 256MB || Creative SBLive! Sound Card || Crappy Dell CRT Monitor
Please don't thank me unless I have helped you in some way, if you like my post then click like not thanks.
Check out my github @ https://github.com/gollum18
- 05-28-2012, 11: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