Yellow RatingBar
This commit is contained in:
1 parent
111025cb98
commit
8b07cf62a9
3 files changed
+8
-2
No files matched your search
@@ -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"
|
||||
|
||||
@@ -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>
|
||||
Reference in new issue
Block a user