Added views for button skipLogin in layout-land and layout-xLarge, bu… (#1865)

* Added views for button skipLogin in layout-land and layout-xLarge, bug fix issue#1864

* xml improvisations

* Fixed string nominated_see_more [CDATA was used inappropriately]
This commit is contained in:
Ashish Kumar 2018-09-07 05:17:23 +05:30 committed by Vivek Maskara
parent 8f45de478c
commit 92a8b5e37c
2 changed files with 46 additions and 20 deletions

View file

@ -4,6 +4,10 @@
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<FrameLayout
android:layout_width="400sp"
android:layout_height="wrap_content"
@ -199,15 +203,14 @@
android:textColor="@color/status_bar_blue"/>
<fr.free.nrw.commons.ui.widget.HtmlTextView
android:id="@+id/about_privacy_policy"
style="?android:textAppearanceSmall"
android:layout_width="wrap_content"
android:id="@+id/skipLogin"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/forgotPassword"
android:layout_centerHorizontal="true"
android:layout_gravity="center_horizontal"
android:layout_marginBottom="@dimen/standard_gap"
android:text="@string/about_privacy_policy" />
android:layout_below="@id/forgotPassword"
android:gravity="center_horizontal"
android:text="@string/skip_login"
android:visibility="visible"/>
</RelativeLayout>
</android.support.v7.widget.CardView>
@ -230,5 +233,15 @@
tools:ignore="UnusedAttribute" />
</FrameLayout>
<fr.free.nrw.commons.ui.widget.HtmlTextView
android:id="@+id/about_privacy_policy"
style="?android:textAppearanceSmall"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="@dimen/standard_gap"
android:layout_below="@id/forgotPassword"
android:layout_gravity="center_horizontal"
android:text="@string/about_privacy_policy"/>
</LinearLayout>
</ScrollView>

View file

@ -4,6 +4,11 @@
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<FrameLayout
android:layout_width="400sp"
android:layout_height="wrap_content"
@ -199,15 +204,14 @@
android:textColor="@color/status_bar_blue" />
<fr.free.nrw.commons.ui.widget.HtmlTextView
android:id="@+id/about_privacy_policy"
style="?android:textAppearanceSmall"
android:layout_width="wrap_content"
android:id="@+id/skipLogin"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/forgotPassword"
android:layout_centerHorizontal="true"
android:layout_gravity="center_horizontal"
android:layout_marginBottom="@dimen/standard_gap"
android:text="@string/about_privacy_policy" />
android:layout_below="@id/forgotPassword"
android:gravity="center_horizontal"
android:text="@string/skip_login"
android:visibility="visible"/>
</RelativeLayout>
</android.support.v7.widget.CardView>
@ -230,5 +234,14 @@
tools:ignore="UnusedAttribute" />
</FrameLayout>
<fr.free.nrw.commons.ui.widget.HtmlTextView
android:id="@+id/about_privacy_policy"
style="?android:textAppearanceSmall"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="@dimen/standard_gap"
android:layout_gravity="center_horizontal"
android:text="@string/about_privacy_policy"/>
</LinearLayout>
</ScrollView>