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

前端 未结 11 1743
遥遥无期
遥遥无期 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:42

    If you are adding the View programmatically, you can use yourLayout.addView(view, 1);

    where 1 is the index.

提交回复
热议问题