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

68 lines
2.5 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"
2018-08-08 08:03:38 +00:00
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
2018-07-27 13:07:33 +00:00
android:layout_width="match_parent"
2018-08-08 08:03:38 +00:00
android:layout_height="wrap_content"
android:background="?rectSelector"
tools:ignore="MissingPrefix">
2018-07-27 13:07:33 +00:00
2018-08-08 08:03:38 +00:00
<LinearLayout
2018-07-27 13:07:33 +00:00
android:layout_width="match_parent"
android:layout_height="match_parent"
2018-08-08 08:03:38 +00:00
android:gravity="center"
android:orientation="vertical"
tools:ignore="UnusedAttribute,UselessParent">
2018-07-27 13:07:33 +00:00
2018-08-08 08:03:38 +00:00
<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">
2018-07-27 13:07:33 +00:00
2018-08-08 08:03:38 +00:00
<code.name.monkey.retromusic.views.CircularImageView
android:id="@+id/image"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="centerCrop"
app:civ_border="false"
app:civ_shadow="false"
tools:background="@color/md_red_400"
tools:ignore="ContentDescription" />
2018-07-27 13:07:33 +00:00
2018-08-08 08:03:38 +00:00
</code.name.monkey.retromusic.views.WidthFitSquareLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:orientation="vertical"
android:paddingStart="4dp"
android:paddingTop="8dp"
android:paddingEnd="4dp"
android:paddingBottom="8dp">
<TextView
android:id="@+id/title"
2018-12-04 15:34:26 +00:00
android:textStyle="bold"
2018-08-08 08:03:38 +00:00
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:gravity="center"
android:paddingTop="4dp"
android:singleLine="true"
android:textColor="?android:attr/textColorSecondary"
android:textSize="12sp" />
2018-07-27 13:07:33 +00:00
2018-08-08 08:03:38 +00:00
</LinearLayout>
2018-07-27 13:07:33 +00:00
</LinearLayout>
</FrameLayout>