12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- <?xml version="1.0" encoding="utf-8"?>
- <androidx.cardview.widget.CardView 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/holder"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- app:cardBackgroundColor="?cardBackgroundColor"
- app:cardCornerRadius="8dp"
- app:cardElevation="8dp"
- app:cardMaxElevation="8dp">
- <androidx.constraintlayout.widget.ConstraintLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content">
- <ImageView
- android:id="@+id/preview"
- android:layout_width="0dp"
- android:layout_height="0dp"
- android:scaleType="centerCrop"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent"
- app:srcCompat="@drawable/ic_settings"
- tools:ignore="ContentDescription" />
- <TextView
- android:id="@+id/album_title"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginTop="128dp"
- android:background="@color/foreground_alpha"
- android:maxLength="48"
- android:padding="2dp"
- android:shadowRadius="5"
- android:text="@string/placeholder"
- android:textAlignment="center"
- android:textStyle="bold"
- app:flow_wrapMode="aligned"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintHorizontal_bias="0.51"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent"
- tools:ignore="TextContrastCheck" />
- </androidx.constraintlayout.widget.ConstraintLayout>
- </androidx.cardview.widget.CardView>
|