Search code examples
androidkotlinconstraintsratingbar

Can I set the rating bar size to match constraint?


I am finding "solutions" suggesting using the small rating bar style, or to just change the size of the stars with a custom style, but I don't want it to be fixed. I just want the 5 stars bar to match the constraints?


Solution

  • You can use flexible RatingBar FlexibleRatingBar