Monday, March 14, 2011

[android-developers] Changing UI activity in runtime

Hi. I need to change the UI of an activity in runtime. In onCreate()
method, I write setContentView(R.layout.m1), but in runtime I need to
change R.layout.m1 by R.layout.m2 depends on a flag.

Any ideas?

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate