Blame view

GameSDKRelease/res/layout/fragment_login.xml 2.52 KB
f63824b88   赵康   add project
1
2
  <?xml version="1.0" encoding="utf-8"?>
  <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
5b95cccaf   赵康   version 2.0
3
      android:layout_width="match_parent"
f63824b88   赵康   add project
4
5
6
7
      android:layout_height="wrap_content"
      android:scrollbars="none" >
  
      <LinearLayout
5b95cccaf   赵康   version 2.0
8
          android:layout_width="match_parent"
f63824b88   赵康   add project
9
          android:layout_height="wrap_content"
5b95cccaf   赵康   version 2.0
10
          android:background="@drawable/dialog_bg"
f63824b88   赵康   add project
11
12
13
14
15
16
17
18
19
20
21
          android:minWidth="293dp"
          android:orientation="vertical" >
  
          <EditText
              android:id="@+id/username"
              android:layout_width="fill_parent"
              android:layout_height="wrap_content"
              android:layout_marginLeft="13dp"
              android:layout_marginRight="13dp"
              android:layout_marginTop="10dp"
              android:background="@drawable/et_bg"
5b95cccaf   赵康   version 2.0
22
23
              android:hint="@string/user_name_hint"
              android:imeOptions="flagNoExtractUi" />
f63824b88   赵康   add project
24
25
26
27
28
29
30
31
  
          <EditText
              android:id="@+id/password"
              android:layout_width="fill_parent"
              android:layout_height="wrap_content"
              android:layout_marginLeft="13dp"
              android:layout_marginRight="13dp"
              android:layout_marginTop="10dp"
f63824b88   赵康   add project
32
33
              android:background="@drawable/et_bg"
              android:hint="@string/password_hint"
5b95cccaf   赵康   version 2.0
34
              android:imeOptions="flagNoExtractUi"
f63824b88   赵康   add project
35
36
37
38
39
              android:inputType="textPassword" />
  
          <LinearLayout
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
5b95cccaf   赵康   version 2.0
40
              android:layout_marginBottom="10dp"
f63824b88   赵康   add project
41
42
43
44
45
              android:layout_marginTop="13dp"
              android:gravity="center"
              android:orientation="horizontal" >
  
              <Button
5b95cccaf   赵康   version 2.0
46
                  android:id="@+id/login"
f63824b88   赵康   add project
47
48
                  android:layout_width="100dp"
                  android:layout_height="wrap_content"
5b95cccaf   赵康   version 2.0
49
                  android:background="@drawable/btn_orange_bg"
f63824b88   赵康   add project
50
                  android:padding="5dp"
5b95cccaf   赵康   version 2.0
51
                  android:text="@string/login"
f63824b88   赵康   add project
52
53
54
55
                  android:textColor="@android:color/white"
                  android:textSize="16sp" />
  
              <Button
5b95cccaf   赵康   version 2.0
56
                  android:id="@+id/sign_up"
f63824b88   赵康   add project
57
58
                  android:layout_width="100dp"
                  android:layout_height="wrap_content"
5b95cccaf   赵康   version 2.0
59
                  android:layout_marginLeft="13dp"
f63824b88   赵康   add project
60
61
                  android:background="@drawable/btn_white_bg"
                  android:padding="5dp"
5b95cccaf   赵康   version 2.0
62
                  android:text="@string/signup"
f63824b88   赵康   add project
63
64
65
                  android:textColor="@color/black_text"
                  android:textSize="16sp" />
          </LinearLayout>
f63824b88   赵康   add project
66
67
68
      </LinearLayout>
  
  </ScrollView>