diff options
Diffstat (limited to 'app/src/main/res/layout/simplechapter_item.xml')
-rw-r--r-- | app/src/main/res/layout/simplechapter_item.xml | 24 |
1 files changed, 18 insertions, 6 deletions
diff --git a/app/src/main/res/layout/simplechapter_item.xml b/app/src/main/res/layout/simplechapter_item.xml index b7f4cdb18..fae6bac8c 100644 --- a/app/src/main/res/layout/simplechapter_item.xml +++ b/app/src/main/res/layout/simplechapter_item.xml @@ -1,8 +1,10 @@ <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="@dimen/listitem_threeline_height" - android:orientation="horizontal"> + android:orientation="horizontal" + tools:background="@android:color/darker_gray"> <TextView android:id="@+id/txtvStart" @@ -11,7 +13,9 @@ android:layout_height="match_parent" android:layout_gravity="center_vertical" android:layout_marginLeft="@dimen/listitem_threeline_horizontalpadding" - android:gravity="center_vertical" /> + android:gravity="center_vertical" + tools:text="Start" + tools:background="@android:color/holo_green_dark" /> <LinearLayout android:layout_width="0dp" @@ -22,7 +26,8 @@ android:layout_marginTop="@dimen/listitem_threeline_verticalpadding" android:layout_weight="1" android:gravity="center_vertical" - android:orientation="vertical"> + android:orientation="vertical" + tools:background="@android:color/holo_red_dark"> <TextView android:id="@+id/txtvTitle" @@ -32,7 +37,9 @@ android:ellipsize="end" android:maxLines="2" android:textColor="?android:attr/textColorPrimary" - android:textSize="16sp" /> + android:textSize="16sp" + tools:text="Chapter title" + tools:background="@android:color/holo_green_dark" /> <TextView android:id="@+id/txtvLink" @@ -41,7 +48,10 @@ android:focusable="false" android:focusableInTouchMode="false" android:maxLines="1" - android:visibility="gone" /> + android:visibility="gone" + tools:visibility="visible" + tools:text="Link" + tools:background="@android:color/holo_green_dark" /> </LinearLayout> @@ -56,6 +66,8 @@ android:contentDescription="@string/chapters_label" android:focusable="false" android:focusableInTouchMode="false" - android:src="?attr/av_play" /> + android:src="?attr/av_play" + tools:src="@drawable/ic_play_arrow_white_36dp" + tools:background="@android:color/holo_green_dark" /> </LinearLayout>
\ No newline at end of file |