From 6d24e0c721038bb6f7a5c34703e5cf405166bf6b Mon Sep 17 00:00:00 2001 From: cyBerta Date: Tue, 23 Nov 2021 19:06:24 +0100 Subject: improve location selection list entry layout --- .../base/views/SelectLocationEntry.java | 3 +- .../main/res/layout/v_select_text_list_item.xml | 180 ++++++++++----------- 2 files changed, 91 insertions(+), 92 deletions(-) (limited to 'app') diff --git a/app/src/main/java/se/leap/bitmaskclient/base/views/SelectLocationEntry.java b/app/src/main/java/se/leap/bitmaskclient/base/views/SelectLocationEntry.java index bf293a51..204e8692 100644 --- a/app/src/main/java/se/leap/bitmaskclient/base/views/SelectLocationEntry.java +++ b/app/src/main/java/se/leap/bitmaskclient/base/views/SelectLocationEntry.java @@ -5,6 +5,7 @@ import android.content.Context; import android.util.AttributeSet; import android.view.LayoutInflater; import android.view.View; +import android.widget.LinearLayout; import android.widget.RelativeLayout; import androidx.appcompat.widget.AppCompatImageView; @@ -15,7 +16,7 @@ import se.leap.bitmaskclient.R; import se.leap.bitmaskclient.base.models.Location; import se.leap.bitmaskclient.eip.GatewaysManager.Load; -public class SelectLocationEntry extends RelativeLayout { +public class SelectLocationEntry extends LinearLayout { private static final String TAG = SelectLocationEntry.class.getSimpleName(); AppCompatTextView title; diff --git a/app/src/main/res/layout/v_select_text_list_item.xml b/app/src/main/res/layout/v_select_text_list_item.xml index a6f78b3f..44e82906 100644 --- a/app/src/main/res/layout/v_select_text_list_item.xml +++ b/app/src/main/res/layout/v_select_text_list_item.xml @@ -1,107 +1,105 @@ - - - - - - - - - - - + + - + + + + + + + + + - + -- cgit v1.2.3