Ich habe einen RatingBar
Bewertungsleiste Farbdifferenz auf verschiedenen Geräten
<android.support.v7.widget.AppCompatRatingBar
android:id="@+id/rating"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:isIndicator="false"
android:numStars="5"
android:rating="0.0"
android:stepSize="1.0"
android:theme="@style/RatingBar"/>
und Stil:
<style name="RatingBar" parent="Theme.AppCompat">
<item name="colorControlNormal">@color/old_gray</item>
<item name="colorControlActivated">@color/yellow</item>
</style>
Das Problem ist, dass dieser Stil aus irgendwelchen Gründen ignoriert:
Samsu ng S4 API 21:
Meine Tätigkeit ist extends FragmentActivity
vielleicht ist das Problem hier? Wie repariert man?
Creat e custom Bewertungsleiste –
Mögliches Duplikat von [RatingBar Theme funktioniert in Marshmallow, aber nicht in Lollipop] (http://stackoverflow.com/questions/39911082/ratingbar-theme-working-in-marshmallow-but-not-in-lollipop) –