From f620f85484a99dd65424e65c5bcd521f7bce0d41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C3=ADas=20Hern=C3=A1ndez?= Date: Thu, 26 Sep 2024 15:25:01 +0200 Subject: [PATCH] Add a header before the icon list in the new/rename mode screen Also fixed paddings a bit (e.g. Done button was too close to the icon grid). Fixes: 369503296 Test: manual Flag: android.app.modes_ui Change-Id: Ic7b7dc9584db1f04b448fce828a8ec70cf17f06a --- res/layout/modes_edit_name.xml | 3 ++- res/layout/modes_icon_list.xml | 3 +-- res/values/strings.xml | 3 +++ res/xml/modes_edit_name_icon.xml | 14 ++++++++------ 4 files changed, 14 insertions(+), 9 deletions(-) diff --git a/res/layout/modes_edit_name.xml b/res/layout/modes_edit_name.xml index 0b086c746ed..7f1a1e606a3 100644 --- a/res/layout/modes_edit_name.xml +++ b/res/layout/modes_edit_name.xml @@ -20,7 +20,8 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:paddingStart="?android:attr/listPreferredItemPaddingStart" - android:paddingEnd="?android:attr/listPreferredItemPaddingEnd"> + android:paddingEnd="?android:attr/listPreferredItemPaddingEnd" + android:paddingBottom="8dp"> Mode name + + Choose an icon + Calendar events diff --git a/res/xml/modes_edit_name_icon.xml b/res/xml/modes_edit_name_icon.xml index 2109c776ac8..4bcf67deccc 100644 --- a/res/xml/modes_edit_name_icon.xml +++ b/res/xml/modes_edit_name_icon.xml @@ -33,13 +33,15 @@ android:key="name" android:layout="@layout/modes_edit_name" /> - + - + +