diff options
| author | Janito Vaqueiro Ferreira Filho <janito@mullvad.net> | 2020-09-04 14:51:34 +0000 |
|---|---|---|
| committer | Janito Vaqueiro Ferreira Filho <janito@mullvad.net> | 2020-09-21 15:28:40 +0000 |
| commit | 79695cdc257aeb56a09d26e722929a8f709e9526 (patch) | |
| tree | 137689db941e0bd0c71dc1589fc326ca2a48d4fb /android/src | |
| parent | dac962b421638ef9c9bb50db4da18daca2527386 (diff) | |
| download | mullvadvpn-79695cdc257aeb56a09d26e722929a8f709e9526.tar.xz mullvadvpn-79695cdc257aeb56a09d26e722929a8f709e9526.zip | |
Add dimension resources for account history entry
Diffstat (limited to 'android/src')
| -rw-r--r-- | android/src/main/res/layout/account_history_entry.xml | 2 | ||||
| -rw-r--r-- | android/src/main/res/layout/account_login.xml | 2 | ||||
| -rw-r--r-- | android/src/main/res/values/dimensions.xml | 2 |
3 files changed, 4 insertions, 2 deletions
diff --git a/android/src/main/res/layout/account_history_entry.xml b/android/src/main/res/layout/account_history_entry.xml index 1860a96262..119bc2c7cd 100644 --- a/android/src/main/res/layout/account_history_entry.xml +++ b/android/src/main/res/layout/account_history_entry.xml @@ -1,6 +1,6 @@ <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" - android:layout_height="wrap_content" + android:layout_height="@dimen/account_history_entry_height" android:orientation="vertical"> <TextView android:id="@+id/account_history_entry_text_view" android:layout_width="fill_parent" diff --git a/android/src/main/res/layout/account_login.xml b/android/src/main/res/layout/account_login.xml index cbb9bbd653..cc7d37513a 100644 --- a/android/src/main/res/layout/account_login.xml +++ b/android/src/main/res/layout/account_login.xml @@ -14,7 +14,7 @@ android:layout_height="wrap_content" android:layout_below="@id/input" android:divider="@drawable/account_history_list_divider" - android:dividerHeight="1dp" + android:dividerHeight="@dimen/account_history_divider" android:visibility="invisible" android:background="@drawable/account_history_background" /> </merge> diff --git a/android/src/main/res/values/dimensions.xml b/android/src/main/res/values/dimensions.xml index 692fba86e4..235c3d94b3 100644 --- a/android/src/main/res/values/dimensions.xml +++ b/android/src/main/res/values/dimensions.xml @@ -6,6 +6,8 @@ <dimen name="dialog_margin">14dp</dimen> <dimen name="account_login_corner_radius">4dp</dimen> <dimen name="account_login_border_width">2dp</dimen> + <dimen name="account_history_divider">1dp</dimen> + <dimen name="account_history_entry_height">48dp</dimen> <dimen name="edit_text_corner_radius">4dp</dimen> <dimen name="button_height">44dp</dimen> <dimen name="cell_switch_border_radius">16dp</dimen> |
