Skip to content

Commit ea434e6

Browse files
author
Vivek Maskara
authored
Merge pull request commons-app#1280 from ujjwalagrawal17/feat8
Fixes commons-app#1063
2 parents ede8c76 + 143231d commit ea434e6

File tree

1 file changed

+20
-14
lines changed

1 file changed

+20
-14
lines changed

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

Lines changed: 20 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,16 @@
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"
14+
android:layout_centerInParent="true"
1015
android:layout_gravity="center_vertical"
1116
android:layout_marginTop="@dimen/small_gap">
1217

@@ -200,19 +205,7 @@
200205
android:layout_height="wrap_content"
201206
android:layout_below="@id/buttonFrame"
202207
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" />
208+
android:text="@string/forgot_password" />
216209

217210
</RelativeLayout>
218211

@@ -236,4 +229,17 @@
236229
tools:ignore="UnusedAttribute" />
237230
</FrameLayout>
238231

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

0 commit comments

Comments
 (0)