|
@@ -7,14 +7,29 @@
|
|
app:cardCornerRadius="5dp"
|
|
app:cardCornerRadius="5dp"
|
|
app:cardElevation="4dp">
|
|
app:cardElevation="4dp">
|
|
|
|
|
|
- <LinearLayout
|
|
|
|
|
|
+ <FrameLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
+ <ImageView
|
|
|
|
+ android:id="@+id/imageView"
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="200dp"
|
|
|
|
+ android:background="@drawable/default_background"
|
|
|
|
+ android:scaleType="centerCrop" />
|
|
|
|
+
|
|
|
|
+ <View
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="200dp"
|
|
|
|
+ android:alpha="0.5"
|
|
|
|
+ android:background="@color/color_black" />
|
|
|
|
+
|
|
<LinearLayout
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
|
+ android:layout_gravity="center"
|
|
|
|
+ android:gravity="center"
|
|
android:orientation="vertical"
|
|
android:orientation="vertical"
|
|
android:paddingTop="5dp"
|
|
android:paddingTop="5dp"
|
|
android:paddingBottom="5dp">
|
|
android:paddingBottom="5dp">
|
|
@@ -24,6 +39,7 @@
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="Your Title"
|
|
android:text="Your Title"
|
|
|
|
+ android:textColor="@color/color_white"
|
|
android:textSize="14sp"
|
|
android:textSize="14sp"
|
|
android:textStyle="bold" />
|
|
android:textStyle="bold" />
|
|
|
|
|
|
@@ -32,16 +48,32 @@
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:gravity="center_vertical"
|
|
android:gravity="center_vertical"
|
|
|
|
+ android:text="Your Subtitle"
|
|
|
|
+ android:textColor="@color/color_white"
|
|
|
|
+ android:textSize="14sp" />
|
|
|
|
+
|
|
|
|
+ <TextView
|
|
|
|
+ android:id="@+id/dateTitleTextView"
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
+ android:gravity="center_vertical"
|
|
android:text="Your Date"
|
|
android:text="Your Date"
|
|
- android:textSize="12sp" />
|
|
|
|
- </LinearLayout>
|
|
|
|
|
|
+ android:textColor="@color/color_white"
|
|
|
|
+ android:textSize="14sp" />
|
|
|
|
|
|
- <ImageView
|
|
|
|
- android:id="@+id/imageView"
|
|
|
|
- android:layout_width="match_parent"
|
|
|
|
- android:layout_height="200dp"
|
|
|
|
- android:background="@color/color_green_800"
|
|
|
|
- android:scaleType="centerCrop" />
|
|
|
|
|
|
+ <com.google.android.material.button.MaterialButton
|
|
|
|
+ android:id="@+id/btn_login"
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_below="@id/tv_error"
|
|
|
|
+ android:layout_gravity="center"
|
|
|
|
+ android:layout_marginTop="8dp"
|
|
|
|
+ android:backgroundTint="@color/color_blue_600"
|
|
|
|
+ android:gravity="center"
|
|
|
|
+ android:text="@string/booking_now"
|
|
|
|
+ android:textColor="@color/color_white"
|
|
|
|
+ app:cornerRadius="5dp" />
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
- </LinearLayout>
|
|
|
|
|
|
+ </FrameLayout>
|
|
</androidx.cardview.widget.CardView>
|
|
</androidx.cardview.widget.CardView>
|