You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Kotatsu/app/src/main/res/layout/item_page_thumb.xml

37 lines
1.1 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<FrameLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?attr/scrimBackground">
<org.koitharu.kotatsu.base.ui.widgets.CoverImageView
android:id="@+id/imageView_thumb"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:scaleType="centerCrop"
tools:src="@drawable/ic_placeholder" />
<View
android:id="@+id/handle"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="?selectableItemBackground" />
<TextView
android:id="@+id/textView_number"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="bottom|end"
android:layout_margin="8dp"
android:ellipsize="none"
android:gravity="center"
android:minWidth="26dp"
android:singleLine="true"
android:textAlignment="center"
android:textColor="?android:textColorSecondaryInverse"
tools:background="@drawable/bg_badge_default"
tools:text="2" />
</FrameLayout>