Adjust download icon sizing

This commit is contained in:
arkon 2020-12-29 09:15:32 -05:00
parent cef1c4b8a1
commit 8135136c86

View file

@ -2,14 +2,18 @@
<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="24dp"
android:layout_height="24dp"
android:background="?selectableItemBackgroundBorderless">
android:layout_width="28dp"
android:layout_height="28dp"
android:background="?selectableItemBackgroundBorderless"
android:clickable="true"
android:focusable="true">
<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="@color/material_on_surface_emphasis_medium"
tools:ignore="ContentDescription" />
@ -18,7 +22,8 @@
android:id="@+id/download_icon"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:padding="3dp"
android:padding="4dp"
android:scaleType="fitXY"
app:srcCompat="@drawable/ic_arrow_downward_24dp"
app:tint="@color/material_on_surface_emphasis_medium"
tools:ignore="ContentDescription" />
@ -39,6 +44,8 @@
android:id="@+id/downloaded_icon"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="fitXY"
android:visibility="gone"
app:srcCompat="@drawable/ic_check_circle_24dp"
app:tint="@color/material_on_surface_emphasis_medium"
tools:ignore="ContentDescription" />
@ -47,6 +54,8 @@
android:id="@+id/error_icon"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="fitXY"
android:visibility="gone"
app:srcCompat="@drawable/ic_error_outline_24dp"
app:tint="?attr/colorError"
tools:ignore="ContentDescription" />