Android ripple background color

后端 未结 5 2207
清歌不尽
清歌不尽 2020-12-13 12:38

I am using a ripple effect on my navigation drawer. I have set it like this and applied it to my ListView:



        
5条回答
  •  既然无缘
    2020-12-13 13:22

    If you are using the custom button color then use below code for ripple effect. Save the file in drawable with name my_ripple.xml and set in background of button.

     
     
        
         
            
        
      
      
     
    

提交回复
热议问题