i have implemented android native rating bar but when i set number of star to 10 it will cut from the end of the screen its happening in some devices can anybody help me how can i manage to display 10 star consistently on all mobile devices?
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:custom="http://schemas.android.com/apk/res-auto"
android:orientation="vertical"
android:layout_marginBottom="@dimen/_15sdp"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<TextView
android:id="@+id/tValueLabel"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="@dimen/_5sdp"
android:textSize="@dimen/_11ssp" />
<RatingBar
android:id="@+id/ratingBar"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
style="?android:attr/ratingBarStyleIndicator"
android:isIndicator="false"
android:layout_marginTop="@dimen/_5sdp"
android:stepSize="1.0" />
</LinearLayout>