Use solid/outline check icon for mark as read/unread (closes #2719)

This commit is contained in:
arkon 2020-03-16 17:53:17 -04:00
parent 33c0c6ff3b
commit a3336368e5
5 changed files with 16 additions and 15 deletions

View file

@ -5,5 +5,5 @@
android:viewportHeight="24"> android:viewportHeight="24">
<path <path
android:fillColor="#FF000000" android:fillColor="#FF000000"
android:pathData="M18,7l-1.41,-1.41 -6.34,6.34 1.41,1.41L18,7zM22.24,5.59L11.66,16.17 7.48,12l-1.41,1.41L11.66,19l12,-12 -1.42,-1.41zM0.41,13.41L6,19l1.41,-1.41L1.83,12 0.41,13.41z"/> android:pathData="M9,16.2L4.8,12l-1.4,1.4L9,19 21,7l-1.4,-1.4L9,16.2z"/>
</vector> </vector>

View file

@ -1,10 +0,0 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:alpha=".38"
android:viewportHeight="24.0"
android:viewportWidth="24.0">
<path
android:fillColor="#FFFFFFFF"
android:pathData="M18,7l-1.41,-1.41 -6.34,6.34 1.41,1.41L18,7zM22.24,5.59L11.66,16.17 7.48,12l-1.41,1.41L11.66,19l12,-12 -1.42,-1.41zM0.41,13.41L6,19l1.41,-1.41L1.83,12 0.41,13.41z"/>
</vector>

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="#FF000000"
android:pathData="M19.77,5.03l1.4,1.4L8.43,19.17l-5.6,-5.6 1.4,-1.4 4.2,4.2L19.77,5.03m0,-2.83L8.43,13.54l-4.2,-4.2L0,13.57 8.43,22 24,6.43 19.77,2.2z"/>
</vector>

View file

@ -32,15 +32,16 @@
<item <item
android:id="@+id/action_mark_as_read" android:id="@+id/action_mark_as_read"
android:icon="@drawable/ic_done_all_24dp" android:icon="@drawable/ic_done_24dp"
android:title="@string/action_mark_as_read" android:title="@string/action_mark_as_read"
app:iconTint="?attr/colorOnPrimary" app:iconTint="?attr/colorOnPrimary"
app:showAsAction="always" /> app:showAsAction="always" />
<item <item
android:id="@+id/action_mark_as_unread" android:id="@+id/action_mark_as_unread"
android:icon="@drawable/ic_done_all_grey_24dp" android:icon="@drawable/ic_done_outline_24dp"
android:title="@string/action_mark_as_unread" android:title="@string/action_mark_as_unread"
app:iconTint="?attr/colorOnPrimary"
app:showAsAction="always" /> app:showAsAction="always" />
<item <item

View file

@ -18,15 +18,16 @@
<item <item
android:id="@+id/action_mark_as_read" android:id="@+id/action_mark_as_read"
android:icon="@drawable/ic_done_all_24dp" android:icon="@drawable/ic_done_24dp"
android:title="@string/action_mark_as_read" android:title="@string/action_mark_as_read"
app:iconTint="?attr/colorOnPrimary" app:iconTint="?attr/colorOnPrimary"
app:showAsAction="always" /> app:showAsAction="always" />
<item <item
android:id="@+id/action_mark_as_unread" android:id="@+id/action_mark_as_unread"
android:icon="@drawable/ic_done_all_grey_24dp" android:icon="@drawable/ic_done_outline_24dp"
android:title="@string/action_mark_as_unread" android:title="@string/action_mark_as_unread"
app:iconTint="?attr/colorOnPrimary"
app:showAsAction="always" /> app:showAsAction="always" />
</menu> </menu>