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

56 lines
2.2 KiB
XML
Raw Normal View History

2018-07-27 18:37:33 +05:30
<?xml version="1.0" encoding="utf-8"?>
2020-05-14 19:07:15 +05:30
<androidx.constraintlayout.widget.ConstraintLayout 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"
2020-05-14 19:07:15 +05:30
android:padding="4dp"
2018-08-08 13:33:38 +05:30
tools:ignore="MissingPrefix">
2018-07-27 18:37:33 +05:30
2020-12-04 02:27:44 +05:30
<code.name.monkey.retromusic.views.RetroShapeableImageView
2020-05-14 19:07:15 +05:30
android:id="@+id/image"
android:layout_width="0dp"
android:layout_height="0dp"
android:scaleType="centerCrop"
app:civ_border="false"
app:civ_shadow="false"
app:layout_constraintDimensionRatio="1:1"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
tools:ignore="ContentDescription"
tools:src="@tools:sample/avatars" />
2018-07-27 18:37:33 +05:30
2020-05-21 05:25:28 +05:30
<LinearLayout
android:layout_width="match_parent"
2020-05-14 19:07:15 +05:30
android:layout_height="wrap_content"
2020-05-23 20:39:07 +05:30
android:gravity="center"
2020-05-21 05:25:28 +05:30
android:orientation="vertical"
android:padding="12dp"
2020-05-14 19:07:15 +05:30
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
2020-05-21 05:25:28 +05:30
app:layout_constraintTop_toBottomOf="@id/image">
2018-08-08 13:33:38 +05:30
2020-05-21 05:25:28 +05:30
<com.google.android.material.textview.MaterialTextView
android:id="@+id/title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center"
android:singleLine="true"
android:textAppearance="@style/TextViewSubtitle1"
android:textStyle="bold"
tools:text="@tools:sample/full_names" />
<com.google.android.material.textview.MaterialTextView
android:id="@+id/text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center"
android:singleLine="true"
tools:text="@tools:sample/full_names" />
</LinearLayout>
2018-08-08 13:33:38 +05:30
2020-05-14 19:07:15 +05:30
</androidx.constraintlayout.widget.ConstraintLayout>