From 11e3625d2668fb80ea14fb1cc0306f921312e7ed Mon Sep 17 00:00:00 2001 From: Peter Vacho Date: Thu, 2 Jan 2025 17:30:36 +0100 Subject: [PATCH] chore: Improve the UI for event create (center the card) --- .../main/res/layout/activity_create_event.xml | 364 +++++++++--------- 1 file changed, 185 insertions(+), 179 deletions(-) diff --git a/app/src/main/res/layout/activity_create_event.xml b/app/src/main/res/layout/activity_create_event.xml index 7c01db8..fc124ca 100644 --- a/app/src/main/res/layout/activity_create_event.xml +++ b/app/src/main/res/layout/activity_create_event.xml @@ -1,201 +1,207 @@ - + android:layout_height="match_parent"> - + android:layout_margin="16dp" + android:layout_gravity="center" + android:padding="16dp" + app:cardCornerRadius="8dp" + app:cardElevation="4dp"> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + android:orientation="vertical"> - + + android:hint="@string/event_title" + app:boxStrokeWidth="1dp" + app:boxStrokeColor="?attr/colorPrimary"> - - + android:textSize="16sp" /> + - - + + + - + android:inputType="textMultiLine" + android:maxLines="3" + android:textSize="16sp" /> + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - + + \ No newline at end of file