Fix a crash on older devices

This commit is contained in:
len 2016-04-14 17:37:21 +02:00
parent eb662f1234
commit deaba48431

View File

@ -1,29 +1,20 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android" <menu xmlns:android="http://schemas.android.com/apk/res/android">
xmlns:app="http://schemas.android.com/apk/res-auto">
<item android:id="@+id/action_download" <item android:id="@+id/action_download"
android:title="@string/action_download" android:title="@string/action_download"
android:icon="@drawable/ic_file_download_white_24dp" android:visible="true" />
android:visible="true"
app:showAsAction="ifRoom"/>
<item android:id="@+id/action_delete" <item android:id="@+id/action_delete"
android:title="@string/action_delete" android:title="@string/action_delete"
android:icon="@drawable/ic_delete_white_24dp" android:visible="false" />
android:visible="false"
app:showAsAction="ifRoom"/>
<item android:id="@+id/action_mark_as_read" <item android:id="@+id/action_mark_as_read"
android:title="@string/action_mark_as_read" android:title="@string/action_mark_as_read" />
android:icon="@drawable/ic_done_all_white_24dp"
app:showAsAction="ifRoom"/>
<item android:id="@+id/action_mark_as_unread" <item android:id="@+id/action_mark_as_unread"
android:title="@string/action_mark_as_unread" android:title="@string/action_mark_as_unread" />
android:icon="@drawable/ic_done_all_grey_24dp"
app:showAsAction="ifRoom"/>
<item android:id="@+id/action_mark_previous_as_read" <item android:id="@+id/action_mark_previous_as_read"
android:title="@string/action_mark_previous_as_read"/> android:title="@string/action_mark_previous_as_read"/>