Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't set switch color #8

Closed
kaleai opened this issue Jan 18, 2015 · 2 comments
Closed

Can't set switch color #8

kaleai opened this issue Jan 18, 2015 · 2 comments

Comments

@kaleai
Copy link

kaleai commented Jan 18, 2015

Thanks for your lib.I set thumbColor to MD switch button,it can't work.

<com.kyleduo.switchbutton.SwitchButton
    android:id="@+id/sb_md"
    style="@style/MaterialDesignStyle" 
    app:onColor="#ff0000"/>
@kyleduo
Copy link
Owner

kyleduo commented Jan 19, 2015

Thanks for using.

This mov shows how to customize SwitchButton with different colors. For
thumbColor, you need to use app:thumbColor and thumbPressedColor for
pressed status.

Have fun.

2015-01-18 10:00 GMT+08:00 Kale notifications@github.com:

Thanks for your lib.I set thumbColor to MD switch button,it can't work.

<com.kyleduo.switchbutton.SwitchButton
android:id="@+id/sb_md"
style="@style/MaterialDesignStyle"
app:onColor="#ff0000"/>


Reply to this email directly or view it on GitHub
#8.

@kaleai
Copy link
Author

kaleai commented Jan 19, 2015

Thanks,I'll close this issue.

@kaleai kaleai closed this as completed Jan 19, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants