Blame view

android/GameSDKRelease/res/layout/fragment_login.xml 2.62 KB
d1bf9b48f   赵康   add required reso...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
  <?xml version="1.0" encoding="utf-8"?>
  <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:scrollbars="none" >
  
      <LinearLayout
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:background="@drawable/dialog_bg"
          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"
              android:hint="@string/user_name_hint"
508fb0528   赵康   upgrade to versio...
23
24
              android:imeOptions="flagNoExtractUi"
              android:textColor="@color/black_text" />
d1bf9b48f   赵康   add required reso...
25
26
27
28
29
30
31
32
33
34
35
  
          <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"
              android:background="@drawable/et_bg"
              android:hint="@string/password_hint"
              android:imeOptions="flagNoExtractUi"
508fb0528   赵康   upgrade to versio...
36
37
              android:inputType="textPassword"
              android:textColor="@color/black_text" />
d1bf9b48f   赵康   add required reso...
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
  
          <LinearLayout
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:layout_marginBottom="10dp"
              android:layout_marginTop="13dp"
              android:gravity="center"
              android:orientation="horizontal" >
  
              <Button
                  android:id="@+id/login"
                  android:layout_width="100dp"
                  android:layout_height="wrap_content"
                  android:background="@drawable/btn_orange_bg"
                  android:padding="5dp"
                  android:text="@string/login"
                  android:textColor="@android:color/white"
                  android:textSize="16sp" />
  
              <Button
                  android:id="@+id/sign_up"
                  android:layout_width="100dp"
                  android:layout_height="wrap_content"
                  android:layout_marginLeft="13dp"
                  android:background="@drawable/btn_white_bg"
                  android:padding="5dp"
                  android:text="@string/signup"
                  android:textColor="@color/black_text"
                  android:textSize="16sp" />
          </LinearLayout>
      </LinearLayout>
  
  </ScrollView>