summaryrefslogtreecommitdiff
path: root/Source/Android/app/src/main/res/layout
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2023-02-27 22:04:42 +0100
committerJosJuice <josjuice@gmail.com>2023-03-02 18:25:10 +0100
commit96deb2d8971fd5c9d0644bc0fae9155334c76153 (patch)
tree6745f065d17d17edb8d0b29d1950237448d96dab /Source/Android/app/src/main/res/layout
parentb827b155a0ac3c29c2f916fd6f3c39f2b54defbc (diff)
Android: Hide controller mappings button when controller type is None
Also removed the make_sure_continuous_scan_enabled message. It doesn't make sense with the new UX.
Diffstat (limited to 'Source/Android/app/src/main/res/layout')
-rw-r--r--Source/Android/app/src/main/res/layout/list_item_setting.xml8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/Android/app/src/main/res/layout/list_item_setting.xml b/Source/Android/app/src/main/res/layout/list_item_setting.xml
index 93c4f2d6d3..e0bae52bef 100644
--- a/Source/Android/app/src/main/res/layout/list_item_setting.xml
+++ b/Source/Android/app/src/main/res/layout/list_item_setting.xml
@@ -8,15 +8,13 @@
android:background="?android:attr/selectableItemBackground"
android:clickable="true"
android:focusable="true"
- android:minHeight="72dp"
android:nextFocusRight="@id/button_more_settings">
<TextView
android:id="@+id/text_setting_name"
style="@style/TextAppearance.MaterialComponents.Headline5"
- android:layout_width="0dp"
+ android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_alignParentEnd="true"
android:layout_alignParentStart="true"
android:layout_alignParentTop="true"
android:layout_marginEnd="@dimen/spacing_large"
@@ -24,11 +22,12 @@
android:layout_marginTop="@dimen/spacing_large"
android:textSize="16sp"
android:textAlignment="viewStart"
+ android:layout_toStartOf="@+id/button_more_settings"
tools:text="Setting Name" />
<TextView
android:id="@+id/text_setting_description"
- android:layout_width="wrap_content"
+ android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentStart="true"
android:layout_alignStart="@+id/text_setting_name"
@@ -37,6 +36,7 @@
android:layout_marginEnd="@dimen/spacing_large"
android:layout_marginStart="@dimen/spacing_large"
android:layout_marginTop="@dimen/spacing_small"
+ android:layout_toStartOf="@+id/button_more_settings"
android:textAlignment="viewStart"
tools:text="@string/overclock_enable_description" />