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

How to disable half punctuations? #88

Closed
vinchenson opened this issue Aug 21, 2020 · 1 comment
Closed

How to disable half punctuations? #88

vinchenson opened this issue Aug 21, 2020 · 1 comment

Comments

@vinchenson
Copy link

Hello, how can I set the ratingbar so it only lets users to select raw 1,2,3,4,5 stars instead of 1 and a half, two and a half, etc?

Thanks!

@williamyyu
Copy link
Owner

Hi @vinchenson,

Please use the following code snippet
app:srb_stepSize="1" or ratingBar.setStepSize(1f);

You can find these attrs descriptions in README.

Cheers

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