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

32 lines
1.3 KiB
XML
Raw Normal View History

2018-07-27 13:07:33 +00:00
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout 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:layout_width="match_parent"
android:layout_height="match_parent">
2019-09-09 13:38:49 +00:00
<com.google.android.material.card.MaterialCardView
2018-07-27 13:07:33 +00:00
android:id="@+id/player_album_art_frame"
android:layout_width="match_parent"
android:layout_height="match_parent"
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"
2018-07-27 13:07:33 +00:00
app:cardCornerRadius="12dp"
2018-11-05 13:53:07 +00:00
app:cardElevation="4dp">
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>
2018-07-27 13:07:33 +00:00
</FrameLayout>