|
|
@ -3,8 +3,11 @@
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="?android:attr/listPreferredItemHeight"
|
|
|
|
android:layout_height="?android:attr/listPreferredItemHeight"
|
|
|
|
android:padding="6dip"
|
|
|
|
android:paddingStart="?android:attr/listPreferredItemPaddingStart"
|
|
|
|
android:background="@drawable/selector_chapter_light">
|
|
|
|
android:background="@drawable/selector_chapter_light"
|
|
|
|
|
|
|
|
android:paddingEnd="?android:attr/listPreferredItemPaddingEnd"
|
|
|
|
|
|
|
|
android:paddingLeft="?android:attr/listPreferredItemPaddingLeft"
|
|
|
|
|
|
|
|
android:paddingRight="?android:attr/listPreferredItemPaddingRight">
|
|
|
|
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
<RelativeLayout
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
@ -52,33 +55,36 @@
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignWithParentIfMissing="true"
|
|
|
|
android:layout_alignWithParentIfMissing="true"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:textSize="20sp"
|
|
|
|
android:textSize="18dp"
|
|
|
|
android:ellipsize="end"
|
|
|
|
android:ellipsize="end"
|
|
|
|
android:maxLines="1"
|
|
|
|
android:maxLines="1"
|
|
|
|
tools:text="Title"
|
|
|
|
tools:text="Title"
|
|
|
|
android:layout_alignParentTop="true"
|
|
|
|
|
|
|
|
android:layout_alignParentLeft="true"
|
|
|
|
android:layout_alignParentLeft="true"
|
|
|
|
android:layout_alignParentStart="true"
|
|
|
|
android:layout_alignParentStart="true"
|
|
|
|
android:layout_toStartOf="@+id/relativeLayout2"
|
|
|
|
android:layout_above="@+id/relativeLayout"
|
|
|
|
android:layout_toLeftOf="@+id/relativeLayout2"/>
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
|
|
|
|
android:layout_alignParentEnd="true"
|
|
|
|
|
|
|
|
android:layout_alignParentTop="true"
|
|
|
|
|
|
|
|
android:paddingRight="30dp"/>
|
|
|
|
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
<RelativeLayout
|
|
|
|
android:layout_width="30dp"
|
|
|
|
android:id="@+id/chapter_menu"
|
|
|
|
android:layout_height="30dp"
|
|
|
|
android:layout_width="40dp"
|
|
|
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentTop="true"
|
|
|
|
android:layout_alignParentTop="true"
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
android:gravity="center|end"
|
|
|
|
android:layout_alignParentEnd="true"
|
|
|
|
android:layout_alignRight="@+id/chapter_title"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:layout_alignEnd="@+id/chapter_title"
|
|
|
|
android:gravity="center"
|
|
|
|
android:layout_alignBottom="@+id/relativeLayout"
|
|
|
|
android:id="@+id/relativeLayout2"
|
|
|
|
android:paddingBottom="18dp">
|
|
|
|
android:layout_above="@+id/relativeLayout">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/chapter_menu"
|
|
|
|
android:layout_width="24dp"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="24dp"
|
|
|
|
android:layout_height="fill_parent"
|
|
|
|
android:src="@drawable/ic_more_horiz_black_24dp"
|
|
|
|
android:scaleType="fitXY"
|
|
|
|
android:background="?android:selectableItemBackground"
|
|
|
|
android:src="@drawable/ic_more_horiz_black_36dp"
|
|
|
|
android:layout_alignParentTop="true"
|
|
|
|
android:background="?android:selectableItemBackground"/>
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
|
|
|
|
android:layout_alignParentEnd="false"/>
|
|
|
|
</RelativeLayout>
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|