Untitled

 avatar
unknown
plain_text
2 years ago
11 kB
6
Indexable
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    tools:context=".Reservations">

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:orientation="vertical">

        <TextView
            android:id="@+id/text_Reservation"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_gravity="center_horizontal"
            android:layout_marginTop="22dp"
            android:fontFamily="@font/raleway_semibold"
            android:text="Reservations"
            android:textColor="@color/black"
            android:textSize="25dp" />

        <TextView
            android:id="@+id/text_Happening"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginStart="30dp"
            android:layout_marginTop="27dp"
            android:fontFamily="@font/raleway_semibold"
            android:text="Happening Now"
            android:textColor="@color/black"
            android:textSize="25dp" />

        <androidx.cardview.widget.CardView
            android:layout_width="match_parent"
            android:layout_marginStart="30dp"
            android:layout_height="110dp"
            android:layout_marginTop="17dp"
            app:cardElevation="0dp">

            <androidx.cardview.widget.CardView
                android:id="@+id/card_view"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                app:cardElevation="0dp"
                app:cardCornerRadius="20dp">

                <ImageView
                    android:id="@+id/image_view"
                    android:layout_width="150dp"
                    android:layout_height="match_parent"
                    android:scaleType="fitXY"
                    android:src="@drawable/image1" />
            </androidx.cardview.widget.CardView>

                <androidx.cardview.widget.CardView
                    android:layout_width="match_parent"
                    android:layout_height="match_parent"
                    android:layout_marginLeft="165dp"
                    app:cardElevation="0dp">

                    <TextView
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:layout_marginLeft="16dp"
                        android:layout_marginTop="15dp"
                        android:text="Restaurant Name"
                        android:textColor="@color/black"
                        android:textSize="18dp"
                        android:fontFamily="@font/raleway_semibold" />

                    <TextView
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:layout_marginLeft="16dp"
                        android:layout_marginTop="40dp"
                        android:lineSpacingExtra="4dp"
                        android:lines="3"
                        android:text="30/10/2021\n20:00\n5 people"
                        android:textColor="@color/black"
                        android:textSize="18dp"
                        android:fontFamily="@font/raleway" />

                </androidx.cardview.widget.CardView>
        </androidx.cardview.widget.CardView>

        <TextView
            android:id="@+id/text_Future_Reservations"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginStart="30dp"
            android:layout_marginTop="27dp"
            android:fontFamily="@font/raleway_semibold"
            android:text="Future Reservations"
            android:textColor="@color/black"
            android:textSize="25dp" />

        <androidx.cardview.widget.CardView
            android:layout_width="match_parent"
            android:layout_marginStart="30dp"
            android:layout_height="110dp"
            android:layout_marginTop="17dp"
            app:cardElevation="0dp">

            <androidx.cardview.widget.CardView
                android:id="@+id/future_card_view"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                app:cardElevation="0dp"
                app:cardCornerRadius="20dp">

                <ImageView
                    android:id="@+id/future_image_view"
                    android:layout_width="150dp"
                    android:layout_height="match_parent"
                    android:scaleType="fitXY"
                    android:src="@drawable/meat" />
            </androidx.cardview.widget.CardView>

            <androidx.cardview.widget.CardView
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:layout_marginLeft="165dp"
                app:cardElevation="0dp">

                <TextView
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_marginLeft="16dp"
                    android:layout_marginTop="15dp"
                    android:text="Restaurant Name"
                    android:textColor="@color/black"
                    android:textSize="18dp"
                    android:fontFamily="@font/raleway_semibold" />

                <TextView
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_marginLeft="16dp"
                    android:layout_marginTop="40dp"
                    android:lineSpacingExtra="4dp"
                    android:lines="3"
                    android:text="30/10/2021\n20:00\n5 people"
                    android:textColor="@color/black"
                    android:textSize="18dp"
                    android:fontFamily="@font/raleway" />

            </androidx.cardview.widget.CardView>
        </androidx.cardview.widget.CardView>

        <androidx.cardview.widget.CardView
            android:layout_width="match_parent"
            android:layout_marginStart="30dp"
            android:layout_height="110dp"
            android:layout_marginTop="17dp"
            app:cardElevation="0dp">

            <androidx.cardview.widget.CardView
                android:id="@+id/future_card_view2"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                app:cardElevation="0dp"
                app:cardCornerRadius="20dp">

                <ImageView
                    android:id="@+id/future_image_view2"
                    android:layout_width="150dp"
                    android:layout_height="match_parent"
                    android:scaleType="fitXY"
                    android:src="@drawable/meat" />
            </androidx.cardview.widget.CardView>

            <androidx.cardview.widget.CardView
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:layout_marginLeft="165dp"
                app:cardElevation="0dp">

                <TextView
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_marginLeft="16dp"
                    android:layout_marginTop="15dp"
                    android:text="Restaurant Name"
                    android:textColor="@color/black"
                    android:textSize="18dp"
                    android:fontFamily="@font/raleway_semibold" />

                <TextView
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_marginLeft="16dp"
                    android:layout_marginTop="40dp"
                    android:lineSpacingExtra="4dp"
                    android:lines="3"
                    android:text="30/10/2021\n20:00\n5 people"
                    android:textColor="@color/black"
                    android:textSize="18dp"
                    android:fontFamily="@font/raleway" />

            </androidx.cardview.widget.CardView>
        </androidx.cardview.widget.CardView>

        <androidx.cardview.widget.CardView
            android:layout_width="match_parent"
            android:layout_marginStart="30dp"
            android:layout_height="110dp"
            android:layout_marginTop="17dp"
            app:cardElevation="0dp">

            <androidx.cardview.widget.CardView
                android:id="@+id/future_card_view3"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                app:cardElevation="0dp"
                app:cardCornerRadius="20dp">

                <ImageView
                    android:id="@+id/future_image_view3"
                    android:layout_width="150dp"
                    android:layout_height="match_parent"
                    android:scaleType="fitXY"
                    android:src="@drawable/sushi" />
            </androidx.cardview.widget.CardView>

            <androidx.cardview.widget.CardView
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:layout_marginLeft="165dp"
                app:cardElevation="0dp">

                <TextView
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_marginLeft="16dp"
                    android:layout_marginTop="15dp"
                    android:text="Restaurant Name"
                    android:textColor="@color/black"
                    android:textSize="18dp"
                    android:fontFamily="@font/raleway_semibold" />

                <TextView
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_marginLeft="16dp"
                    android:layout_marginTop="40dp"
                    android:lineSpacingExtra="4dp"
                    android:lines="3"
                    android:text="30/10/2021\n20:00\n5 people"
                    android:textColor="@color/black"
                    android:textSize="18dp"
                    android:fontFamily="@font/raleway" />

            </androidx.cardview.widget.CardView>
        </androidx.cardview.widget.CardView>

    </LinearLayout>

</FrameLayout>
Editor is loading...