fragment_access_code_login.xml
6.25 KB
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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".fragments.loginfrag.AccessCodeLoginFrag">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<ImageView
android:id="@+id/logo_img"
android:layout_width="@dimen/oneHundred_twenty_width"
android:layout_height="@dimen/oneHundred_twenty_height"
android:layout_centerHorizontal="true"
android:layout_gravity="center_horizontal"
android:layout_marginTop="120dp"
android:src="@drawable/logo" />
<TextView
android:id="@+id/text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/logo_img"
android:layout_centerHorizontal="true"
android:layout_gravity="center_horizontal"
android:layout_marginTop="50dp"
android:text="@string/login_bold_txt"
android:textColor="@color/whitecolor"
android:textSize="@dimen/twentyText_size" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/text"
android:layout_gravity="center"
android:layout_marginBottom="@dimen/layout_marginBottom_ten"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="@dimen/oneHundred_twenty_height"
android:layout_marginStart="@dimen/layout_marginStart_sixty"
android:layout_marginTop="@dimen/layout_marginTop_twenty"
android:layout_marginEnd="@dimen/layout_marginEnd_sixty"
android:background="@drawable/white_cornor_bg"
android:orientation="vertical">
<EditText
android:id="@+id/user_id_editxt"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:background="@color/transparent"
android:hint="@string/user_ui_txt"
android:inputType="textAutoComplete"
android:maxLines="1"
android:paddingStart="@dimen/padding_start_fifteen"
android:textColor="@color/textcolor"
android:textColorHint="@color/textcolor"
android:textSize="@dimen/fifteenText_size" />
<View
android:layout_width="match_parent"
android:layout_height="@dimen/one_height"
android:background="@color/gray" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:orientation="horizontal">
<EditText
android:id="@+id/password_edit_txt"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="@color/transparent"
android:hint="@string/password_txt"
android:inputType="textPassword"
android:maxLines="1"
android:paddingStart="@dimen/fifteenText_size"
android:textColor="@color/textcolor"
android:textColorHint="@color/textcolor"
android:textSize="@dimen/fifteenText_size" />
<ImageView
android:id="@+id/hide_eye_img"
android:layout_width="@dimen/thirtyFive_width"
android:layout_height="match_parent"
android:padding="@dimen/padding_eight"
android:src="@drawable/icon_eye_slash"
android:tint="@color/textcolor" />
<ImageView
android:id="@+id/open_eye_img"
android:layout_width="@dimen/thirtyFive_width"
android:layout_height="match_parent"
android:padding="@dimen/padding_eight"
android:src="@drawable/ic_remove_red_eye_black_24dp"
android:tint="@color/textcolor"
android:visibility="gone" />
</LinearLayout>
<ImageView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="centerCrop"
android:visibility="gone"
android:src="@mipmap/bg" />
</LinearLayout>
<TextView
android:id="@+id/forgetPasswordBtn"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginEnd="@dimen/layout_marginEnd_sixty"
android:gravity="end"
android:text="@string/forget_password"
android:textColor="@color/whitecolor"
android:textSize="16dp" />
<TextView
android:id="@+id/login_text"
android:layout_width="match_parent"
android:layout_height="@dimen/fifty_height"
android:layout_marginStart="@dimen/layout_marginStart_sixty"
android:layout_marginTop="@dimen/layout_marginTop_twenty"
android:layout_marginEnd="@dimen/layout_marginEnd_sixty"
android:background="@drawable/yellow_bg"
android:gravity="center"
android:text="@string/login_txt"
android:textColor="@color/whitecolor"
android:textSize="@dimen/fourteenText_size" />
</LinearLayout>
</RelativeLayout>
</FrameLayout>