SimpleRatingBar
SimpleRatingBar copied to clipboard
A simple RatingBar that you can easier to customize image and animations
I am trying to show it in a RecyclerView as a view (not editable) but its not working , i tried those attributes but none of them worked android:focusable="false" android:clickable="false"...
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:
Hello again, I have this code on a dialog fragment: ScaleRatingBar ratingBar = new ScaleRatingBar(requireContext()); ratingBar.setNumStars(5); ratingBar.setMinimumStars(1); ratingBar.setRating(3); ratingBar.setStarPadding(5); ratingBar.setStepSize(0.5f); ratingBar.setStarWidth(105); ratingBar.setStarHeight(105); ratingBar.setIsIndicator(false); ratingBar.setClickable(true); ratingBar.setScrollable(true); ratingBar.setClearRatingEnabled(false); ratingBar.setEmptyDrawableRes(R.drawable.new_star_empty); ratingBar.setFilledDrawableRes(R.drawable.new_star_full); ratingBar.setOnRatingChangeListener(new BaseRatingBar.OnRatingChangeListener()...
when swiping on rating control with RTL screen the behaviour is not performing correctly as LTR screen
android:rating="@={estimateViewModel.rating}" [kapt] An exception occurred: android.databinding.tool.util.LoggedErrorException: Found data binding errors. ****/ data binding error ****msg:Cannot find the getter for attribute 'android:rating' with value type java.lang.Float on com.willy.ratingbar.ScaleRatingBar.
I've a lot of issue reports on firebase saying Fatal Exception: android.view.InflateException Binary XML file line #88: Error inflating class com.willy.ratingbar.ScaleRatingBar android.view.LayoutInflater.createView android version:5 device type: Vivo the only thing...
I have a layout view like this: ``` XML ``` At design-time it shows perfectly:  but at runtime, the stars arrange without considering the `starPadding` property and they stretch...
目前的srb_starPadding一旦设置,第一颗行星的左边和上面也会加上padding 不知道我的理解对不对,应该是下面这段代码负责,我尝试重写,但却失败了 (com.willy.ratingbar.BaseRatingBar) @Override public void setStarPadding(int ratingPadding) { if (ratingPadding < 0) { return; } mPadding = ratingPadding; for (PartialView partialView : mPartialViews) { partialView.setPadding(mPadding, mPadding, mPadding, mPadding); }...
while scrolling rating is not displaying stars are fade i want to display no of star and rating programatically in adapter like.. from response if i am getting 3 value...