From e38e9b943d3eae2e08fecc75a6b8d7778ac34ef8 Mon Sep 17 00:00:00 2001 From: Daniel Lublin Date: Tue, 10 Aug 2021 17:04:34 +0200 Subject: [PATCH] Squeeze items to free more vertical space for qr code --- .../src/main/res/layout/fragment_hotspot_tabs.xml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/briar-android/src/main/res/layout/fragment_hotspot_tabs.xml b/briar-android/src/main/res/layout/fragment_hotspot_tabs.xml index 89e37bd78..10f6e95ff 100644 --- a/briar-android/src/main/res/layout/fragment_hotspot_tabs.xml +++ b/briar-android/src/main/res/layout/fragment_hotspot_tabs.xml @@ -60,7 +60,9 @@ android:id="@+id/connectedView" android:layout_width="0dp" android:layout_height="wrap_content" - android:layout_margin="8dp" + android:layout_marginHorizontal="16dp" + android:layout_marginTop="6dp" + android:layout_marginBottom="1dp" android:gravity="center" android:text="@string/hotspot_no_peers_connected" app:layout_constraintTop_toBottomOf="@+id/coordinatorLayout" @@ -73,7 +75,9 @@ style="@style/BriarButton" android:layout_width="0dp" android:layout_height="wrap_content" - android:layout_margin="16dp" + android:layout_marginHorizontal="16dp" + android:layout_marginTop="1dp" + android:layout_marginBottom="1dp" android:text="@string/hotspot_button_connected" app:drawableLeftCompat="@drawable/ic_check_white" app:drawableStartCompat="@drawable/ic_check_white" @@ -88,7 +92,9 @@ style="@style/BriarButtonFlat.Negative" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_margin="16dp" + android:layout_marginHorizontal="16dp" + android:layout_marginTop="6dp" + android:layout_marginBottom="2dp" android:drawablePadding="8dp" android:text="@string/hotspot_button_stop_sharing" app:drawableLeftCompat="@drawable/ic_portable_wifi_off"