阅读背景:

是否可以根据按下按钮选择要放置在主布局的内部布局中的布局文件?

来源:互联网 

Sorry for the confusing question, the example might clear things up. I am trying to set an inner layout to some other layout file. For simplicity, I made these all linear layouts, but in general I'd prefer it to be any type of layout. Given main_layout.xml, can I set the inner LinearLayout (chooseLayout) to layout_1.xml or layout_2.xml depending on a button press?Sorry for the confusing question, the example m




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: