How to add a blurred drop shadow to a button?

后端 未结 5 2187
不知归路
不知归路 2020-12-23 12:21

I need to add blurred drop shadow to my button:

I tried to create background with layer-list xml drawable, but it not looks like blur.



        
5条回答
  •  礼貌的吻别
    2020-12-23 13:19

    Create a drawable "round_corner.xml"

    
    
    
        
            
    
            
        
    
    
    

    in Activity set a button in xml

    
    
    
        

    Helpful links

    Hope this helps you

提交回复
热议问题