Button always displays on top in FrameLayout

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

I have FrameLayout like this:



        
7条回答
  •  离开以前
    2020-12-03 01:10

    For API < 21 you cant use android:stateListAnimator="@null" or change the elevation. In my case I used 2 frame layouts embedded in a constraint layout. As the frame layouts can be stacked upon each other there is no need to change the elevation of the textview.

    
    
    
        

提交回复
热议问题