How to create custom spinner like border around the spinner with down triangle on the right side?

前端 未结 7 2074
死守一世寂寞
死守一世寂寞 2020-11-30 18:33

I want to develop custom spinner like line around spinner with triangle at right bottom corner.
like following image

7条回答
  •  刺人心
    刺人心 (楼主)
    2020-11-30 19:20

    This is a simple one.

    your_layout.xml

    
    

    In the drawable folder, spinner_background.xml

    
    
      
        
            
                
                
    
                
    
                
                
            
        
        
            
        
      
    
    

    Preview:

提交回复
热议问题