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

37 lines
1.4 KiB
XML
Raw Normal View History

2022-06-13 19:45:02 +05:30
<?xml version="1.0" encoding="utf-8"?>
2022-07-23 03:28:23 +05:30
<com.google.android.material.card.MaterialCardView 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-07-23 03:28:23 +05:30
android:layout_width="wrap_content"
android:layout_height="match_parent"
2022-07-28 19:46:12 +05:30
xmlns:tools="http://schemas.android.com/tools"
2022-06-30 17:49:54 +05:30
android:background="?attr/selectableItemBackground"
2022-07-23 03:28:23 +05:30
android:backgroundTint="@android:color/transparent"
app:strokeWidth="0dp">
2022-06-13 19:45:02 +05:30
2022-07-23 03:28:23 +05:30
<LinearLayout
android:id="@+id/chapterLL"
android:layout_width="100dp"
android:layout_height="match_parent"
android:orientation="vertical"
android:paddingHorizontal="5dp">
2022-06-13 19:45:02 +05:30
2022-07-23 03:28:23 +05:30
<com.google.android.material.imageview.ShapeableImageView
android:id="@+id/chapter_image"
android:layout_width="match_parent"
android:layout_height="55dp"
android:src="@mipmap/ic_launcher"
app:shapeAppearanceOverlay="@style/roundedImageViewRounded" />
2022-06-13 19:45:02 +05:30
2022-07-23 03:28:23 +05:30
<TextView
android:id="@+id/chapter_title"
2022-07-28 19:41:35 +05:30
tools:text="Title"
2022-07-23 03:28:23 +05:30
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="3dp"
android:ellipsize="end"
android:maxLines="3"
android:textSize="13sp" />
</LinearLayout>
</com.google.android.material.card.MaterialCardView>