mirror of
https://github.com/cmclark00/RetroMusicPlayer.git
synced 2025-05-23 02:15:46 +01:00
70 lines
2.5 KiB
XML
70 lines
2.5 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<LinearLayout 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/root_layout"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:orientation="vertical">
|
||
|
|
||
|
<android.support.v7.widget.CardView
|
||
|
android:id="@+id/image_container"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="182dp"
|
||
|
app:cardCornerRadius="8dp"
|
||
|
app:cardElevation="6dp"
|
||
|
app:cardUseCompatPadding="true">
|
||
|
|
||
|
<View
|
||
|
android:id="@+id/gradient_background"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent"
|
||
|
android:background="@drawable/gradient_3"
|
||
|
android:scaleType="centerCrop"/>
|
||
|
|
||
|
<android.support.v7.widget.AppCompatImageButton
|
||
|
android:id="@+id/play_songs"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_margin="12dp"
|
||
|
android:layout_gravity="bottom|end"
|
||
|
android:padding="12dp"
|
||
|
android:background="@drawable/color_circle_gradient"
|
||
|
android:backgroundTint="@color/eighty_percent_black_overlay"
|
||
|
app:srcCompat="@drawable/ic_play_arrow_white_24dp"/>
|
||
|
|
||
|
<LinearLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_gravity="bottom"
|
||
|
android:orientation="vertical">
|
||
|
|
||
|
<android.support.v7.widget.AppCompatTextView
|
||
|
android:id="@+id/text"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent"
|
||
|
android:paddingTop="8dp"
|
||
|
android:paddingStart="8dp"
|
||
|
android:paddingEnd="8dp"
|
||
|
android:alpha="0.75"
|
||
|
android:ellipsize="end"
|
||
|
android:maxLines="1"
|
||
|
android:textColor="@color/md_white_1000"
|
||
|
tools:ignore="MissingPrefix"
|
||
|
tools:text="My top tracks"/>
|
||
|
|
||
|
<android.support.v7.widget.AppCompatTextView
|
||
|
android:id="@+id/title"
|
||
|
fontPath="@string/circular_std_black"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent"
|
||
|
android:padding="8dp"
|
||
|
android:ellipsize="end"
|
||
|
android:maxLines="1"
|
||
|
android:textAppearance="@style/TextAppearance.AppCompat.Subhead"
|
||
|
android:textColor="@color/md_white_1000"
|
||
|
tools:ignore="MissingPrefix"
|
||
|
tools:text="My top tracks"/>
|
||
|
</LinearLayout>
|
||
|
</android.support.v7.widget.CardView>
|
||
|
</LinearLayout>
|