chore: Improve the UI for event create (center the card)

This commit is contained in:
Peter Vacho 2025-01-02 17:30:36 +01:00
parent f7b02b5b20
commit 11e3625d26
Signed by: school
GPG key ID: 8CFC3837052871B4

View file

@ -1,10 +1,15 @@
<com.google.android.material.card.MaterialCardView
<FrameLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent">
<com.google.android.material.card.MaterialCardView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="16dp"
android:layout_gravity="center"
android:padding="16dp"
app:cardCornerRadius="8dp"
app:cardElevation="4dp">
@ -199,3 +204,4 @@
style="@style/Widget.MaterialComponents.Button.OutlinedButton" />
</LinearLayout>
</com.google.android.material.card.MaterialCardView>
</FrameLayout>