create view over cardview in android

后端 未结 6 1614
后悔当初
后悔当初 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:08

    You can wrap CardView in FrameLayout but then the shadow will be cropped. Set android:clipChildren="false" to fix it

    
    
    
    
        
    
        
    
    
    

提交回复
热议问题