Include same layout multiple times

前端 未结 4 1141
抹茶落季
抹茶落季 2021-02-13 21:56

I have a common layout (common.xml) which I want to include many times in another layout (layout_a.xml). But it only shows me just one time. Why?

common.xml

4条回答
  •  情深已故
    2021-02-13 22:34

    I fixed by setting the layout_height of the RelativeLayout to 250dp since they are overlapped.

提交回复
热议问题