<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
	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="@dimen/chapter_list_item_height"
	android:background="?selectableItemBackground">

	<TextView
		android:id="@+id/textView_number"
		android:layout_width="wrap_content"
		android:layout_height="wrap_content"
		android:layout_centerVertical="true"
		android:layout_marginStart="12dp"
		android:layout_marginEnd="10dp"
		android:background="@drawable/bg_badge_default"
		android:gravity="center"
		android:minWidth="26dp"
		android:textAlignment="center"
		android:textColor="?android:textColorSecondaryInverse"
		tools:text="13" />

	<TextView
		android:id="@+id/textView_title"
		android:layout_width="match_parent"
		android:layout_height="wrap_content"
		android:layout_centerVertical="true"
		android:layout_marginEnd="12dp"
		android:layout_toEndOf="@id/textView_number"
		android:ellipsize="end"
		android:maxLines="2"
		android:text="?android:textColorPrimary"
		android:textAppearance="@style/TextAppearance.AppCompat.Body1"
		tools:text="@tools:sample/lorem[15]" />

</RelativeLayout>