summaryrefslogtreecommitdiff
path: root/client/Piztor/res/layout/activity_login.xml
blob: 0d9204365e8fcb88eb4f06c9eb81dc07bc875c9c (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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content" >
<RelativeLayout 
    android:orientation="vertical" 
    android:id="@+id/login_layout"
    android:background="@android:color/black" 
    android:layout_width="fill_parent" 
    android:layout_height="fill_parent">

    
    <LinearLayout
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:background="@android:color/black"
    android:gravity="center_horizontal"
    android:orientation="vertical" 
    android:layout_marginTop="16dip">
    
    <ImageView
        android:id="@+id/login_img"
        android:layout_width="180dp"
        android:layout_height="200dp"
        android:layout_gravity="center_horizontal"
        android:src="@drawable/title_logo" />
    <TextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_gravity="center"
        android:gravity="center"
        android:id="@+id/login_app_name"
        android:text="@string/app_name"
        android:textSize="30dip"
        android:textColor="#FFFFFF"/>

    </LinearLayout>

    <LinearLayout 
        android:orientation="vertical" 
        android:id="@+id/user_layout" 
        android:layout_width="fill_parent" 
        android:layout_height="wrap_content" 
        android:layout_marginTop="260.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="40.0dip" 
        android:text="@string/login"    
        android:layout_below="@id/user_layout" />
    
</RelativeLayout>
</ScrollView>