2020-12-27 23:13:13 +08:00
|
|
|
<?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"
|
2021-01-17 04:48:02 +08:00
|
|
|
android:layout_width="42dp"
|
|
|
|
android:layout_height="42dp"
|
2021-01-04 00:01:23 +08:00
|
|
|
android:padding="8dp"
|
2021-05-22 23:55:05 +08:00
|
|
|
android:background="@drawable/ripple_regular">
|
2020-12-27 23:13:13 +08:00
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/download_icon"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2020-12-29 22:15:32 +08:00
|
|
|
android:padding="4dp"
|
|
|
|
android:scaleType="fitXY"
|
2020-12-27 23:13:13 +08:00
|
|
|
app:srcCompat="@drawable/ic_arrow_downward_24dp"
|
2021-01-22 22:10:58 +08:00
|
|
|
app:tint="?android:attr/textColorHint"
|
2020-12-27 23:13:13 +08:00
|
|
|
tools:ignore="ContentDescription" />
|
|
|
|
|
|
|
|
<com.google.android.material.progressindicator.CircularProgressIndicator
|
|
|
|
android:id="@+id/download_progress"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2021-02-06 12:13:57 +08:00
|
|
|
android:padding="1dp"
|
2021-04-25 23:36:13 +08:00
|
|
|
android:progress="100"
|
2021-02-06 12:13:57 +08:00
|
|
|
app:indicatorColor="?android:attr/textColorHint"
|
|
|
|
app:indicatorInset="0dp"
|
|
|
|
app:indicatorSize="24dp"
|
|
|
|
app:trackThickness="2dp" />
|
|
|
|
|
2020-12-27 23:13:13 +08:00
|
|
|
<ImageView
|
2021-04-25 22:42:06 +08:00
|
|
|
android:id="@+id/download_status_icon"
|
2020-12-27 23:13:13 +08:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2020-12-29 22:15:32 +08:00
|
|
|
android:scaleType="fitXY"
|
2020-12-27 23:13:13 +08:00
|
|
|
tools:ignore="ContentDescription" />
|
|
|
|
|
|
|
|
</FrameLayout>
|