summaryrefslogtreecommitdiff
path: root/android-app/app/src/main/res
diff options
context:
space:
mode:
Diffstat (limited to 'android-app/app/src/main/res')
-rw-r--r--android-app/app/src/main/res/drawable/drag_handle_bg.xml9
-rw-r--r--android-app/app/src/main/res/layout/layout_instruments_sheet.xml7
2 files changed, 12 insertions, 4 deletions
diff --git a/android-app/app/src/main/res/drawable/drag_handle_bg.xml b/android-app/app/src/main/res/drawable/drag_handle_bg.xml
new file mode 100644
index 0000000..eea0325
--- /dev/null
+++ b/android-app/app/src/main/res/drawable/drag_handle_bg.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="utf-8"?>
+<inset xmlns:android="http://schemas.android.com/apk/res/android"
+ android:insetTop="18dp"
+ android:insetBottom="18dp">
+ <shape android:shape="rectangle">
+ <solid android:color="@color/md_theme_outline" />
+ <corners android:radius="2dp" />
+ </shape>
+</inset>
diff --git a/android-app/app/src/main/res/layout/layout_instruments_sheet.xml b/android-app/app/src/main/res/layout/layout_instruments_sheet.xml
index aa785e6..59a92c3 100644
--- a/android-app/app/src/main/res/layout/layout_instruments_sheet.xml
+++ b/android-app/app/src/main/res/layout/layout_instruments_sheet.xml
@@ -12,13 +12,12 @@
android:clickable="true"
android:focusable="true">
- <!-- Drag handle -->
+ <!-- Drag handle — visual bar is 4dp, touch target is 40dp via inset drawable -->
<View
android:id="@+id/drag_handle"
android:layout_width="36dp"
- android:layout_height="4dp"
- android:layout_marginTop="12dp"
- android:background="@color/md_theme_outline"
+ android:layout_height="40dp"
+ android:background="@drawable/drag_handle_bg"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent" />