williamyyu / SimpleRatingBar

A simple RatingBar that you can easier to customize image and animations
MIT License
1.37k stars 152 forks source link

Scrolling works, but clicking does not #95

Open farfalletonde opened 2 years ago

farfalletonde commented 2 years ago

I tried implementing this view. Although scrollable attribute works, clicking does not seem to work on my project. (I am using the latest version) This is my code:

    <com.willy.ratingbar.ScaleRatingBar
            android:id="@+id/rating"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            app:srb_drawableEmpty="@drawable/ic_star_empty"
            app:srb_drawableFilled="@drawable/ic_star_full"
            app:srb_clickable="true"
            app:srb_scrollable="true"
            app:srb_isIndicator="false"
            app:srb_numStars="5" />