diff options
| author | Janito Vaqueiro Ferreira Filho <janito@mullvad.net> | 2019-06-16 13:24:43 +0000 |
|---|---|---|
| committer | Janito Vaqueiro Ferreira Filho <janito@mullvad.net> | 2019-06-19 11:53:58 +0000 |
| commit | 8653c790e329a6eb6654d7e760b13fdf85b1ba77 (patch) | |
| tree | 0477166719f1c91db47e78554eb95859c65dabdb /android/src | |
| parent | 0e476dd74165095182266b689c6b821b081f1a1e (diff) | |
| download | mullvadvpn-8653c790e329a6eb6654d7e760b13fdf85b1ba77.tar.xz mullvadvpn-8653c790e329a6eb6654d7e760b13fdf85b1ba77.zip | |
Make account number clickable
Diffstat (limited to 'android/src')
| -rw-r--r-- | android/src/main/res/layout/account.xml | 14 |
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" /> |
