Issue with RelativeLayout when View visibility is View.GONE

后端 未结 8 862
自闭症患者
自闭症患者 2021-02-02 05:11

I\'ve a RelativeLayout thus:



 // <-- View.VISIBLE OR View.GONE

<         


        
8条回答
  •  梦谈多话
    2021-02-02 05:19

    you can do this

    
    
    
        // <-- View.VISIBLE OR View.GONE
    
    
    
    
    

    let TextView3 below this FrameLayout which has no background, so if TextView2 is Gone ,it doesn't occupy space.

提交回复
热议问题