<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="@drawable/shape_chapter_msg">

    <androidx.appcompat.widget.LinearLayoutCompat
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_centerInParent="true"
        android:layout_marginLeft="20dp"
        android:layout_marginRight="20dp"
        android:orientation="vertical">

        <TextView
            android:id="@+id/chapter_name"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:ellipsize="end"
            android:maxLines="1"
            android:textColor="@color/color_withe"
            android:textSize="@dimen/s_dp_15" />

        <TextView
            android:id="@+id/chapter_progress"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginTop="@dimen/s_dp_5"
            android:ellipsize="end"
            android:gravity="right"
            android:maxLines="1"
            android:text="@string/zero_percent"
            android:textColor="#99cdcbcb"
            android:textSize="@dimen/s_dp_12" />
    </androidx.appcompat.widget.LinearLayoutCompat>

</RelativeLayout>