Load the another Layout xml file in to the another layout
I want to add the Another Layout in to the current Layout. . . I have use the Ta开发者_开发问答bView in My Application and now i want to change the Layout while the specific tab is clicked. and the Main TabView remain in Same Place. . How it is possible ??? Help me Please.. Thanks.
use 2 layouts and set the visibility to layout according to situation
You can inflate your views on the fly from layout xmls, and them to the current layout / view.
This thread about dynamic number of gui elements in Android shows you how to achieve it.
精彩评论