riku
2025-10-17 fbae5f3ea74727ccadc48314a864a1ea0099a945
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
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    xmlns:app="http://schemas.android.com/apk/res-auto"
   >
 
    <!-- TODO: Update blank fragment layout -->
    <android.support.v7.widget.CardView
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:layout_marginTop="120dp"
        android:layout_marginLeft="30dp"
        android:layout_marginRight="30dp"
        android:layout_marginBottom="160dp"
        app:cardElevation="6dp"
        app:cardCornerRadius="6dp">
        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:orientation="vertical">
 
                <ImageView
                    android:id="@+id/iv_user_photo"
                    android:layout_marginTop="12dp"
                    android:layout_width="90dp"
                    android:layout_height="90dp"
                    android:adjustViewBounds="true"
                    android:layout_gravity="center_horizontal"
                    android:src="@drawable/app_icon"/>
                <TextView
                    android:id="@+id/tv_name"
                    android:layout_marginTop="-4dp"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_gravity="center_horizontal"
                    android:text="用户"/>
                <LinearLayout
                   android:layout_weight="1"
                    android:layout_width="match_parent"
                    android:layout_height="0dp"
                    android:paddingBottom="12dp"
                    android:paddingLeft="24dp"
                    android:paddingRight="24dp"
                   android:gravity="center_vertical"
                    android:orientation="vertical">
 
                    <EditText
                        android:id="@+id/et_login_card_name"
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        android:hint="用户名"
                        android:theme="@style/MyEditText"
                        android:imeOptions="actionNext"
                        android:nextFocusForward="@+id/et_login_card_password"
                        android:singleLine="true" />
 
                    <EditText
                        android:id="@+id/et_login_card_password"
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        android:inputType="textPassword"
                        android:theme="@style/MyEditText"
                        android:hint="密码"
                        android:maxLines="1"/>
 
            </LinearLayout>
            <Button
                android:layout_marginTop="8dp"
                android:id="@+id/btn_longin"
                android:layout_width="160dp"
                android:layout_height="54dp"
                android:text="登录"
                android:backgroundTint="@color/lightBlue"
                android:textColor="#FFF"
                android:layout_marginBottom="24dp"
                android:layout_gravity="center_horizontal"/>
        </LinearLayout>
 
    </android.support.v7.widget.CardView>
 
</FrameLayout>