register_grade_activity.xml
2.92 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
65
66
67
68
69
70
71
72
73
74
75
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout 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="@drawable/login_bg"
android:gravity="center"
tools:context="com.studymachine.www.ui.activity.RegisterGradeActivity">
<LinearLayout
android:layout_width="@dimen/dp_300"
android:layout_height="@dimen/dp_288"
android:layout_gravity="center"
android:background="@drawable/kuang"
android:clipToPadding="false"
android:layoutAnimation="@anim/layout_fall_down"
android:orientation="vertical"
android:paddingHorizontal="@dimen/dp_39"
tools:layoutAnimation="@null">
<androidx.appcompat.widget.AppCompatTextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_marginTop="@dimen/dp_30"
android:text="@string/register_info_title"
android:textColor="@color/white"
android:textSize="@dimen/sp_14" />
<androidx.appcompat.widget.AppCompatTextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/dp_18"
android:text="@string/register_info_desc"
android:textColor="@color/white"
android:textSize="@dimen/sp_11" />
<androidx.appcompat.widget.AppCompatTextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/dp_9"
android:text="@string/register_info_grade"
android:textColor="@color/white50"
android:textSize="@dimen/sp_11" />
<FrameLayout
android:layout_width="match_parent"
android:layout_height="0px"
android:layout_weight="1">
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/grade_rv"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:layoutManager="androidx.recyclerview.widget.GridLayoutManager"
tools:listitem="@layout/radio_item"
app:spanCount="3"/>
</FrameLayout>
<androidx.appcompat.widget.AppCompatButton
android:id="@+id/btn_register_commit"
style="@style/LoginButtonStyle"
android:enabled="false"
android:layout_width="@dimen/dp_220"
android:layout_height="@dimen/dp_35"
android:layout_marginTop="@dimen/dp_30"
android:layout_marginBottom="@dimen/dp_35"
android:text="@string/common_step_next" />
</LinearLayout>
</LinearLayout>