Below is my rating bar which I need to reduce its size. Please help me!
<RatingBar
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/ratingBar"
android:numStars="3"
android:stepSize="0.1"
android:isIndicator="true"
android:layout_below="@+id/textView15"
android:layout_alignLeft="@+id/textView15"
android:layout_alignStart="@+id/textView15"
android:layout_alignBottom="@+id/imageView"
android:layout_alignRight="@+id/textView15"
android:layout_alignEnd="@+id/textView15" />
Best Answer
You can apply small Ratingbar style. You can add
style="?android:attr/ratingBarStyleSmall"
inside and check the result.Still if you won't satishfied. You need to set it's height and width using Android styles.
Here is the thread will give you some idea.