summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJanito Vaqueiro Ferreira Filho <janito@mullvad.net>2019-06-16 13:24:43 +0000
committerJanito Vaqueiro Ferreira Filho <janito@mullvad.net>2019-06-19 11:53:58 +0000
commit8653c790e329a6eb6654d7e760b13fdf85b1ba77 (patch)
tree0477166719f1c91db47e78554eb95859c65dabdb
parent0e476dd74165095182266b689c6b821b081f1a1e (diff)
downloadmullvadvpn-8653c790e329a6eb6654d7e760b13fdf85b1ba77.tar.xz
mullvadvpn-8653c790e329a6eb6654d7e760b13fdf85b1ba77.zip
Make account number clickable
-rw-r--r--android/src/main/res/layout/account.xml14
1 files changed, 10 insertions, 4 deletions
diff --git a/android/src/main/res/layout/account.xml b/android/src/main/res/layout/account.xml
index 39924ef9d6..fa37527f2d 100644
--- a/android/src/main/res/layout/account.xml
+++ b/android/src/main/res/layout/account.xml
@@ -34,7 +34,6 @@
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:layout_marginHorizontal="24dp"
android:layout_marginTop="4dp"
android:layout_marginBottom="24dp"
android:orientation="vertical"
@@ -42,7 +41,8 @@
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_marginBottom="24dp"
+ android:layout_marginBottom="12dp"
+ android:layout_marginHorizontal="24dp"
android:textColor="@color/white"
android:textSize="32sp"
android:textStyle="bold"
@@ -51,9 +51,12 @@
<LinearLayout android:id="@+id/account_number_container"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_marginBottom="24dp"
+ android:paddingHorizontal="24dp"
+ android:paddingVertical="12dp"
android:orientation="vertical"
android:visibility="invisible"
+ android:background="?android:attr/selectableItemBackground"
+ android:clickable="true"
>
<TextView
android:layout_width="wrap_content"
@@ -76,7 +79,8 @@
<LinearLayout android:id="@+id/account_expiry_container"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_marginBottom="24dp"
+ android:paddingHorizontal="24dp"
+ android:paddingVertical="12dp"
android:orientation="vertical"
android:visibility="invisible"
>
@@ -99,6 +103,8 @@
/>
</LinearLayout>
<Button android:id="@+id/logout"
+ android:layout_marginTop="12dp"
+ android:layout_marginHorizontal="24dp"
android:text="@string/log_out"
style="@style/RedButton"
/>