android之Switch开关

一、更改系统样式

    

Switch有两个属性thumb(按钮背景)和track(开关背景)

checkbox_style_background.xml



    

    

switch_background.xml



    
    

switch_on_background.xml



    

    

switch_off_background.xml



    

    

 

你可能感兴趣的:(android)