summaryrefslogtreecommitdiffhomepage
path: root/android
diff options
context:
space:
mode:
authorJanito Vaqueiro Ferreira Filho <janito@mullvad.net>2020-09-03 08:12:25 +0000
committerJanito Vaqueiro Ferreira Filho <janito@mullvad.net>2020-09-03 10:13:36 +0000
commit569f33079abe275f7ba01c6dc1f9bf57b049ebe8 (patch)
treee561f75947cd2a3a06c85e302c72b26ed74f8339 /android
parent8edecd78260795bd9eeaf620b8b02d35bd2c7130 (diff)
downloadmullvadvpn-569f33079abe275f7ba01c6dc1f9bf57b049ebe8.tar.xz
mullvadvpn-569f33079abe275f7ba01c6dc1f9bf57b049ebe8.zip
Set button minimum height instead of height
Diffstat (limited to 'android')
-rw-r--r--android/src/main/res/values/styles.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/android/src/main/res/values/styles.xml b/android/src/main/res/values/styles.xml
index e5f8ea91db..c47ce65de7 100644
--- a/android/src/main/res/values/styles.xml
+++ b/android/src/main/res/values/styles.xml
@@ -15,8 +15,9 @@
</style>
<style name="Button"
parent="Widget.AppCompat.Button.Borderless">
- <item name="android:layout_height">@dimen/normal_button_height</item>
+ <item name="android:layout_height">wrap_content</item>
<item name="android:layout_width">match_parent</item>
+ <item name="android:minHeight">@dimen/normal_button_height</item>
<item name="android:paddingTop">0dp</item>
<item name="android:paddingBottom">0dp</item>
<item name="android:textAllCaps">false</item>