Skip to content

Commit 1a041e2

Browse files
Updated login UI
1 parent de673eb commit 1a041e2

File tree

1 file changed

+19
-14
lines changed

1 file changed

+19
-14
lines changed

app/src/main/res/layout/activity_login.xml

Lines changed: 19 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,12 @@
22
xmlns:app="http://schemas.android.com/apk/res-auto"
33
xmlns:tools="http://schemas.android.com/tools"
44
android:layout_width="match_parent"
5+
android:fillViewport="true"
56
android:layout_height="match_parent">
6-
7+
<RelativeLayout
8+
android:layout_width="match_parent"
9+
android:layout_height="wrap_content"
10+
android:orientation="vertical">
711
<FrameLayout
812
android:layout_width="match_parent"
913
android:layout_height="wrap_content"
@@ -200,19 +204,7 @@
200204
android:layout_height="wrap_content"
201205
android:layout_below="@id/buttonFrame"
202206
android:layout_marginBottom="@dimen/standard_gap"
203-
android:text="@string/forgot_password"
204-
android:textColor="@color/status_bar_blue" />
205-
206-
<fr.free.nrw.commons.ui.widget.HtmlTextView
207-
android:id="@+id/about_privacy_policy"
208-
style="?android:textAppearanceSmall"
209-
android:layout_width="wrap_content"
210-
android:layout_height="wrap_content"
211-
android:layout_below="@id/forgotPassword"
212-
android:layout_centerHorizontal="true"
213-
android:layout_gravity="center_horizontal"
214-
android:layout_marginBottom="@dimen/standard_gap"
215-
android:text="@string/about_privacy_policy" />
207+
android:text="@string/forgot_password" />
216208

217209
</RelativeLayout>
218210

@@ -236,4 +228,17 @@
236228
tools:ignore="UnusedAttribute" />
237229
</FrameLayout>
238230

231+
<fr.free.nrw.commons.ui.widget.HtmlTextView
232+
android:id="@+id/about_privacy_policy"
233+
style="?android:textAppearanceSmall"
234+
android:layout_width="wrap_content"
235+
android:layout_height="wrap_content"
236+
android:layout_alignParentBottom="true"
237+
android:layout_centerHorizontal="true"
238+
android:layout_marginBottom="@dimen/normal_text"
239+
android:textColor="@color/status_bar_blue"
240+
android:text="@string/about_privacy_policy" />
241+
242+
</RelativeLayout>
243+
239244
</ScrollView>

0 commit comments

Comments
 (0)