create view over cardview in android

后端 未结 6 1600
后悔当初
后悔当初 2021-02-18 23:55

I want to create this layout

this is a cardview (gray view) and imageview(blue view) for that i use this code



        
6条回答
  •  一向
    一向 (楼主)
    2021-02-19 00:18

    Another way around it would be to wrap the image view in a card view. Just ensure the background is transparent with height and width wrapping content and it will go on top of the previous card view.

提交回复
热议问题