|
13 | 13 | <android.support.v7.widget.CardView |
14 | 14 | android:layout_width="match_parent" |
15 | 15 | android:layout_height="wrap_content" |
16 | | - android:layout_marginTop="@dimen/large_gap" |
17 | 16 | android:layout_marginBottom="@dimen/standard_gap" |
18 | 17 | android:layout_marginEnd="@dimen/standard_gap" |
19 | 18 | android:layout_marginLeft="@dimen/standard_gap" |
20 | 19 | android:layout_marginRight="@dimen/standard_gap" |
21 | 20 | android:layout_marginStart="@dimen/standard_gap" |
| 21 | + android:layout_marginTop="@dimen/large_gap" |
22 | 22 | app:cardCornerRadius="4dp" |
23 | 23 | app:cardElevation="4dp"> |
24 | 24 |
|
|
40 | 40 | android:textColor="@android:color/white" |
41 | 41 | android:textSize="@dimen/heading_text_size" /> |
42 | 42 |
|
| 43 | + <TextView |
| 44 | + android:id="@+id/login_credentials" |
| 45 | + android:layout_width="match_parent" |
| 46 | + android:layout_height="wrap_content" |
| 47 | + android:layout_below="@id/title" |
| 48 | + android:layout_marginEnd="@dimen/standard_gap" |
| 49 | + android:layout_marginLeft="@dimen/standard_gap" |
| 50 | + android:layout_marginRight="@dimen/standard_gap" |
| 51 | + android:layout_marginStart="@dimen/standard_gap" |
| 52 | + android:paddingBottom="@dimen/standard_gap" |
| 53 | + android:paddingTop="@dimen/small_gap" |
| 54 | + android:textAlignment="center" |
| 55 | + android:textColor="@color/secondaryDarkColor" |
| 56 | + tools:text="@string/login_credential" /> |
| 57 | + |
43 | 58 | <FrameLayout |
44 | 59 | android:id="@+id/error_message_container" |
45 | 60 | android:layout_width="match_parent" |
46 | 61 | android:layout_height="wrap_content" |
47 | | - android:layout_below="@id/title" |
| 62 | + android:layout_below="@id/login_credentials" |
48 | 63 | android:visibility="gone" |
49 | 64 | tools:visibility="visible"> |
50 | 65 |
|
|
56 | 71 | android:layout_marginLeft="@dimen/standard_gap" |
57 | 72 | android:layout_marginRight="@dimen/standard_gap" |
58 | 73 | android:layout_marginStart="@dimen/standard_gap" |
| 74 | + android:gravity="center" |
59 | 75 | android:paddingBottom="@dimen/small_gap" |
60 | 76 | android:paddingTop="@dimen/small_gap" |
61 | 77 | android:textColor="@color/secondaryDarkColor" |
|
149 | 165 |
|
150 | 166 | <Button |
151 | 167 | android:id="@+id/signupButton" |
152 | | - android:layout_width="0dp" |
153 | 168 | style="@style/Widget.AppCompat.Button.Borderless.Colored" |
| 169 | + android:layout_width="0dp" |
154 | 170 | android:layout_height="wrap_content" |
155 | 171 | android:layout_gravity="center_horizontal" |
156 | 172 | android:layout_marginEnd="@dimen/small_gap" |
|
160 | 176 |
|
161 | 177 | <Button |
162 | 178 | android:id="@+id/loginButton" |
163 | | - android:layout_width="0dp" |
164 | 179 | style="@style/Widget.AppCompat.Button.Colored" |
| 180 | + android:layout_width="0dp" |
165 | 181 | android:layout_height="wrap_content" |
166 | 182 | android:layout_marginLeft="@dimen/small_gap" |
167 | 183 | android:layout_marginStart="@dimen/small_gap" |
|
174 | 190 | <fr.free.nrw.commons.ui.widget.HtmlTextView |
175 | 191 | android:id="@+id/about_privacy_policy" |
176 | 192 | style="?android:textAppearanceSmall" |
177 | | - android:layout_below="@id/buttonFrame" |
178 | 193 | android:layout_width="wrap_content" |
179 | 194 | android:layout_height="wrap_content" |
180 | | - android:layout_marginBottom="@dimen/standard_gap" |
| 195 | + android:layout_below="@id/buttonFrame" |
| 196 | + android:layout_centerHorizontal="true" |
181 | 197 | android:layout_gravity="center_horizontal" |
182 | | - android:text="@string/about_privacy_policy" |
183 | | - android:layout_centerHorizontal="true"/> |
| 198 | + android:layout_marginBottom="@dimen/standard_gap" |
| 199 | + android:text="@string/about_privacy_policy" /> |
184 | 200 |
|
185 | 201 | </RelativeLayout> |
186 | 202 | </android.support.v7.widget.CardView> |
187 | 203 |
|
188 | 204 | <android.support.v7.widget.AppCompatImageView |
189 | 205 | android:layout_width="64dp" |
190 | 206 | android:layout_height="64dp" |
191 | | - android:elevation="8dp" |
192 | | - tools:ignore="UnusedAttribute" |
193 | 207 | android:layout_gravity="center_horizontal" |
194 | | - app:srcCompat="@drawable/blue_rinse_circle" /> |
| 208 | + android:elevation="8dp" |
| 209 | + app:srcCompat="@drawable/blue_rinse_circle" |
| 210 | + tools:ignore="UnusedAttribute" /> |
195 | 211 |
|
196 | 212 | <android.support.v7.widget.AppCompatImageView |
197 | 213 | android:layout_width="42dp" |
198 | | - tools:ignore="UnusedAttribute" |
199 | 214 | android:layout_height="42dp" |
200 | 215 | android:layout_gravity="center_horizontal" |
201 | 216 | android:layout_marginTop="8dp" |
202 | 217 | android:elevation="8dp" |
203 | | - app:srcCompat="@drawable/commons_logo_large" /> |
| 218 | + app:srcCompat="@drawable/commons_logo_large" |
| 219 | + tools:ignore="UnusedAttribute" /> |
204 | 220 |
|
205 | 221 | </FrameLayout> |
206 | 222 |
|
|
0 commit comments