RetroMusicPlayer/app/src/main/res/layout/fragment_album_cover.xml

29 lines
1.3 KiB
XML
Raw Normal View History

2018-07-27 18:37:33 +05:30
<?xml version="1.0" encoding="utf-8"?>
2020-05-12 03:54:09 +05:30
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
2018-07-27 18:37:33 +05:30
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
2020-01-24 22:24:08 +05:30
android:layout_height="match_parent">
2018-07-27 18:37:33 +05:30
2020-05-12 03:54:09 +05:30
<com.google.android.material.card.MaterialCardView
android:layout_width="0dp"
android:layout_height="0dp"
app:cardCornerRadius="@dimen/m3_card_corner_radius"
2020-05-12 03:54:09 +05:30
app:cardElevation="8dp"
2020-05-17 22:18:36 +05:30
app:cardUseCompatPadding="true"
app:layout_constraintBottom_toBottomOf="parent"
2020-05-12 03:54:09 +05:30
app:layout_constraintDimensionRatio="1:1"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent">
2018-07-27 18:37:33 +05:30
2020-01-24 22:24:08 +05:30
<androidx.appcompat.widget.AppCompatImageView
android:id="@+id/player_image"
2018-07-27 18:37:33 +05:30
android:layout_width="match_parent"
2018-12-08 09:04:15 +05:30
android:layout_height="match_parent"
2020-01-24 22:24:08 +05:30
android:scaleType="centerCrop"
tools:ignore="ContentDescription,UnusedAttribute"
2020-10-02 23:35:09 +05:30
tools:srcCompat="@tools:sample/backgrounds/scenic" />
2018-07-27 18:37:33 +05:30
2020-05-12 03:54:09 +05:30
</com.google.android.material.card.MaterialCardView>
</androidx.constraintlayout.widget.ConstraintLayout>