Unable to get exact circle shape when using card view

前端 未结 11 1895
旧时难觅i
旧时难觅i 2020-12-25 10:12

I\'m using card view for floating action button in android material design. I\'m using following code for get the circle



        
11条回答
  •  醉酒成梦
    2020-12-25 10:59

    Using CardView to obtain circular background with shadow can be quiet troublesome intead use layer-list in drawable to get the desired output.

    
    
    
        
            
                
                
            
        
    
        
            
                
            
        
    
    

提交回复
热议问题