mihon/app/src/main/res/layout/chapter_download_view.xml
Ivan Iskandar 932c92412c
More themes cleanup (#5410)
* More themes cleanup

* Tweak some things

* Fix 'Clear History' icon

* Split out ripple colored to its own drawable

* Tidy up things

* Unify background dim amount

* Use primaryColor for Account login button

* More colored ripples

* use colorOnPrimary for selected comfortable library item title

Co-authored-by: Soitora <simon.mattila@protonmail.com>
2021-06-19 15:45:16 -04:00

37 lines
1.3 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:background="?attr/selectableItemBackgroundBorderless"
android:padding="8dp">
<ImageView
android:id="@+id/download_status_icon"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="fitXY"
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="2dp"
android:progress="100"
app:indicatorInset="0dp"
app:indicatorSize="22dp" />
<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" />
</FrameLayout>