From d318ac5672c79ca29004d7e39fd5d388cba26f77 Mon Sep 17 00:00:00 2001 From: danielwbhuang Date: Tue, 11 Apr 2023 20:05:36 +0800 Subject: [PATCH] Use ScrollView to include the full layout. 1. Use ScrollView 2. Give ListView a fixed layout_height Demo: https://screencast.googleplex.com/cast/NDg1NTE0OTI0MDUxNjYwOHxjNGVjYTA4OC03OQ Bug: 276416718 Bug: 277153488 Test: manual Change-Id: Ib1404bb060bf2ca448fe636db07b93c16ce14673 --- res/layout/modifier_key_picker_dialog.xml | 182 +++++++++++----------- res/layout/modifier_key_reset_dialog.xml | 2 - 2 files changed, 95 insertions(+), 89 deletions(-) diff --git a/res/layout/modifier_key_picker_dialog.xml b/res/layout/modifier_key_picker_dialog.xml index 6de3294c2b6..fd4d75e6125 100644 --- a/res/layout/modifier_key_picker_dialog.xml +++ b/res/layout/modifier_key_picker_dialog.xml @@ -14,94 +14,102 @@ limitations under the License. --> - + - - + - + + + + + + + + + + + android:layout_marginStart="8dp" + android:layout_marginEnd="8dp" + android:layout_marginTop="6dp" + android:layout_marginBottom="6dp"> + +