activity_qr.xml
1.86 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
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:background="#F4F6F8"
>
<View
android:id="@+id/view_1"
android:layout_width="match_parent"
android:layout_height="44dp"
app:layout_constraintTop_toTopOf="parent"
android:background="@android:color/white"
/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="扫码登陆"
android:textColor="#333333"
android:textSize="18dp"
app:layout_constraintLeft_toLeftOf="@id/view_1"
app:layout_constraintRight_toRightOf="@id/view_1"
app:layout_constraintTop_toTopOf="@id/view_1"
app:layout_constraintBottom_toBottomOf="@id/view_1"
/>
<ImageView
android:id="@+id/iv_back"
android:layout_width="10dp"
android:layout_height="16dp"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintTop_toTopOf="@id/view_1"
app:layout_constraintBottom_toBottomOf="@id/view_1"
android:layout_marginLeft="15dp"
android:background="@mipmap/icon_back"
/>
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="#EEEEEE"
app:layout_constraintTop_toBottomOf="@id/view_1"
/>
<FrameLayout
android:id="@+id/rl_content"
android:layout_width="match_parent"
android:layout_height="0dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintTop_toBottomOf="@id/view_1"
/>
</androidx.constraintlayout.widget.ConstraintLayout>