一、源碼方法解讀ide
Set the drawable used for the track that the switch slides within.(設置可用於開關內滑動軌道的圖片)public void setTrackDrawable(Drawable track) 字體
//設置開關的字體圖片
public void setSwitchTypeface(Typeface tf) 源碼