121 lines
No EOL
4.7 KiB
XML
121 lines
No EOL
4.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.constraintlayout.widget.ConstraintLayout 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:id="@+id/mediaInfoQuelContainer"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginHorizontal="24dp"
|
|
android:layout_marginTop="8dp"
|
|
android:layout_marginBottom="16dp">
|
|
|
|
<com.google.android.material.card.MaterialCardView
|
|
android:id="@+id/mediaInfoPrequel"
|
|
android:layout_width="0dp"
|
|
android:layout_height="72dp"
|
|
android:layout_margin="8dp"
|
|
android:layout_weight="1"
|
|
android:visibility="gone"
|
|
app:cardCornerRadius="16dp"
|
|
app:layout_constrainedWidth="true"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintEnd_toStartOf="@+id/mediaInfoSequel"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
app:layout_constraintWidth_max="256dp">
|
|
|
|
<ImageView
|
|
android:id="@+id/mediaInfoPrequelImage"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:scaleType="centerCrop"
|
|
tools:ignore="ContentDescription"
|
|
tools:src="@tools:sample/backgrounds/scenic" />
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:alpha="0.75"
|
|
android:background="@color/bg_black" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:fontFamily="@font/poppins_bold"
|
|
android:text="@string/prequel"
|
|
android:textAllCaps="true"
|
|
android:textColor="@color/bg_white"
|
|
android:textSize="16sp" />
|
|
|
|
<View
|
|
android:layout_width="64dp"
|
|
android:layout_height="2dp"
|
|
android:layout_gravity="center"
|
|
android:background="?attr/colorSecondary" />
|
|
</LinearLayout>
|
|
</com.google.android.material.card.MaterialCardView>
|
|
|
|
<com.google.android.material.card.MaterialCardView
|
|
android:id="@+id/mediaInfoSequel"
|
|
android:layout_width="0dp"
|
|
android:layout_height="72dp"
|
|
android:layout_margin="8dp"
|
|
android:layout_marginStart="161dp"
|
|
android:layout_marginBottom="16dp"
|
|
android:layout_weight="1"
|
|
android:visibility="gone"
|
|
app:cardCornerRadius="16dp"
|
|
app:layout_constrainedWidth="true"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toEndOf="@+id/mediaInfoPrequel"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
app:layout_constraintWidth_max="256dp">
|
|
|
|
<ImageView
|
|
android:id="@+id/mediaInfoSequelImage"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:scaleType="centerCrop"
|
|
tools:ignore="ContentDescription"
|
|
tools:src="@tools:sample/backgrounds/scenic" />
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:alpha="0.75"
|
|
android:background="@color/bg_black" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:fontFamily="@font/poppins_bold"
|
|
android:text="@string/sequel"
|
|
android:textAllCaps="true"
|
|
android:textColor="@color/bg_white"
|
|
android:textSize="16sp" />
|
|
|
|
<View
|
|
android:layout_width="64dp"
|
|
android:layout_height="2dp"
|
|
android:layout_gravity="center"
|
|
android:background="?attr/colorPrimary" />
|
|
</LinearLayout>
|
|
|
|
</com.google.android.material.card.MaterialCardView>
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout> |