mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-09-19 19:59:40 +02:00
149 lines
5.9 KiB
XML
149 lines
5.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<android.support.v7.widget.CardView
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:id="@+id/cv_mal"
|
|
style="@style/Theme.Widget.CardView"
|
|
>
|
|
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:padding="@dimen/card_margin">
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/myanimelist_title_layout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="?android:listPreferredItemHeightSmall"
|
|
android:background="?attr/selectable_list_drawable"
|
|
android:clickable="true"
|
|
android:paddingLeft="?android:listPreferredItemPaddingLeft"
|
|
android:paddingRight="?android:listPreferredItemPaddingRight">
|
|
|
|
<TextView
|
|
style="@style/TextAppearance.Regular.Body1"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerVertical="true"
|
|
android:text="Title"/>
|
|
|
|
<TextView
|
|
android:id="@+id/myanimelist_title"
|
|
style="@style/TextAppearance.Medium.Button"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_centerVertical="true"
|
|
android:text="@string/action_edit"/>
|
|
|
|
</RelativeLayout>
|
|
|
|
<View
|
|
android:id="@+id/divider1"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="1dp"
|
|
android:layout_below="@id/myanimelist_title_layout"
|
|
android:background="?android:attr/divider"/>
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/myanimelist_status_layout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="?android:listPreferredItemHeightSmall"
|
|
android:layout_below="@id/divider1"
|
|
android:background="?attr/selectable_list_drawable"
|
|
android:clickable="true"
|
|
android:paddingLeft="?android:listPreferredItemPaddingLeft"
|
|
android:paddingRight="?android:listPreferredItemPaddingRight"
|
|
>
|
|
|
|
<TextView
|
|
style="@style/TextAppearance.Regular.Body1"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerVertical="true"
|
|
android:text="Status"/>
|
|
|
|
<TextView
|
|
android:id="@+id/myanimelist_status"
|
|
style="@style/TextAppearance.Regular.Body1.Secondary"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_centerVertical="true"
|
|
tools:text="Reading"/>
|
|
|
|
</RelativeLayout>
|
|
|
|
<View
|
|
android:id="@+id/divider2"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="1dp"
|
|
android:layout_below="@id/myanimelist_status_layout"
|
|
android:background="?android:attr/divider"/>
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/myanimelist_chapters_layout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="?android:listPreferredItemHeightSmall"
|
|
android:layout_below="@id/divider2"
|
|
android:background="?attr/selectable_list_drawable"
|
|
android:clickable="true"
|
|
android:paddingLeft="?android:listPreferredItemPaddingLeft"
|
|
android:paddingRight="?android:listPreferredItemPaddingRight">
|
|
|
|
<TextView
|
|
style="@style/TextAppearance.Regular.Body1"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerVertical="true"
|
|
android:text="Chapters"/>
|
|
|
|
<TextView
|
|
android:id="@+id/myanimelist_chapters"
|
|
style="@style/TextAppearance.Regular.Body1.Secondary"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_centerVertical="true"
|
|
tools:text="12/24"/>
|
|
|
|
</RelativeLayout>
|
|
|
|
<View
|
|
android:id="@+id/divider3"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="1dp"
|
|
android:layout_below="@id/myanimelist_chapters_layout"
|
|
android:background="?android:attr/divider"/>
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/myanimelist_score_layout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="?android:listPreferredItemHeightSmall"
|
|
android:layout_below="@id/divider3"
|
|
android:background="?attr/selectable_list_drawable"
|
|
android:clickable="true"
|
|
android:paddingLeft="?android:listPreferredItemPaddingLeft"
|
|
android:paddingRight="?android:listPreferredItemPaddingRight">
|
|
|
|
<TextView
|
|
style="@style/TextAppearance.Regular.Body1"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerVertical="true"
|
|
android:text="@string/score"/>
|
|
|
|
<TextView
|
|
android:id="@+id/myanimelist_score"
|
|
style="@style/TextAppearance.Regular.Body1.Secondary"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_centerVertical="true"
|
|
tools:text="10"/>
|
|
|
|
</RelativeLayout>
|
|
|
|
</RelativeLayout>
|
|
|
|
</android.support.v7.widget.CardView> |