Drawable as Background for CardView

后端 未结 11 1001
傲寒
傲寒 2020-12-08 02:29

the CardView ( android.support.v7.cardview ) stays white even though I set a backround drawable via android:backround - The documentation gives me the feeling that it should

11条回答
  •  误落风尘
    2020-12-08 03:01

    I got this working by adding a linearlayout in the cardview and then setting cardPreventCornerOverlap to false in the cardview.

       
    
         
    
           
    
        
    
        
    

提交回复
热议问题