-
Notifications
You must be signed in to change notification settings - Fork 142
/
Copy pathfragment_number_of_stars.xml
79 lines (71 loc) · 2.9 KB
/
fragment_number_of_stars.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<?xml version="1.0" encoding="utf-8"?>
<ScrollView
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_horizontal"
android:orientation="vertical"
android:animateLayoutChanges="true"
>
<com.iarcuschin.simpleratingbar.SimpleRatingBar
android:id="@+id/ratingBar1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="8dp"
app:srb_fillColor="@color/material_red300"
app:srb_borderColor="@color/material_red500"
app:srb_pressedFillColor="@color/material_redA200"
app:srb_pressedBorderColor="@color/material_redA400"
app:srb_numberOfStars="5"
/>
<com.iarcuschin.simpleratingbar.SimpleRatingBar
android:id="@+id/ratingBar2"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="8dp"
app:srb_fillColor="@color/material_blue300"
app:srb_borderColor="@color/material_blue500"
app:srb_pressedFillColor="@color/material_blueA200"
app:srb_pressedBorderColor="@color/material_blueA400"
app:srb_numberOfStars="4"
/>
<com.iarcuschin.simpleratingbar.SimpleRatingBar
android:id="@+id/ratingBar3"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="8dp"
app:srb_fillColor="@color/material_green300"
app:srb_borderColor="@color/material_green500"
app:srb_pressedFillColor="@color/material_greenA700"
app:srb_pressedBorderColor="@color/material_green700"
app:srb_numberOfStars="3"
/>
<com.iarcuschin.simpleratingbar.SimpleRatingBar
android:id="@+id/ratingBar4"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="8dp"
app:srb_fillColor="@color/material_amber300"
app:srb_borderColor="@color/material_amber500"
app:srb_pressedFillColor="@color/material_amberA400"
app:srb_pressedBorderColor="@color/material_amberA700"
app:srb_numberOfStars="2"
/>
<com.iarcuschin.simpleratingbar.SimpleRatingBar
android:id="@+id/ratingBar5"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="8dp"
app:srb_fillColor="@color/material_purple300"
app:srb_borderColor="@color/material_purple500"
app:srb_pressedFillColor="@color/material_purpleA200"
app:srb_pressedBorderColor="@color/material_purpleA400"
app:srb_numberOfStars="1"
/>
</LinearLayout>
</ScrollView>