mirror of
https://github.com/cmclark00/RetroMusicPlayer.git
synced 2025-05-22 09:55:20 +01:00
70 lines
2.4 KiB
XML
70 lines
2.4 KiB
XML
|
<?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="wrap_content"
|
||
|
android:background="?rectSelector"
|
||
|
tools:ignore="MissingPrefix">
|
||
|
|
||
|
<LinearLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent"
|
||
|
android:gravity="center"
|
||
|
android:orientation="vertical"
|
||
|
tools:ignore="UnusedAttribute,UselessParent">
|
||
|
|
||
|
<code.name.monkey.retromusic.views.WidthFitSquareLayout
|
||
|
android:id="@+id/image_container"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent"
|
||
|
android:layout_margin="4dp">
|
||
|
<code.name.monkey.retromusic.views.RoundCornerFrameLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent"
|
||
|
app:corner_radius="200dp"
|
||
|
>
|
||
|
<ImageView
|
||
|
android:id="@+id/image"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent"
|
||
|
android:scaleType="centerCrop"
|
||
|
tools:background="@color/md_red_400"
|
||
|
tools:ignore="ContentDescription"/>
|
||
|
</code.name.monkey.retromusic.views.RoundCornerFrameLayout>
|
||
|
</code.name.monkey.retromusic.views.WidthFitSquareLayout>
|
||
|
|
||
|
<LinearLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:paddingTop="8dp"
|
||
|
android:paddingBottom="8dp"
|
||
|
android:paddingStart="4dp"
|
||
|
android:paddingEnd="4dp"
|
||
|
android:gravity="center"
|
||
|
android:orientation="vertical">
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/title"
|
||
|
fontPath="@string/circular_std_black"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:ellipsize="end"
|
||
|
android:gravity="center"
|
||
|
android:singleLine="true"
|
||
|
android:textColor="?android:attr/textColorPrimary"/>
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/text"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:paddingTop="4dp"
|
||
|
android:gravity="center"
|
||
|
android:singleLine="true"
|
||
|
android:textColor="?android:attr/textColorSecondary"
|
||
|
android:textSize="12sp"/>
|
||
|
|
||
|
</LinearLayout>
|
||
|
</LinearLayout>
|
||
|
</FrameLayout>
|