summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/simplechapter_item.xml
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/res/layout/simplechapter_item.xml')
-rw-r--r--app/src/main/res/layout/simplechapter_item.xml43
1 files changed, 43 insertions, 0 deletions
diff --git a/app/src/main/res/layout/simplechapter_item.xml b/app/src/main/res/layout/simplechapter_item.xml
new file mode 100644
index 000000000..422458d5d
--- /dev/null
+++ b/app/src/main/res/layout/simplechapter_item.xml
@@ -0,0 +1,43 @@
+<?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="wrap_content"
+ android:paddingBottom="12dp"
+ android:paddingTop="12dp">
+
+ <TextView
+ android:id="@+id/txtvStart"
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:layout_alignParentRight="true"
+ android:layout_centerVertical="true"
+ android:layout_margin="8dp"
+ android:textColor="?android:attr/textColorSecondary"
+ android:textSize="@dimen/text_size_small"/>
+
+ <TextView
+ android:id="@+id/txtvTitle"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_alignParentLeft="true"
+ android:layout_alignParentTop="true"
+ android:padding="8dp"
+ android:layout_toLeftOf="@id/txtvStart"
+ android:textColor="?android:attr/textColorPrimary"
+ android:textSize="@dimen/text_size_small"/>
+
+ <TextView
+ android:id="@+id/txtvLink"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_alignParentLeft="true"
+ android:layout_below="@id/txtvTitle"
+ android:layout_marginLeft="8dp"
+ android:layout_marginRight="8dp"
+ android:layout_toLeftOf="@id/txtvStart"
+ android:focusable="false"
+ android:focusableInTouchMode="false"
+ android:visibility="gone"
+ android:maxLines="2" />
+
+</RelativeLayout> \ No newline at end of file