Blame view

C5/app/src/main/res/layout/fragment_authorization.xml 2.29 KB
fac86401   孙向锦   初始化C5 Vote
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
  <?xml version="1.0" encoding="utf-8"?>
  <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"
      android:background="@color/green"
      tools:context=".fragments.AuthorizationFragment">
  
      <RelativeLayout
          android:layout_width="match_parent"
          android:layout_height="match_parent">
  
          <TextView
              android:id="@+id/ser"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:layout_centerInParent="true"
              android:text="序列号:2121213121213"
              android:textColor="@color/white"
              android:textSize="@dimen/big_text_p4" />
  
          <TextView
              android:id="@+id/tips"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:layout_above="@id/ser"
              android:layout_centerHorizontal="true"
              android:text="平板未授权,请先解锁"
              android:textColor="@color/white"
              android:textSize="@dimen/big_text_p3" />
  
          <LinearLayout
              android:id="@+id/ser_line"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:layout_below="@id/ser"
              android:layout_centerHorizontal="true">
  
              <EditText
                  android:id="@+id/password"
                  android:layout_width="200dp"
                  android:layout_height="wrap_content"
                  android:textColor="@color/white"
                  android:hint="请输入6位密码"
                  android:textSize="@dimen/big_text_p5"
                  android:inputType="textPassword"/>
  
              <Button
                  android:id="@+id/unlock"
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:layout_marginLeft="20dp"
                  android:layout_toRightOf="@id/ser"
                  android:textColor="@color/white"
                  android:background="@color/blue"
                  android:text="解锁"
                  android:textSize="@dimen/big_text_p5" />
  
          </LinearLayout>
      </RelativeLayout>
  </FrameLayout>