Inflate a view / layout into another layout?

后端 未结 2 634
孤独总比滥情好
孤独总比滥情好 2020-11-28 15:15

I\'m looking for a way to inflate another layout into the first layout in android. How would one do this? Here are the two XML files. The first is the main layout, the secon

2条回答
  •  萌比男神i
    2020-11-28 15:34

    I'm not sure I realy understood what had you ment by "I can't just include the layout as I will use this method to inflate other layouts into wire frames later on." But if you need the second layout to be put many times in various other layouts, use in these other layouts.

提交回复
热议问题