Fix a crash in older android versions

This commit is contained in:
len 2016-04-25 23:43:32 +02:00
parent bfb12bc7c1
commit 31731e8f26

View file

@ -6,27 +6,23 @@
<item <item
android:id="@+id/action_download" 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"/> app:showAsAction="ifRoom"/>
<item <item
android:id="@+id/action_delete" 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"/> app:showAsAction="ifRoom"/>
<item <item
android:id="@+id/action_mark_as_read" 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"/> app:showAsAction="ifRoom"/>
<item <item
android:id="@+id/action_mark_as_unread" 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"/> app:showAsAction="ifRoom"/>
</menu> </menu>