From 8135136c8604ddd267fdeb4854235567c066d11f Mon Sep 17 00:00:00 2001 From: arkon Date: Tue, 29 Dec 2020 09:15:32 -0500 Subject: [PATCH] Adjust download icon sizing --- .../main/res/layout/chapter_download_view.xml | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/app/src/main/res/layout/chapter_download_view.xml b/app/src/main/res/layout/chapter_download_view.xml index a13819ecd..c6682a322 100644 --- a/app/src/main/res/layout/chapter_download_view.xml +++ b/app/src/main/res/layout/chapter_download_view.xml @@ -2,14 +2,18 @@ + android:layout_width="28dp" + android:layout_height="28dp" + android:background="?selectableItemBackgroundBorderless" + android:clickable="true" + android:focusable="true"> @@ -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" />