java - android: creat layout dynamically and setContentView it dynamically -


suppose there activity called "m1" , there 2 layouts called "m2" , "m3" both have few buttons dynamically how can setcontentview dynamically whay

you have method set view setcontentview

so can pass root parent view method achieve requirement.


Comments

Popular posts from this blog

java - Date formats difference between yyyy-MM-dd'T'HH:mm:ss and yyyy-MM-dd'T'HH:mm:ssXXX -

c# - Get rid of xmlns attribute when adding node to existing xml -