2016-02-06 49 views
5

我正在開發一個應用程序,可以發佈兩種問題。切換視圖,我需要在頂部的開關按鈕。我需要幫助來定製我的開關按鈕,像下面的圖像。Android開關按鈕定製設計

Switch Button

+2

[如何自定義切換按鈕?](http://stackoverflow.com/questions/23358822/how-to-custom-switch-button) –

+0

通過此鏈接http://stackoverflow.com/問題/ 23358822 /如何自定義切換按鈕,以及http://custom-android-dn.blogspot.in/2013/01/how-to-use-and-custom-switch-in-android.html –

+0

感謝您的回覆。謝謝 –

回答

1

我用gihub庫下面這種類型的按鈕

https://github.com/kyleduo/SwitchButton

優勢:

  • 定製按顏色你想
  • 與開關好的動畫按鈕
+1

感謝隊友,工作awsm ... –

+0

如果它可以幫助你把它標記爲接受 –