mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-18 01:59:19 +01:00
4e7b8c98f9
* Make the download progress status smoother * Download status icon cleanup
51 lines
1.8 KiB
XML
51 lines
1.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="42dp"
|
|
android:layout_height="42dp"
|
|
android:padding="8dp"
|
|
android:background="?selectableItemBackgroundBorderless">
|
|
|
|
<ImageView
|
|
android:id="@+id/download_icon_border"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:padding="2dp"
|
|
android:scaleType="fitXY"
|
|
app:srcCompat="@drawable/border_circle"
|
|
app:tint="?android:attr/textColorHint"
|
|
tools:ignore="ContentDescription" />
|
|
|
|
<ImageView
|
|
android:id="@+id/download_icon"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:padding="4dp"
|
|
android:scaleType="fitXY"
|
|
app:srcCompat="@drawable/ic_arrow_downward_24dp"
|
|
app:tint="?android:attr/textColorHint"
|
|
tools:ignore="ContentDescription" />
|
|
|
|
<com.google.android.material.progressindicator.CircularProgressIndicator
|
|
android:id="@+id/download_progress"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:padding="1dp"
|
|
android:visibility="gone"
|
|
app:indicatorColor="?android:attr/textColorHint"
|
|
app:indicatorInset="0dp"
|
|
app:indicatorSize="24dp"
|
|
app:trackThickness="2dp" />
|
|
|
|
<ImageView
|
|
android:id="@+id/download_status_icon"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:scaleType="fitXY"
|
|
android:visibility="gone"
|
|
app:tint="?android:attr/textColorPrimary"
|
|
tools:ignore="ContentDescription" />
|
|
|
|
</FrameLayout>
|