【问题标题】:how to customize toggle button with three options android如何使用三个选项android自定义切换按钮
【发布时间】:2019-03-21 11:36:52
【问题描述】:

我尝试用三个选项制作自定义开关,如何使它像这张图片

【问题讨论】:

    标签: android switch-statement togglebutton


    【解决方案1】:

    在此处查看此帖子:Multi-State Toggle Button

    有两种解决方案:

    1.使用库 - 可能无法适应您的图像要求。

    2。扩展 ImageButton - 看起来相当简单,可能对你有用。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-06-15
      • 2013-08-22
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-10-26
      相关资源
      最近更新 更多