@badboy_6120...i wonder what are u trying to do with smali code. Are u trying to bring some structural change in some apk? One more thing mate. Are you documenting your work? So that when an update is needed, it won't be so cumbersome. Keep it up bro.
Sent from my SM-N900 using
XDA-Developers mobile app
If you want to theme an app (Ether system app or 3rdParty) all you need to do is to modify that particular app (If you want to change its theme from white to black, all you have to do is to redirect its styles to black theme in your framework )
but if you want to theme some parts of framework-res or framework.jar or any other jar file in framework folder (Like power menu , Alert dialogs , Resolver or ...) you have to be very careful to not mess with resources on framework-res because all the apps on your phone is using that resources
For example :
If I want to change the theme of Power menu from white to black I have two options ( or three If we consider Xposed moudules ) :
1- change the alert dialog's background and text color in white resources in framework-res.apk
2- change it from the point that the power menu codes connect to white theme and change its path to black
the first option is a lot easier and straight forward, but cause some mismatch coloring in white theme apps
the second one is so difficult but worth it, because by that you just theme that parts of your phone that you need to be themed
I hope I deliver my point
and also I'm writing the exact place for each modification I made, don't worry about that bro
