2020-03-02 02:44:24 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<eu.kanade.tachiyomi.ui.download.DownloadButton xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:id="@+id/download_button"
|
|
|
|
android:clickable="true"
|
|
|
|
android:focusable="true"
|
|
|
|
android:layout_width="30dp"
|
|
|
|
android:layout_height="30dp">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/download_border"
|
|
|
|
android:layout_width="30dp"
|
|
|
|
android:layout_height="30dp"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:src="@drawable/border_circle"
|
|
|
|
android:padding="3dp"/>
|
|
|
|
|
|
|
|
<ProgressBar
|
|
|
|
android:id="@+id/download_progress_indeterminate"
|
|
|
|
android:layout_width="30dp"
|
|
|
|
android:layout_height="30dp"
|
|
|
|
android:visibility="gone"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:indeterminate="true"
|
|
|
|
android:indeterminateTint="@color/material_on_surface_disabled"/>
|
|
|
|
|
|
|
|
<ProgressBar
|
|
|
|
android:id="@+id/download_progress"
|
|
|
|
android:layout_width="30dp"
|
|
|
|
android:layout_height="30dp"
|
|
|
|
android:visibility="gone"
|
|
|
|
tools:visibility="visible"
|
|
|
|
style="?android:attr/progressBarStyleHorizontal"
|
|
|
|
android:progressDrawable="@drawable/circle_progress"
|
|
|
|
android:layout_gravity="center"
|
2020-04-14 04:36:54 +02:00
|
|
|
android:progressTint="@color/download"
|
2020-03-02 02:44:24 +01:00
|
|
|
android:progressBackgroundTint="@color/material_on_surface_disabled"/>
|
|
|
|
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/download_icon"
|
|
|
|
android:tint="?colorAccent"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:layout_width="30dp"
|
|
|
|
android:layout_height="30dp"
|
|
|
|
android:background="@drawable/round_ripple"
|
|
|
|
android:padding="5dp"
|
2020-05-21 09:29:22 +02:00
|
|
|
android:src="@drawable/ic_arrow_downward_24dp" />
|
2020-03-02 02:44:24 +01:00
|
|
|
</eu.kanade.tachiyomi.ui.download.DownloadButton>
|