summaryrefslogtreecommitdiff
path: root/client/Piztor/res/layout/activity_login.xml
blob: c408a1d78f0110b8fc64d1b220ca0046b53774c1 (plain) (blame)
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
<RelativeLayout 
    android:orientation="vertical" 
    android:id="@+id/login_layout"
    android:background="@android:color/black" 
    android:layout_width="fill_parent" 
    android:layout_height="fill_parent"
    xmlns:android="http://schemas.android.com/apk/res/android">

    
    <LinearLayout
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:background="@android:color/black"
    android:gravity="center_horizontal"
    android:orientation="vertical" >
    
    <ImageView
        android:id="@+id/main_headbar_img"
        android:layout_width="180dp"
        android:layout_height="190dp"
        android:layout_gravity="center_horizontal"
        android:src="@drawable/title_logo" />
    </LinearLayout>

    <LinearLayout 
        android:orientation="vertical" 
        android:id="@+id/user_layout" 
        android:layout_width="fill_parent" 
        android:layout_height="wrap_content" 
        android:layout_marginTop="200.0dip" 
        android:layout_marginLeft="28.0dip" 
        android:layout_marginRight="28.0dip">
        <EditText 
            android:textSize="16.0sp" 
            android:textColor="@android:color/white"
            android:textColorHint="#ff666666" 
            android:id="@+id/user_id" 
            android:background="#00ffffff" 
            android:paddingLeft="12.0dip" 
            android:layout_width="fill_parent" 
            android:layout_height="44.0dip" 
            android:hint="@string/username"
            android:maxLines="1" 
            android:maxLength="16"/>
        <View 
            android:background="#ffc0c3c4" 
            android:layout_width="fill_parent" 
            android:layout_height="1.0px" 
            android:layout_marginLeft="1.0px" 
            android:layout_marginRight="1.0px" />
        <EditText 
            android:textSize="16.0sp" 
            android:textColor="@android:color/white" 
            android:textColorHint="#ff666666"
            android:gravity="center_vertical" 
            android:id="@+id/user_pass" 
            android:background="#00ffffff" 
            android:paddingLeft="12.0dip" 
            android:layout_width="fill_parent" 
            android:layout_height="44.0dip" 
            android:hint="@string/password" 
            android:maxLines="1" 
            android:maxLength="16" 
            android:inputType="textPassword" />
    </LinearLayout>
    

    <Button 
        android:textSize="18.0sp" 
        android:textColor="#ff333333" 
        android:gravity="center" 
        android:id="@+id/login_btn_login"
        android:paddingTop="5.0dip" 
        android:layout_width="fill_parent"
        android:layout_height="wrap_content" 
        android:layout_marginLeft="70.0dip"
        android:layout_marginRight="70.0dip" 
        android:layout_marginTop="12.0dip" 
        android:text="@string/login"    
        android:layout_below="@id/user_layout" />
    
</RelativeLayout>