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

后端 未结 9 894
无人及你
无人及你 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:30

    I'm using the following for a custom radio button which should be diagonally strikethrough when it is disabled.

    Example Image of 5 radio buttons where 4 of them are enabled

      
        
          
            
              
              
              
            
          
          
            
              
                
              
            
          
        
      
    

提交回复
热议问题