diff options
author | cyBerta <cyberta@riseup.net> | 2022-12-09 02:58:03 +0100 |
---|---|---|
committer | cyBerta <cyberta@riseup.net> | 2022-12-09 02:59:16 +0100 |
commit | a6cac669a3cbc16fab0196d725d7db60a0a8f50e (patch) | |
tree | 68e7c2b9a2b7bd936ee041f9d4377989f7770deb | |
parent | 26b786b1a133dc968b97dc68b9b87a64bc6c8465 (diff) |
fix missing connectivity indicator on some low density devices
-rw-r--r-- | app/src/main/res/layout/v_location_button.xml | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/app/src/main/res/layout/v_location_button.xml b/app/src/main/res/layout/v_location_button.xml index 8aaf4978..22712b79 100644 --- a/app/src/main/res/layout/v_location_button.xml +++ b/app/src/main/res/layout/v_location_button.xml @@ -6,7 +6,8 @@ android:layout_width="match_parent" android:layout_gravity="center_vertical" android:layout_height="match_parent" - android:padding="@dimen/stdpadding" + android:paddingLeft="@dimen/stdpadding" + android:paddingRight="@dimen/stdpadding" android:background="@drawable/cust_button_light_rect" > @@ -86,18 +87,15 @@ <se.leap.bitmaskclient.base.views.LocationIndicator android:id="@+id/load_indicator" - android:layout_marginBottom="4dp" android:layout_width="48dp" - android:layout_height="40dp" + android:layout_height="28dp" android:layout_alignParentEnd="true" android:layout_alignParentRight="true" android:layout_centerVertical="true" - android:paddingTop="@dimen/stdpadding" - android:paddingBottom="@dimen/stdpadding" - android:visibility="visible" android:layout_gravity="center_vertical" - app:tint="@color/colorLocationButtonTintTransparent" - /> + android:paddingBottom="4dp" + android:visibility="visible" + app:tint="@color/colorLocationButtonTintTransparent" /> |