mirror of
https://github.com/AntennaPod/AntennaPod.git
synced 2024-12-11 08:28:52 +01:00
813614bb28
Use custom namespace for "showAsAction" and "getMenuInflater" instead of "new MenuInflater"
40 lines
1.3 KiB
XML
40 lines
1.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<menu xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:custom="http://schemas.android.com/apk/res-auto">
|
|
|
|
<item
|
|
android:id="@+id/disable_sleeptimer_item"
|
|
android:icon="?attr/device_access_time"
|
|
custom:showAsAction="always"
|
|
android:title="@string/sleep_timer_label">
|
|
</item>
|
|
<item
|
|
android:id="@+id/set_sleeptimer_item"
|
|
custom:showAsAction="collapseActionView"
|
|
android:title="@string/set_sleeptimer_label">
|
|
</item>
|
|
<item
|
|
android:id="@+id/share_link_item"
|
|
custom:showAsAction="collapseActionView"
|
|
android:title="@string/share_link_label">
|
|
</item>
|
|
<item
|
|
android:id="@+id/visit_website_item"
|
|
android:icon="?attr/location_web_site"
|
|
custom:showAsAction="ifRoom|collapseActionView"
|
|
android:title="@string/visit_website_label"
|
|
android:visible="false">
|
|
</item>
|
|
<item
|
|
android:id="@+id/support_item"
|
|
custom:showAsAction="collapseActionView"
|
|
android:title="@string/support_label"
|
|
android:visible="false">
|
|
</item>
|
|
<item
|
|
android:id="@id/skip_episode_item"
|
|
custom:showAsAction="collapseActionView"
|
|
android:title="@string/skip_episode_label"
|
|
android:visible="true"/>
|
|
|
|
</menu> |