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

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -