|
5 | 5 | android:id="@+id/mainView" |
6 | 6 | android:layout_width="match_parent" |
7 | 7 | android:layout_height="match_parent" |
8 | | - android:background="#F1F1F1" |
9 | 8 | android:orientation="vertical" |
10 | 9 | tools:context=".MainActivity"> |
11 | 10 |
|
|
22 | 21 | android:id="@+id/gender" |
23 | 22 | android:layout_width="match_parent" |
24 | 23 | android:layout_height="wrap_content" |
| 24 | + app:form_textColor="@color/input_text_color" |
| 25 | + app:form_textColorLabel="@color/input_text_color" |
25 | 26 | app:form_array="@array/array_gender" |
26 | 27 | app:form_hint="Select gender" |
27 | 28 | app:form_label="Gender" |
28 | 29 | app:form_showLabel="false" |
29 | | - app:form_textColor="@color/colorGrey" /> |
| 30 | + /> |
30 | 31 |
|
31 | 32 |
|
32 | 33 | <com.omarshehe.forminputkotlin.FormInputAutoComplete |
33 | 34 | android:id="@+id/country" |
34 | 35 | android:layout_width="match_parent" |
35 | 36 | android:layout_height="wrap_content" |
36 | 37 | android:layout_marginTop="16dp" |
| 38 | + app:form_textColor="@color/input_text_color" |
| 39 | + app:form_textColorLabel="@color/input_text_color" |
37 | 40 | app:form_array="@array/array_country" |
38 | 41 | app:form_height="@dimen/formInputInput_box_height" |
39 | 42 | app:form_hint="Your country" |
|
47 | 50 | android:layout_width="match_parent" |
48 | 51 | android:layout_height="wrap_content" |
49 | 52 | android:layout_marginTop="16dp" |
| 53 | + app:form_textColor="@color/input_text_color" |
| 54 | + app:form_textColorLabel="@color/input_text_color" |
50 | 55 | app:form_hint="Your portfolio" |
51 | 56 | app:form_inputType="url" |
52 | 57 | app:form_label="Portfolio" /> |
|
56 | 61 | android:layout_width="match_parent" |
57 | 62 | android:layout_height="wrap_content" |
58 | 63 | android:layout_marginTop="16dp" |
| 64 | + app:form_textColor="@color/input_text_color" |
| 65 | + app:form_textColorLabel="@color/input_text_color" |
59 | 66 | app:form_hint="Your full name" |
60 | 67 | app:form_inputType="text" |
61 | 68 | app:form_label="Full Name" /> |
|
66 | 73 | android:layout_width="match_parent" |
67 | 74 | android:layout_height="wrap_content" |
68 | 75 | android:layout_marginTop="16dp" |
| 76 | + app:form_textColor="@color/input_text_color" |
| 77 | + app:form_textColorLabel="@color/input_text_color" |
69 | 78 | app:form_array="@array/array_currency" |
70 | 79 | app:form_hint="Enter Price" |
71 | 80 | app:form_inputType="number" |
|
76 | 85 | android:layout_width="match_parent" |
77 | 86 | android:layout_height="wrap_content" |
78 | 87 | android:layout_marginTop="16dp" |
| 88 | + app:form_textColor="@color/input_text_color" |
| 89 | + app:form_textColorLabel="@color/input_text_color" |
79 | 90 | app:form_hint="Your phone number" |
80 | 91 | app:form_inputType="phoneNumber" |
81 | 92 | app:form_isMandatory="false" |
|
86 | 97 | android:layout_width="match_parent" |
87 | 98 | android:layout_height="wrap_content" |
88 | 99 | android:layout_marginTop="16dp" |
| 100 | + app:form_textColor="@color/input_text_color" |
| 101 | + app:form_textColorLabel="@color/input_text_color" |
89 | 102 | app:form_hint="Your ID number" |
90 | 103 | app:form_inputType="number" |
91 | 104 | app:form_isMandatory="false" |
|
97 | 110 | android:layout_width="match_parent" |
98 | 111 | android:layout_height="wrap_content" |
99 | 112 | android:layout_marginTop="16dp" |
| 113 | + app:form_textColor="@color/input_text_color" |
| 114 | + app:form_textColorLabel="@color/input_text_color" |
100 | 115 | app:form_height="130dp" |
101 | 116 | app:form_hint="About you" |
102 | 117 | app:form_label="About you" |
|
108 | 123 | android:layout_width="match_parent" |
109 | 124 | android:layout_height="wrap_content" |
110 | 125 | android:layout_marginTop="16dp" |
| 126 | + app:form_textColor="@color/input_text_color" |
| 127 | + app:form_textColorLabel="@color/input_text_color" |
111 | 128 | app:form_hint="Your email address" |
112 | 129 | app:form_inputType="email" |
113 | 130 | app:form_label="Email" /> |
|
118 | 135 | android:layout_height="wrap_content" |
119 | 136 | android:layout_marginTop="16dp" |
120 | 137 | android:inputType="textAutoCorrect" |
| 138 | + app:form_textColor="@color/input_text_color" |
| 139 | + app:form_textColorLabel="@color/input_text_color" |
121 | 140 | app:form_hint="Confirm email address" |
122 | 141 | app:form_inputType="email" |
123 | 142 | app:form_label="Confirm email" /> |
|
127 | 146 | android:layout_width="match_parent" |
128 | 147 | android:layout_height="wrap_content" |
129 | 148 | android:layout_marginTop="16dp" |
| 149 | + app:form_textColor="@color/input_text_color" |
| 150 | + app:form_textColorLabel="@color/input_text_color" |
130 | 151 | app:form_hint="Your password" |
131 | 152 | app:form_label="Password" |
132 | 153 | app:form_showPassStrength="true" |
|
137 | 158 | android:layout_width="match_parent" |
138 | 159 | android:layout_height="wrap_content" |
139 | 160 | android:layout_marginTop="16dp" |
| 161 | + app:form_textColor="@color/input_text_color" |
| 162 | + app:form_textColorLabel="@color/input_text_color" |
140 | 163 | app:form_hint="Confirm your password" |
141 | 164 | app:form_label="Confirm Password" |
142 | 165 | app:form_showPassStrength="false" /> |
|
146 | 169 | android:layout_width="wrap_content" |
147 | 170 | android:layout_height="wrap_content" |
148 | 171 | android:layout_marginTop="16dp" |
| 172 | + app:form_textColor="@color/input_text_color" |
| 173 | + app:form_textColorLabel="@color/input_text_color" |
149 | 174 | app:form_label="Pin" |
150 | 175 | app:form_hint="0"/> |
151 | 176 |
|
|
154 | 179 | android:layout_width="wrap_content" |
155 | 180 | android:layout_height="wrap_content" |
156 | 181 | android:layout_marginTop="16dp" |
| 182 | + app:form_textColor="@color/input_text_color" |
| 183 | + app:form_textColorLabel="@color/input_text_color" |
157 | 184 | app:form_label="Conform Pin" |
158 | 185 | app:form_hint="0" |
159 | 186 | app:form_inputType="number"/> |
|
169 | 196 | android:textColor="@color/white" |
170 | 197 | app:backgroundTint="@color/colorPrimary" |
171 | 198 | app:cornerRadius="35dp" |
172 | | - app:form_progressColor="@color/colorPink" |
| 199 | + app:form_progressColor="@color/colorAccent" |
173 | 200 | app:form_showProgress="true" |
174 | 201 | app:form_valueOnLoad="Please, wait.." /> |
175 | 202 | </LinearLayout> |
|
0 commit comments