Yellow RatingBar

This commit is contained in:
seven332 committed 2018-10-19 21:12:32 +08:00
1 parent 111025cb98
commit 8b07cf62a9
3 files changed
+8 -2

No files matched your search

+2 -1
View File
@@ -35,6 +35,7 @@
android:id="@+id/rating_view"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"/>
android:layout_gravity="center_horizontal"
android:theme="@style/RatingBarTheme"/>
</LinearLayout>
@@ -128,7 +128,8 @@
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:layout_gravity="center_horizontal"
android:isIndicator="true"/>
android:isIndicator="true"
android:theme="@style/RatingBarTheme"/>
<TextView
android:id="@+id/rating_text"
+4
View File
@@ -166,4 +166,8 @@
<item name="colorAccent">@android:color/white</item>
</style>
<style name="RatingBarTheme" parent="Theme.AppCompat">
<item name="colorControlActivated">@color/yellow_800</item>
</style>
</resources>