From 9b8bd9078f2b78c77aadc52a08f79eac48dd32a9 Mon Sep 17 00:00:00 2001 From: Peter Stone Date: Wed, 1 Jul 2026 06:43:01 +0000 Subject: feat(ui): Windy-style layer picker layout with base map cards and overlay sections Replaces ScrollView + flat switch list with NestedScrollView + GridLayout card sections: BASE MAP (2x2 preview cards), NAVIGATION, OCEAN DATA, WEATHER, MY DATA (toggle cards with 48dp previews), and UNITS (unchanged). Stubs out old chip_group_base wiring in LayerPickerSheet.kt pending Task 7 rewrite. Co-Authored-By: Claude Sonnet 4.6 --- .../main/res/layout/layout_layer_picker_sheet.xml | 734 +++++++++++++-------- 1 file changed, 468 insertions(+), 266 deletions(-) (limited to 'android-app/app/src/main/res/layout') diff --git a/android-app/app/src/main/res/layout/layout_layer_picker_sheet.xml b/android-app/app/src/main/res/layout/layout_layer_picker_sheet.xml index b8db879..cba4be1 100644 --- a/android-app/app/src/main/res/layout/layout_layer_picker_sheet.xml +++ b/android-app/app/src/main/res/layout/layout_layer_picker_sheet.xml @@ -1,343 +1,545 @@ - + android:paddingTop="8dp" + android:paddingBottom="24dp"> + + android:layout_marginBottom="12dp" + android:background="@drawable/drag_handle_bg"/> - + + android:textColor="@color/instrument_text_secondary" + android:paddingStart="16dp" + android:paddingEnd="16dp" + android:paddingBottom="8dp"/> - - - - + + - - + + + + + + + - - + + + + + + + - - + + + + + + + - - + android:layout_margin="4dp" + app:layout_columnWeight="1" + app:cardCornerRadius="12dp" + app:strokeWidth="0dp"> + + + + + + + + + - + android:layout_height="wrap_content" + android:text="NAVIGATION" + android:textSize="11sp" + android:textAllCaps="true" + android:letterSpacing="0.12" + android:fontFamily="sans-serif-light" + android:textColor="@color/instrument_text_secondary" + android:paddingStart="16dp" + android:paddingEnd="16dp" + android:paddingBottom="8dp"/> - - - - + + - + - - - - - - - - - - - + + + + + + - + - - - - - - - - - - - + + + + + + - - + - - - - - - - - - + android:orientation="vertical" + android:padding="8dp"> + + + + + + + + + android:textColor="@color/instrument_text_secondary" + android:paddingStart="16dp" + android:paddingEnd="16dp" + android:paddingBottom="8dp"/> - - - - + + - - + - - - - - - - - - - + + + + + + - + - + + + + + + + - - - - - + android:orientation="vertical" + android:padding="8dp"> + + + + + + + + - - + android:text="WEATHER" + android:textSize="11sp" + android:textAllCaps="true" + android:letterSpacing="0.12" + android:fontFamily="sans-serif-light" + android:textColor="@color/instrument_text_secondary" + android:paddingStart="16dp" + android:paddingEnd="16dp" + android:paddingBottom="8dp"/> - + + - + - + + + + + + + - - - - - + android:orientation="vertical" + android:padding="8dp"> + + + + + + + + - - + android:text="MY DATA" + android:textSize="11sp" + android:textAllCaps="true" + android:letterSpacing="0.12" + android:fontFamily="sans-serif-light" + android:textColor="@color/instrument_text_secondary" + android:paddingStart="16dp" + android:paddingEnd="16dp" + android:paddingBottom="8dp"/> - + + - - + - - - - - + android:orientation="vertical" + android:padding="8dp"> + + + + + + @@ -505,4 +707,4 @@ - + -- cgit v1.2.3