How do I automatically show different resources for light vs dark themes in Android? -
as understand, there 2 built in themes android, light , dark. want application display different resources based on theme user using (not having user explicitly specify theme in app!). possible? if so, possible via xml resources, or programmatic approach required?
note: yes, i've read http://d.android.com/guide/topics/ui/themes.html @ least thrice. seems tells me how set 1 specific theme or styles element, rather displaying light/dark elements correctly.
this site can check alternative drawable folders.
http://developer.android.com/guide/topics/resources/providing-resources.html
also, document might helpful. http://developer.android.com/guide/topics/ui/themes.html
for regular themes: i'm not aware of functions in android that, might need develop yourself.
Comments
Post a Comment