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

java - How to specify maven bin in eclipse maven plugin? -

Error while updating a record in APEX screen -

c++ - In an add-in in Excel, written in C(++), how does one get the name of the function which called into the addin? -