From b66d5fa1686c758f5faec9ee93c8c13ab0fbdde4 Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Tue, 24 Nov 2020 15:24:35 +0800 Subject: Make color picker dialog scrollable. --- app/src/main/res/layout/color_picker.xml | 284 ++++++++++++++++--------------- 1 file changed, 145 insertions(+), 139 deletions(-) (limited to 'app/src/main/res/layout') diff --git a/app/src/main/res/layout/color_picker.xml b/app/src/main/res/layout/color_picker.xml index b8769926..439f4e92 100644 --- a/app/src/main/res/layout/color_picker.xml +++ b/app/src/main/res/layout/color_picker.xml @@ -1,165 +1,171 @@ - - - - - - - - - - - - - + + android:orientation="vertical"> + android:paddingTop="12dp" + android:paddingBottom="12dp" + android:paddingStart="24dp" + android:paddingEnd="24dp" + android:text="@string/color_picker" + android:fontFamily="?attr/font_family" + style="@style/MaterialAlertDialogTitleTextStyle" /> - - - - - + android:layout_height="200dp" /> - - - + + + + + + + + - - - - - - - - + + + + + + + + - - - - - - - - + + + + + + + + - - - - - -