-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathactivity_main27.xml
90 lines (83 loc) · 3.52 KB
/
activity_main27.xml
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
<?xml version="1.0" encoding="utf-8"?>
<ScrollView
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_height="fill_parent"
android:layout_width="fill_parent"
android:fillViewport="true">
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context="com.example.sony.citybusmanagement.MainActivity27"
>
<LinearLayout
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/line2"
android:gravity="center"
android:layout_below="@+id/line1"
android:background="#696969">
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/reqgreen"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center"
android:text="Admin! Please enter your username and password"
android:textSize="20dp"
android:textColor="#ffffff"
android:layout_gravity="center"/>
<EditText
android:inputType="text"
android:id="@+id/ed1"
android:background="@drawable/text_field"
android:singleLine="true"
android:imeOptions="actionNext"
android:layout_marginTop="10dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:hint="Username"
android:gravity="center"
android:layout_gravity="center"
android:ems="10"/>
<EditText
android:inputType="textPassword"
android:id="@+id/ed2"
android:background="@drawable/text_field"
android:singleLine="true"
android:imeOptions="actionDone"
android:layout_marginTop="10dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:hint="Password"
android:gravity="center"
android:layout_gravity="center"
android:ems="10"
/>
<CheckBox
android:layout_marginTop="10dp"
android:gravity="center"
android:layout_gravity="center"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/cbx1"
android:textColor="#7fffd4"
android:text="Show Password"
/>
<Button
android:id="@+id/btn1"
android:background="@drawable/button_ripple"
android:layout_marginTop="20dp"
android:text="Login"
android:textAllCaps="false"
android:textColor="#ffffff"
android:layout_width="150dp"
android:layout_height="50dp"
android:layout_gravity="center"/>
</LinearLayout>
</RelativeLayout>
</ScrollView>