| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- <?xml version="1.0" encoding="utf-8"?>
- <com.google.android.material.card.MaterialCardView
- 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"
- app:strokeWidth="0dp"
- app:cardBackgroundColor="@android:color/transparent"
- android:layout_margin="4dp">
- <androidx.constraintlayout.widget.ConstraintLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:focusable="true"
- android:foreground="?android:attr/selectableItemBackground"
- android:padding="12dp"
- android:scrollbars="none">
- <io.legato.kazusa.ui.widget.image.FilletImageView
- android:id="@+id/iv_icon"
- android:layout_width="50dp"
- android:layout_height="50dp"
- android:scaleType="centerCrop"
- android:scrollbars="none"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintRight_toRightOf="parent"
- app:layout_constraintTop_toTopOf="parent"
- app:radius="12dp" />
- <TextView
- android:id="@+id/tv_name"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginTop="8dp"
- android:ellipsize="end"
- android:gravity="top|center_horizontal"
- android:lines="2"
- android:scrollbars="none"
- android:textSize="12sp"
- android:textStyle="bold"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintRight_toRightOf="parent"
- app:layout_constraintTop_toBottomOf="@+id/iv_icon"
- tools:text="RSS" />
- </androidx.constraintlayout.widget.ConstraintLayout>
- </com.google.android.material.card.MaterialCardView>
|