How to apply shape and selector simultaneously for Button?

后端 未结 9 2337
暗喜
暗喜 2020-12-07 15:27

I have applied a shape for a button like:





        
9条回答
  •  醉话见心
    2020-12-07 16:00

    Well I know it's way too late But here is a solved example

     
    

    and my header_text_view_selector

    
    
        
    
            
                
                
                
            
        
        
    
            
                
                
                
            
        
    
    

    So basically i m creating a rounded textview with selector. Here i m handling only state_selected and not_selected. Hope it helps

提交回复
热议问题