罗明文
2024-06-16 9673bcd57c6100ad9fdfbee728ef078104511fc1
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:background="@color/page_bg"
    android:layout_height="match_parent">
 
    <androidx.constraintlayout.widget.Guideline
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:id="@+id/guide1"
        android:orientation="vertical"
        app:layout_constraintGuide_percent="0.268"/>
 
    <androidx.constraintlayout.widget.Guideline
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:id="@+id/guide2"
        android:orientation="vertical"
        app:layout_constraintGuide_percent="0.7"/>
    <View
        android:layout_width="0dp"
        android:layout_height="match_parent"
        android:background="@color/colorPrimary"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintEnd_toStartOf="@id/guide1"/>
    <ImageView
        android:id="@+id/iv_1"
        android:layout_width="wrap_content"
        android:src="@mipmap/logo_home"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintEnd_toStartOf="@id/guide1"
        android:layout_height="wrap_content"
        app:layout_constraintTop_toTopOf="parent"
        android:layout_marginTop="40dp"/>
    <TextView
        android:id="@+id/tv_1"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="欢迎使用海豚英语!"
        android:textColor="@color/white"
        android:textStyle="bold"
        android:textSize="25sp"
        android:layout_marginTop="17dp"
        app:layout_constraintTop_toBottomOf="@id/iv_1"
        app:layout_constraintStart_toStartOf="parent"
        android:layout_marginStart="18dp"/>
 
    <TextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="海豚英语学习体系"
        android:textColor="@color/white"
        android:textSize="20sp"
        android:alpha="0.8"
        android:layout_marginTop="12dp"
        app:layout_constraintTop_toBottomOf="@id/tv_1"
        app:layout_constraintStart_toStartOf="parent"
        android:layout_marginStart="18dp"/>
 
    <LinearLayout
        android:layout_width="0dp"
        android:layout_height="match_parent"
        android:orientation="vertical"
        app:layout_constraintStart_toEndOf="@id/guide2"
        app:layout_constraintEnd_toEndOf="parent"
        android:layout_marginTop="48dp"
        android:layout_marginBottom="36dp"
        android:layout_marginStart="54dp"
        android:layout_marginEnd="30dp"
        android:background="@drawable/bg_gradient_main">
        <androidx.recyclerview.widget.RecyclerView
            android:layout_width="match_parent"
            android:layout_height="0dp"
            android:id="@+id/rv_menu"
            android:layout_weight="1"/>
        <ImageView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:src="@mipmap/abc"
            android:layout_gravity="center"
            android:layout_marginBottom="31dp"/>
    </LinearLayout>
    <ImageView
        android:layout_width="wrap_content"
        android:layout_height="match_parent"
        android:src="@mipmap/line_virtical"
        app:layout_constraintTop_toTopOf="parent"
        android:layout_marginTop="48dp"
        android:layout_marginBottom="36dp"
        app:layout_constraintBottom_toBottomOf="parent"
        android:scaleType="center"
        app:layout_constraintEnd_toStartOf="@id/guide2"/>
    <LinearLayout
        android:layout_width="0dp"
        android:layout_height="88dp"
        android:id="@+id/cl_listen"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintStart_toEndOf="@id/guide1"
        android:layout_marginStart="33dp"
        android:layout_marginEnd="55dp"
        android:layout_marginBottom="38dp"
        app:layout_constraintEnd_toStartOf="@id/guide2">
        <RelativeLayout
            android:layout_width="99dp"
            android:orientation="vertical"
            android:background="@drawable/bg_listen"
            android:layout_height="match_parent">
            <TextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_centerInParent="true"
                android:text="第一年"
                android:gravity="center"
                android:drawableTop="@mipmap/erji"
                android:drawablePadding="6dp"
                android:textColor="@color/textColor"
                android:textStyle="bold"
                android:textSize="16sp"/>
        </RelativeLayout>
        <TextView
            android:text="听"
            android:textColor="@color/textColor"
            android:textStyle="bold"
            android:textSize="24sp"
            android:gravity="center"
            android:background="@drawable/bg_white_end_14"
            android:layout_width="match_parent"
            android:layout_height="match_parent"/>
    </LinearLayout>
    <ImageView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:src="@mipmap/arrow_up"
        app:layout_constraintBottom_toTopOf="@id/cl_listen"
        app:layout_constraintStart_toStartOf="@id/cl_listen"
        android:layout_marginBottom="8dp"
        android:layout_marginStart="40dp"/>
</androidx.constraintlayout.widget.ConstraintLayout>