-
Notifications
You must be signed in to change notification settings - Fork 18
/
activity_login.xml
99 lines (89 loc) · 4.83 KB
/
activity_login.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
91
92
93
94
95
96
97
98
99
<?xml version="1.0" encoding="utf-8"?>
<layout xmlns:tools="http://schemas.android.com/tools" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
>
<LinearLayout
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:layout_constraintTop_toTopOf="parent"
android:layout_marginTop="@dimen/twenty_four_sp"
app:layout_constraintStart_toStartOf="parent"
android:layout_marginStart="@dimen/ll_margin"
app:layout_constraintEnd_toEndOf="parent"
android:layout_marginEnd="@dimen/text_input_spacing"
android:layout_marginBottom="@dimen/text_input_spacing"
android:padding="@dimen/ll_margin" app:layout_constraintHorizontal_bias="1.0"
app:layout_constraintVertical_bias="0.725">
<ImageView
android:layout_width="167dp"
android:layout_height="107dp"
app:srcCompat="@drawable/mifos_logo"
android:id="@+id/imageView"
android:layout_weight="1"
android:contentDescription="@string/to"/>
<ImageView
android:layout_width="185dp"
android:layout_height="130dp"
app:srcCompat="@drawable/ppi_logo"
android:id="@+id/imageView2"
android:layout_weight="1"
android:contentDescription="@string/to"/>
</LinearLayout>
<LinearLayout
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="@dimen/ll_margin"
android:layout_marginBottom="@dimen/ll_margin"
android:layout_marginEnd="@dimen/ll_margin"
android:layout_marginLeft="@dimen/ll_margin"
android:layout_marginRight="@dimen/ll_margin"
android:layout_marginTop="@dimen/ll_margin"
android:layout_marginStart="@dimen/ll_margin"
android:clipToPadding="false"
android:paddingBottom="@dimen/text_input_spacing">
<com.google.android.material.textfield.TextInputLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<com.google.android.material.textfield.TextInputEditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/input_username" android:id="@+id/et_username"
android:singleLine="true"
android:layout_marginBottom="@dimen/text_input_spacing"/>
<com.google.android.material.textfield.TextInputLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
app:passwordToggleEnabled="true">
<com.google.android.material.textfield.TextInputEditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/input_password"
android:layout_marginBottom="@dimen/text_input_spacing"
android:id="@+id/et_password"
android:inputType="textPassword"/>
</com.google.android.material.textfield.TextInputLayout>
</com.google.android.material.textfield.TextInputLayout>
<Button
android:text="@string/login_btn_text"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/login_btn"
android:alpha="0.5"
android:enabled="false"
android:layout_marginTop="@dimen/ll_margin"
android:paddingLeft="@dimen/text_input_spacing"
android:paddingRight="@dimen/text_input_spacing"
android:paddingStart="@dimen/text_input_spacing"
android:paddingEnd="@dimen/text_input_spacing"
android:layout_marginLeft="@dimen/text_input_spacing"
android:layout_marginRight="@dimen/text_input_spacing"
style="@style/Button"/>
</LinearLayout>
</LinearLayout>
</layout>