Placing/Overlapping(z-index) a view above another view in android

前端 未结 11 1787
遥遥无期
遥遥无期 2020-11-22 17:07

I have a linear layout which consists of imageview and textview , one below another in a linear layout.



        
11条回答
  •  清歌不尽
    2020-11-22 17:53

    You can use view.setZ(float) starting from API level 21. Here you can find more info.

提交回复
热议问题