mihon/app/src/main/res/layout/chapter_download_view.xml

39 lines
1.4 KiB
XML
Raw Normal View History

<?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"
2021-01-03 17:01:23 +01:00
android:padding="8dp"
android:background="@drawable/ripple_regular">
<ImageView
android:id="@+id/download_icon"
android:layout_width="match_parent"
android:layout_height="match_parent"
2020-12-29 15:15:32 +01:00
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:progress="100"
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"
2020-12-29 15:15:32 +01:00
android:scaleType="fitXY"
tools:ignore="ContentDescription" />
</FrameLayout>