From 5f39fa5cbb44fe5c442cbfce8e0ca13a9d0e21f2 Mon Sep 17 00:00:00 2001 From: hschlueter Date: Tue, 1 Feb 2022 16:50:01 +0000 Subject: [PATCH] Make transformer demo configuration options scrollable. On devices with a smaller screen / low resolution not all options fit, so scrolling is needed. PiperOrigin-RevId: 425635224 --- demos/transformer/build.gradle | 1 + .../res/layout/configuration_activity.xml | 237 +++++++++--------- 2 files changed, 123 insertions(+), 115 deletions(-) diff --git a/demos/transformer/build.gradle b/demos/transformer/build.gradle index 14825588ba..0146ec9e7b 100644 --- a/demos/transformer/build.gradle +++ b/demos/transformer/build.gradle @@ -48,6 +48,7 @@ android { } dependencies { + implementation 'androidx.core:core:' + androidxCoreVersion compileOnly 'org.checkerframework:checker-qual:' + checkerframeworkVersion implementation 'androidx.annotation:annotation:' + androidxAnnotationVersion implementation 'androidx.appcompat:appcompat:' + androidxAppCompatVersion diff --git a/demos/transformer/src/main/res/layout/configuration_activity.xml b/demos/transformer/src/main/res/layout/configuration_activity.xml index c3403a6269..b50d5eaba0 100644 --- a/demos/transformer/src/main/res/layout/configuration_activity.xml +++ b/demos/transformer/src/main/res/layout/configuration_activity.xml @@ -58,123 +58,130 @@ app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@+id/choose_file_button" /> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + app:layout_constraintTop_toBottomOf="@+id/chosen_file_text_view" + app:layout_constraintBottom_toTopOf="@+id/transform_button"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +