mercredi 13 mai 2015

RatingBar stars shows weird effect

I am using rating bar to show movie rating in my app. Placed rating bar like this in my layout file:

               <RatingBar
                android:id="@+id/RatingBar"
                style="@style/MicRatingBar"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginBottom="10dp"
                android:layout_marginTop="2dp"
                android:layout_toRightOf="@+id/movie_img"
                android:isIndicator="true"
                android:numStars="5"
                android:rating="3.0"
                android:stepSize="1"
                android:textColor="@drawable/button_text" />

In the style part, I've assigned it minHeight and maxHeight 9dp which reduce the weird but not completely gone. My rating bar look like this. what is these lines. please help. thanks in advance.

enter image description here

Aucun commentaire:

Enregistrer un commentaire