mirror of
https://github.com/aniyomiorg/aniyomi.git
synced 2024-12-23 13:50:38 +03:00
65c07450da
- Manga order by title in library - New chapter list item design - Chapter item popup - Color normalisation to Material Design pallets - Theme and style fixes
85 lines
No EOL
3.1 KiB
XML
85 lines
No EOL
3.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="?android:attr/listPreferredItemHeight"
|
|
android:padding="6dip"
|
|
android:background="@drawable/selector_chapter_light">
|
|
|
|
<RelativeLayout
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="18dp"
|
|
android:id="@+id/relativeLayout"
|
|
android:layout_alignParentBottom="true"
|
|
android:layout_alignParentLeft="true"
|
|
android:layout_alignParentStart="true">
|
|
|
|
<TextView
|
|
android:id="@+id/chapter_pages"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="fill_parent"
|
|
android:ellipsize="marquee"
|
|
android:singleLine="true"
|
|
android:textSize="12sp"
|
|
tools:text="Pages: 45"
|
|
android:layout_alignParentTop="true"
|
|
android:layout_centerHorizontal="true"/>
|
|
|
|
<TextView
|
|
android:id="@+id/chapter_date"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="fill_parent"
|
|
android:ellipsize="marquee"
|
|
android:singleLine="true"
|
|
android:textSize="12sp"
|
|
tools:text="22/02/2016"/>
|
|
|
|
<TextView
|
|
android:id="@+id/download_text"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="fill_parent"
|
|
android:textSize="12sp"
|
|
android:textColor="@color/accent_text"
|
|
android:text="@string/chapter_downloaded"
|
|
android:layout_centerVertical="true"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_alignParentEnd="true"/>
|
|
</RelativeLayout>
|
|
|
|
<TextView
|
|
android:id="@+id/chapter_title"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignWithParentIfMissing="true"
|
|
android:gravity="center_vertical"
|
|
android:textSize="20sp"
|
|
android:ellipsize="end"
|
|
android:maxLines="1"
|
|
tools:text="Title"
|
|
android:layout_alignParentTop="true"
|
|
android:layout_alignParentLeft="true"
|
|
android:layout_alignParentStart="true"
|
|
android:layout_toStartOf="@+id/relativeLayout2"
|
|
android:layout_toLeftOf="@+id/relativeLayout2"/>
|
|
|
|
<RelativeLayout
|
|
android:layout_width="30dp"
|
|
android:layout_height="30dp"
|
|
android:layout_alignParentTop="true"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_alignParentEnd="true"
|
|
android:layout_gravity="center_vertical"
|
|
android:gravity="center"
|
|
android:id="@+id/relativeLayout2"
|
|
android:layout_above="@+id/relativeLayout">
|
|
<ImageView
|
|
android:id="@+id/chapter_menu"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:scaleType="fitXY"
|
|
android:src="@drawable/ic_more_horiz_black_36dp"
|
|
android:background="?android:selectableItemBackground"/>
|
|
</RelativeLayout>
|
|
|
|
|
|
</RelativeLayout> |