panpf / switch-button

SwitchButton 是 Android 上的一个开关按钮控件 【Deprecated】【Stop maintenance】
330 stars 133 forks source link

这个按钮怎么单独拿出来啊 #7

Closed lmdiloveu closed 7 years ago

lmdiloveu commented 8 years ago
直接在布局里面用,是包含左边的文字的,现在不需要文字,想直接用按钮就行,提供按钮切换监听即可
panpf commented 8 years ago

文字是CompoundButton的属性 你看下CompoundButton的API怎么去掉

wisdomcai commented 7 years ago

我导入的时候报错Error:(31, 13) Failed to resolve: me.xiaopan:switchbutton:lastVersionName,这是啥意思

panpf commented 7 years ago

lastVersionName要替换成真实的版本号

wisdomcai commented 7 years ago

谢谢,已经用上了

2017-03-03


wisdomcai


发件人:Flyge notifications@github.com 发送时间:2017-03-03 16:36 主题:Re: [xiaopansky/SwitchButton] 这个按钮怎么单独拿出来啊 (#7) 收件人:"xiaopansky/SwitchButton"SwitchButton@noreply.github.com 抄送:"wisdomcai"wisdomcai@outlook.com,"Comment"comment@noreply.github.com

Closed #7https://github.com/xiaopansky/SwitchButton/issues/7.

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/xiaopansky/SwitchButton/issues/7#event-985022041, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AX6OG6vHsnbTlaG6Us7N_K49RUHsx4A4ks5rh9EOgaJpZM4Jqvou.

wisdomcai commented 7 years ago

如何把switchbutton的字体居中显示啊

2017-03-07


wisdomcai


发件人:Flyge notifications@github.com 发送时间:2017-03-03 16:35 主题:Re: [xiaopansky/SwitchButton] 这个按钮怎么单独拿出来啊 (#7) 收件人:"xiaopansky/SwitchButton"SwitchButton@noreply.github.com 抄送:"wisdomcai"wisdomcai@outlook.com,"Comment"comment@noreply.github.com

lastVersionName要替换成真实的版本号

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/xiaopansky/SwitchButton/issues/7#issuecomment-283896744, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AX6OG6_0p2-37ef3xzOOgfOjxg9u-xM2ks5rh9DUgaJpZM4Jqvou.