Merge pull request #5597 from k9mail/attachment_save_icon

Change "save attachment" icon
This commit is contained in:
cketti 2021-08-21 20:36:58 +02:00 committed by GitHub
commit ddff4c6c59
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 14 additions and 1 deletions

View file

@ -0,0 +1,10 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:tint="?attr/colorControlNormal"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:fillColor="@android:color/white"
android:pathData="M5,20h14v-2H5V20zM19,9h-4V3H9v6H5l7,7L19,9z" />
</vector>

View file

@ -90,7 +90,7 @@
android:layout_marginBottom="8dp"
android:background="?attr/selectableItemBackgroundBorderless"
android:contentDescription="@string/remove_attachment_action"
app:srcCompat="?attr/iconActionSave"
app:srcCompat="?attr/iconActionSaveAttachment"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toBottomOf="@+id/attachment_preview" />

View file

@ -39,6 +39,7 @@
<attr name="iconActionUpload" format="reference" />
<attr name="iconActionSelectAll" format="reference" />
<attr name="iconActionSave" format="reference" />
<attr name="iconActionSaveAttachment" format="reference" />
<attr name="iconActionCancel" format="reference" />
<attr name="iconActionRequestReadReceipt" format="reference" />
<attr name="iconActionExpand" format="reference" />

View file

@ -53,6 +53,7 @@
<item name="iconActionUpload">@drawable/ic_file_upload</item>
<item name="iconActionSelectAll">@drawable/ic_select_all</item>
<item name="iconActionSave">@drawable/ic_floppy</item>
<item name="iconActionSaveAttachment">@drawable/ic_download</item>
<item name="iconActionCancel">@drawable/ic_clear</item>
<item name="iconActionRequestReadReceipt">@drawable/ic_action_request_read_receipt_light</item>
<item name="iconActionExpand">@drawable/ic_chevron_down</item>
@ -171,6 +172,7 @@
<item name="iconActionUpload">@drawable/ic_file_upload</item>
<item name="iconActionSelectAll">@drawable/ic_select_all</item>
<item name="iconActionSave">@drawable/ic_floppy</item>
<item name="iconActionSaveAttachment">@drawable/ic_download</item>
<item name="iconActionCancel">@drawable/ic_clear</item>
<item name="iconActionRequestReadReceipt">@drawable/ic_action_request_read_receipt_dark</item>
<item name="iconActionExpand">@drawable/ic_chevron_down</item>