Is there a way to set drawable's Alpha using XML?

后端 未结 9 913
无人及你
无人及你 2020-12-24 05:21

Easy like itself . I wanna make an alpha button , which would have a selected drawable this way:




        
9条回答
  •  太阳男子
    2020-12-24 05:45

    I achieved the same using a drawable

    
    
        
    
    

    Over here used the alpha 50, which sets the opacity level. Hope that helps

提交回复
热议问题