android - Change Activity design programmatically -
this question has answer here:
i'm encountering issue. i'm developping android application contains several activities. , want let user choose black or white design dynamically. issue don't know how must change design activites when they're on backstack. though 2 options :
- change programmatically color of each view on each activity.
- do 2 versions of each activity. black 1 , white 1 , switch beetween them according user color choice.
which 1 better way ? there way achieve ?
regards.
you want use themes, , can apply theme before calling super.oncreate()
Comments
Post a Comment