aniyomi/app/src/main/res/layout/item_download.xml

55 lines
2 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
2016-05-12 15:28:44 +03:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="15dp"
android:layout_marginRight="15dp"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:orientation="horizontal">
2016-05-12 15:28:44 +03:00
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical">
<TextView
2016-05-12 15:28:44 +03:00
android:id="@+id/manga_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2016-05-12 15:28:44 +03:00
android:text="Manga Title"
android:textAppearance="@style/TextAppearance.Regular.Body1"/>
<TextView
android:id="@+id/download_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Chapter Title"
android:textAppearance="@style/TextAppearance.Regular.Caption"/>
</LinearLayout>
<View
android:layout_width="0dp"
android:layout_height="0dp"
android:layout_weight="1" />
<TextView
2016-05-12 15:28:44 +03:00
android:id="@+id/download_progress_text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2016-05-12 15:28:44 +03:00
android:layout_gravity="start"
android:textAppearance="@style/TextAppearance.Regular.Caption.Hint"
android:text="(0/10)"/>
</LinearLayout>
<ProgressBar
2016-05-12 15:28:44 +03:00
android:id="@+id/download_progress"
style="?android:attr/progressBarStyleHorizontal"
android:layout_width="match_parent"
2016-05-12 15:28:44 +03:00
android:layout_height="wrap_content"/>
</LinearLayout>