-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathP30.xml
More file actions
64 lines (59 loc) · 2.19 KB
/
P30.xml
File metadata and controls
64 lines (59 loc) · 2.19 KB
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
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/white"
tools:context=".Rating">
<RatingBar
android:id="@+id/simpleRatingBar"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:layout_marginTop="60dp"
android:paddingLeft="5dp"
android:paddingRight="1dp"
android:numStars="5"
android:rating="1.5"
android:secondaryProgressTint="#D63333"
android:progressTint="#D63333"
android:progressBackgroundTint="#F4E0E0"
android:stepSize="0.5"
/>
<Button
android:id="@+id/submitButton"
android:layout_width="316dp"
android:layout_height="69dp"
android:layout_alignParentTop="true"
android:layout_centerHorizontal="true"
android:layout_marginTop="187dp"
android:padding="10dp"
android:text="SUBMIT"
android:textSize="20sp"
android:textStyle="bold" />
<RatingBar
android:id="@+id/simpleRating"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:progressBackgroundTint="#C1C0E6"
android:progressTint="#04085E"
android:secondaryProgressTint="#04085E"
android:layout_alignParentTop="true"
android:layout_centerHorizontal="true"
android:layout_marginTop="323dp"
android:numStars="5"
android:paddingLeft="5dp"
android:paddingRight="1dp"
android:rating="1.5" />
<TextView
android:id="@+id/textView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_centerHorizontal="true"
android:layout_marginBottom="136dp"
android:textSize="50dp"
android:textColor="@color/black"
android:text="Rating Bar" />
</RelativeLayout>