summaryrefslogtreecommitdiffhomepage
path: root/android/src/main
diff options
context:
space:
mode:
authorJanito Vaqueiro Ferreira Filho <janito@mullvad.net>2020-06-03 17:33:12 +0000
committerJanito Vaqueiro Ferreira Filho <janito@mullvad.net>2020-06-04 14:00:10 +0000
commita01cd193d48a7609a24165f86a9a4efb2af77f64 (patch)
tree358dbca02bfb87dfc4c6d95d1dd2ab723740a5e7 /android/src/main
parentf81ca488d10aae5e29bc3c3559aed0b354033fec (diff)
downloadmullvadvpn-a01cd193d48a7609a24165f86a9a4efb2af77f64.tar.xz
mullvadvpn-a01cd193d48a7609a24165f86a9a4efb2af77f64.zip
Make Confirm No Email dialog scrollable
Diffstat (limited to 'android/src/main')
-rw-r--r--android/src/main/res/layout/confirm_no_email.xml50
1 files changed, 27 insertions, 23 deletions
diff --git a/android/src/main/res/layout/confirm_no_email.xml b/android/src/main/res/layout/confirm_no_email.xml
index 7ae862302f..09e554bcf1 100644
--- a/android/src/main/res/layout/confirm_no_email.xml
+++ b/android/src/main/res/layout/confirm_no_email.xml
@@ -1,23 +1,27 @@
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:padding="30dp"
- android:background="@drawable/dialog_background"
- android:orientation="vertical"
- android:gravity="left"
- android:elevation="2dp">
- <TextView android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="0"
- android:layout_marginBottom="12dp"
- android:textColor="@color/white80"
- android:textSize="16sp"
- android:text="@string/confirm_no_email" />
- <Button android:id="@+id/send_button"
- android:text="@string/send_anyway"
- style="@style/RedButton" />
- <Button android:id="@+id/back_button"
- android:layout_marginTop="16dp"
- android:text="@string/back"
- style="@style/BlueButton" />
-</LinearLayout>
+<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:scrollbars="none">
+ <LinearLayout android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:padding="30dp"
+ android:background="@drawable/dialog_background"
+ android:orientation="vertical"
+ android:gravity="left"
+ android:elevation="2dp">
+ <TextView android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_weight="0"
+ android:layout_marginBottom="12dp"
+ android:textColor="@color/white80"
+ android:textSize="16sp"
+ android:text="@string/confirm_no_email" />
+ <Button android:id="@+id/send_button"
+ android:text="@string/send_anyway"
+ style="@style/RedButton" />
+ <Button android:id="@+id/back_button"
+ android:layout_marginTop="16dp"
+ android:text="@string/back"
+ style="@style/BlueButton" />
+ </LinearLayout>
+</ScrollView>