FlyingPumba / SimpleRatingBar

Open source project which features a simple yet powerful RatingBar alternative to Android's default
Apache License 2.0
1.03k stars 142 forks source link

app:interaction Not working #29

Closed raiarainne closed 6 years ago

raiarainne commented 6 years ago

I have tried to make non clickable. So i have done as following.

<com.iarcuschin.simpleratingbar.SimpleRatingBar android:layout_width="wrap_content" android:layout_height="wrap_content" android:id="@+id/rating" app:srb_starSize="25dp" app:srb_numberOfStars="5" app:srb_isIndicator="false" app:srb_rating="3" app:srb_stepSize="0.5" app:srb_borderColor="@color/colorPrimary" app:srb_fillColor="@color/colorPrimary" />

But the rating bar is always clickable though i set " app:srb_isIndicator="false"" How can i solve this issue ?

raiarainne commented 6 years ago

Thank you for your answer. I have been replaced it I found my issue and solved it. Sorry for my misundersting.

joyceHong0524 commented 4 years ago

Just for the random people who faced same problem.

How to use isInidicator property.

Set it to true if you want to disable user interaction Set it to false if you want to allow user interaction (this is the default value).