Android switches - making thumb height larger than track height, how?

后端 未结 4 1365
北荒
北荒 2020-12-18 03:53

Is there any way to make the height of the thumb of a switch bigger than the track height in Android versions prior to Lollipop ?

I am essentially trying to create a

4条回答
  •  长情又很酷
    2020-12-18 04:57

    I added a transparent stroke to my track drawable shape which results in a padding around the track:

    
    
        
        
        
    
        
        
    
    

提交回复
热议问题