PlayerAndroid/app/src/main/res/layout/fragment_album_card_cover.xml

35 lines
1.5 KiB
XML
Raw Normal View History

2018-07-27 13:07:33 +00:00
<?xml version="1.0" encoding="utf-8"?>
2020-05-11 23:00:22 +00:00
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
2018-07-27 13:07:33 +00:00
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">
2019-09-09 13:38:49 +00:00
<com.google.android.material.card.MaterialCardView
2020-05-11 23:00:22 +00:00
android:layout_width="0dp"
android:layout_height="0dp"
2018-11-05 13:53:07 +00:00
android:layout_marginStart="16dp"
2018-07-27 13:07:33 +00:00
android:layout_marginTop="8dp"
2018-11-05 13:53:07 +00:00
android:layout_marginEnd="16dp"
android:layout_marginBottom="16dp"
app:cardCornerRadius="@dimen/m3_card_medium_radius"
2020-05-11 23:00:22 +00:00
app:cardElevation="4dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent">
2018-07-27 13:07:33 +00:00
2018-08-30 09:29:30 +00:00
<androidx.appcompat.widget.AppCompatImageView
2018-07-27 13:07:33 +00:00
android:id="@+id/player_image"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="centerCrop"
2019-09-09 13:38:49 +00:00
tools:ignore="ContentDescription,UnusedAttribute"
tools:srcCompat="@tools:sample/backgrounds/scenic[2]" />
2018-07-27 13:07:33 +00:00
<View
android:layout_width="match_parent"
android:layout_height="wrap_content"
2018-11-05 13:53:07 +00:00
android:background="@drawable/shadow_up_edited" />
</com.google.android.material.card.MaterialCardView>
2020-05-11 23:00:22 +00:00
</androidx.constraintlayout.widget.ConstraintLayout>