Android Switch

一、源码方法解读ide

Set the drawable used for the track that the switch slides within.(设置可用于开关内滑动轨道的图片)
public void setTrackDrawable(Drawable track) 
字体

//设置开关的字体图片

public void setSwitchTypeface(Typeface tf) 
源码

相关文章
相关标签/搜索