Skip to content

Commit cbdd367

Browse files
committed
Show "Mark all as read" as action
Resolves #89
1 parent 9e81068 commit cbdd367

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<vector xmlns:android="http://schemas.android.com/apk/res/android"
2+
android:width="24dp"
3+
android:height="24dp"
4+
android:tint="?colorControlNormal"
5+
android:viewportWidth="24.0"
6+
android:viewportHeight="24.0">
7+
<path
8+
android:fillColor="#000000"
9+
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" />
10+
</vector>

app/src/main/res/menu/entry_list_fragment.xml

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<menu xmlns:android="http://schemas.android.com/apk/res/android">
2+
<menu xmlns:android="http://schemas.android.com/apk/res/android"
3+
xmlns:app="http://schemas.android.com/apk/res-auto">
34
<item
45
android:id="@+id/show_read_entries"
56
android:checkable="true"
@@ -21,5 +22,7 @@
2122
</item>
2223
<item
2324
android:id="@+id/mark_all_read"
24-
android:title="@string/action__mark_all_read" />
25+
android:icon="@drawable/action_mark_all_done"
26+
android:title="@string/action__mark_all_read"
27+
app:showAsAction="ifRoom" />
2528
</menu>

0 commit comments

Comments
 (0)