Move "Delete sweep" out from overflow (#5392)

Places it as its own icon, having an overflow with only one item doesn't make much sense when that's not the behavior in other parts of the app.
This commit is contained in:
Soitora 2021-06-17 00:31:20 +02:00 committed by GitHub
parent e5cdf74587
commit aecdd04e04
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 1 deletions

View File

@ -0,0 +1,9 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:fillColor="@android:color/black"
android:pathData="M15,16h4v2h-4zM15,8h7v2h-7zM15,12h6v2h-6zM3,18c0,1.1 0.9,2 2,2h6c1.1,0 2,-0.9 2,-2L13,8L3,8v10zM14,5h-3l-1,-1L6,4L5,5L2,5v2h12z" />
</vector>

View File

@ -12,7 +12,9 @@
<item
android:id="@+id/action_clear_history"
android:icon="@drawable/ic_delete_sweep_24dp"
android:title="@string/pref_clear_history"
app:showAsAction="never" />
app:iconTint="?attr/colorOnPrimary"
app:showAsAction="ifRoom" />
</menu>