RelativeLayout and ViewStub inflation

后端 未结 4 1528
[愿得一人]
[愿得一人] 2021-02-07 22:27

I have the following layout.



        
4条回答
  •  走了就别回头了
    2021-02-07 23:15

    I know it's a bit of an old question but the trick in there is to set the inflatedId parameter to the same as the actual viewStub itself, like this:

    
    

提交回复
热议问题