LibreTube/app/src/main/res/layout/chapter_column.xml

27 lines
991 B
XML
Raw Normal View History

2022-06-13 19:45:02 +05:30
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
2022-06-28 20:59:31 +05:30
xmlns:app="http://schemas.android.com/apk/res-auto"
2022-06-28 20:23:18 +05:30
android:layout_width="100dp"
2022-06-27 22:47:52 +05:30
android:layout_height="wrap_content"
2022-06-30 17:49:54 +05:30
android:background="?attr/selectableItemBackground"
2022-07-01 13:59:00 +05:30
android:orientation="vertical"
android:paddingHorizontal="5dp">
2022-06-13 19:45:02 +05:30
2022-06-28 20:23:18 +05:30
<com.google.android.material.imageview.ShapeableImageView
2022-06-13 19:45:02 +05:30
android:id="@+id/chapter_image"
2022-06-28 20:23:18 +05:30
android:layout_width="match_parent"
android:layout_height="55dp"
2022-06-28 20:59:31 +05:30
android:src="@mipmap/ic_launcher"
app:shapeAppearanceOverlay="@style/roundedImageViewRounded" />
2022-06-13 19:45:02 +05:30
<TextView
android:id="@+id/chapter_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="3dp"
android:ellipsize="end"
2022-06-27 22:47:52 +05:30
android:maxLines="3"
2022-06-13 19:45:02 +05:30
android:text="Title"
android:textSize="13sp" />
</LinearLayout>