From 0a0bb619422dbc99ab22c60daf4a4437008aa232 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Date: Fri, 14 Nov 2025 18:36:12 +0100 Subject: [PATCH] [android] Improve opening_hours layout in the editor Signed-off-by: Jean-Baptiste --- android/app/src/main/res/layout/item_opening_hours.xml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/android/app/src/main/res/layout/item_opening_hours.xml b/android/app/src/main/res/layout/item_opening_hours.xml index 2ffc4c1fc..15f7fc3b8 100644 --- a/android/app/src/main/res/layout/item_opening_hours.xml +++ b/android/app/src/main/res/layout/item_opening_hours.xml @@ -22,7 +22,7 @@ android:id="@+id/empty_opening_hours" android:layout_width="match_parent" android:layout_height="wrap_content" - android:layout_centerVertical="true" + android:layout_marginTop="@dimen/margin_base" android:layout_marginStart="@dimen/editor_margin_timetable_left" android:orientation="vertical" tools:visibility="gone"> @@ -57,10 +57,8 @@ android:layout_height="wrap_content" style="@style/Widget.Material3.Button.TextButton" android:layout_below="@id/opening_hours" - android:layout_marginStart="@dimen/editor_margin_timetable_left" - android:layout_marginTop="@dimen/margin_base_plus" - android:gravity="center_vertical" - android:minHeight="@dimen/height_block_base" + android:layout_marginTop="@dimen/margin_base" + android:gravity="center_horizontal" android:text="@string/edit_opening_hours" android:textColor="?colorSecondary" android:textAppearance="@style/MwmTextAppearance.Body1" />