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

68 lines
2.7 KiB
XML
Raw Normal View History

2018-07-27 18:37:33 +05:30
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
2018-08-08 13:33:38 +05:30
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
2018-07-27 18:37:33 +05:30
android:layout_width="match_parent"
2018-08-08 13:33:38 +05:30
android:layout_height="wrap_content"
2020-01-06 11:04:09 +05:30
android:layout_margin="2dp"
2018-08-08 13:33:38 +05:30
android:background="?rectSelector"
tools:ignore="MissingPrefix">
2018-07-27 18:37:33 +05:30
2018-08-08 13:33:38 +05:30
<LinearLayout
2018-07-27 18:37:33 +05:30
android:layout_width="match_parent"
android:layout_height="match_parent"
2018-08-08 13:33:38 +05:30
android:gravity="center"
android:orientation="vertical"
tools:ignore="UnusedAttribute,UselessParent">
2018-07-27 18:37:33 +05:30
2018-08-08 13:33:38 +05:30
<code.name.monkey.retromusic.views.WidthFitSquareLayout
2019-11-08 22:37:30 +05:30
android:id="@+id/imageContainer"
2018-08-08 13:33:38 +05:30
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_margin="4dp">
2018-07-27 18:37:33 +05:30
2018-08-08 13:33:38 +05:30
<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"
2019-10-26 19:44:09 +05:30
tools:ignore="ContentDescription"
tools:src="@tools:sample/avatars" />
2018-07-27 18:37:33 +05:30
2018-08-08 13:33:38 +05:30
</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">
2019-09-28 23:22:49 +05:30
<com.google.android.material.textview.MaterialTextView
2018-08-08 13:33:38 +05:30
android:id="@+id/title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2019-12-26 20:55:41 +05:30
android:gravity="center"
android:maxLines="2"
android:textAppearance="@style/TextViewSubtitle1"
2019-12-08 20:05:03 +05:30
android:textColor="?android:attr/textColorPrimary"
2019-09-28 23:22:49 +05:30
android:textStyle="bold"
2019-12-26 20:55:41 +05:30
tools:text="@tools:sample/lorem/random" />
2018-08-08 13:33:38 +05:30
2019-09-28 23:22:49 +05:30
<com.google.android.material.textview.MaterialTextView
2018-08-08 13:33:38 +05:30
android:id="@+id/text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2019-12-08 20:05:03 +05:30
android:paddingTop="2dp"
2018-08-08 13:33:38 +05:30
android:singleLine="true"
2019-12-08 20:05:03 +05:30
android:textColor="?android:attr/textColorSecondary"
tools:text="@tools:sample/lorem" />
2018-08-08 13:33:38 +05:30
</LinearLayout>
2018-07-27 18:37:33 +05:30
</LinearLayout>
</FrameLayout>