Button always displays on top in FrameLayout

后端 未结 7 720
醉梦人生
醉梦人生 2020-12-03 00:34

I have FrameLayout like this:



        
7条回答
  •  广开言路
    2020-12-03 01:29

    FrameLayout should be used to hold a single child view, because it can be difficult to organize child views in a way that's scalable to different screen sizes without the children overlapping each other.

    You should use LinearLayout or RelativeLayout in FrameLayout . Like this way

    
    
       
    
        

提交回复
热议问题