Format all XML resources
This commit is contained in:
parent
750653ac91
commit
8f2effa78c
346 changed files with 3828 additions and 3454 deletions
|
|
@ -1,10 +1,9 @@
|
|||
<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/okay"
|
||||
android:title="@string/finish"
|
||||
app:showAsAction="always"/>
|
||||
app:showAsAction="always" />
|
||||
|
||||
</menu>
|
||||
|
|
|
|||
|
|
@ -1,29 +1,33 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<menu xmlns:tools="http://schemas.android.com/tools"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools">
|
||||
|
||||
<item android:id="@+id/switch_mode"
|
||||
<item
|
||||
android:id="@+id/switch_mode"
|
||||
android:icon="?attr/ic_grid"
|
||||
android:title="@string/grid"
|
||||
tools:ignore="AlwaysShowAction"
|
||||
app:showAsAction="always" />
|
||||
app:showAsAction="always"
|
||||
tools:ignore="AlwaysShowAction" />
|
||||
|
||||
<item android:id="@+id/start_downloads"
|
||||
android:visible="false"
|
||||
<item
|
||||
android:id="@+id/start_downloads"
|
||||
android:icon="?attr/ic_play_arrow"
|
||||
android:title="@string/start_downloads"
|
||||
android:visible="false"
|
||||
app:showAsAction="ifRoom" />
|
||||
|
||||
<item android:id="@+id/pause_downloads"
|
||||
android:visible="false"
|
||||
<item
|
||||
android:id="@+id/pause_downloads"
|
||||
android:icon="?attr/ic_pause"
|
||||
android:title="@string/pause_downloads"
|
||||
android:visible="false"
|
||||
app:showAsAction="ifRoom" />
|
||||
|
||||
<item android:id="@+id/clear_list"
|
||||
android:visible="false"
|
||||
<item
|
||||
android:id="@+id/clear_list"
|
||||
android:icon="?attr/ic_delete"
|
||||
android:title="@string/clear_download_history"
|
||||
android:visible="false"
|
||||
app:showAsAction="ifRoom" />
|
||||
</menu>
|
||||
|
|
|
|||
|
|
@ -1,12 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<group
|
||||
android:id="@+id/menu_services_group">
|
||||
</group>
|
||||
<group
|
||||
android:id="@+id/menu_tabs_group">
|
||||
</group>
|
||||
<group
|
||||
android:id="@+id/menu_options_about_group">
|
||||
</group>
|
||||
</menu>
|
||||
<group android:id="@+id/menu_services_group"></group>
|
||||
<group android:id="@+id/menu_tabs_group"></group>
|
||||
<group android:id="@+id/menu_options_about_group"></group>
|
||||
</menu>
|
||||
|
|
|
|||
|
|
@ -2,8 +2,9 @@
|
|||
<menu xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<item android:id="@+id/menu_item_share_error"
|
||||
<item
|
||||
android:id="@+id/menu_item_share_error"
|
||||
android:icon="?attr/ic_share"
|
||||
android:title="@string/share"
|
||||
app:showAsAction="ifRoom"
|
||||
android:icon="?attr/ic_share"/>
|
||||
</menu>
|
||||
app:showAsAction="ifRoom" />
|
||||
</menu>
|
||||
|
|
|
|||
|
|
@ -1,11 +1,11 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<item
|
||||
android:id="@+id/action_search"
|
||||
android:icon="?attr/ic_search"
|
||||
android:orderInCategory="1"
|
||||
android:title="@string/search"
|
||||
app:showAsAction="always"/>
|
||||
</menu>
|
||||
app:showAsAction="always" />
|
||||
</menu>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
<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"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
tools:context=".fragments.list.impl.ChannelFragment">
|
||||
|
|
@ -10,23 +9,23 @@
|
|||
android:title="@string/rss_button_title"
|
||||
android:visible="false"
|
||||
app:showAsAction="ifRoom"
|
||||
tools:visible="true"/>
|
||||
tools:visible="true" />
|
||||
|
||||
<item
|
||||
android:id="@+id/menu_item_share"
|
||||
android:icon="?attr/ic_share"
|
||||
android:title="@string/share"
|
||||
app:showAsAction="ifRoom"/>
|
||||
app:showAsAction="ifRoom" />
|
||||
|
||||
<item
|
||||
android:id="@+id/action_settings"
|
||||
android:orderInCategory="1"
|
||||
android:title="@string/settings"
|
||||
app:showAsAction="never"/>
|
||||
app:showAsAction="never" />
|
||||
|
||||
<item
|
||||
android:id="@+id/menu_item_openInBrowser"
|
||||
android:orderInCategory="2"
|
||||
android:title="@string/open_in_browser"
|
||||
app:showAsAction="never"/>
|
||||
app:showAsAction="never" />
|
||||
</menu>
|
||||
|
|
|
|||
|
|
@ -7,4 +7,4 @@
|
|||
android:icon="?attr/ic_help"
|
||||
android:title="@string/help"
|
||||
app:showAsAction="always" />
|
||||
</menu>
|
||||
</menu>
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<menu xmlns:tools="http://schemas.android.com/tools"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools">
|
||||
|
||||
<item
|
||||
android:id="@+id/action_search"
|
||||
|
|
@ -16,4 +16,4 @@
|
|||
android:checked="false"
|
||||
android:title="@string/feed_group_show_only_ungrouped_subscriptions"
|
||||
app:showAsAction="never" />
|
||||
</menu>
|
||||
</menu>
|
||||
|
|
|
|||
|
|
@ -3,8 +3,9 @@
|
|||
xmlns:tools="http://schemas.android.com/tools"
|
||||
tools:context="org.schabi.newpipe.history.HistoryActivity">
|
||||
|
||||
<item android:id="@+id/action_history_clear"
|
||||
<item
|
||||
android:id="@+id/action_history_clear"
|
||||
android:orderInCategory="940"
|
||||
android:title="@string/clear_views_history_title"
|
||||
app:showAsAction="never"/>
|
||||
app:showAsAction="never" />
|
||||
</menu>
|
||||
|
|
|
|||
|
|
@ -5,5 +5,5 @@
|
|||
<item
|
||||
android:id="@+id/menu_item_remove_watched"
|
||||
android:title="@string/remove_watched"
|
||||
app:showAsAction="never"/>
|
||||
app:showAsAction="never" />
|
||||
</menu>
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
android:icon="?attr/ic_playlist_add"
|
||||
android:title="@string/append_playlist"
|
||||
android:visible="true"
|
||||
app:showAsAction="ifRoom"/>
|
||||
app:showAsAction="ifRoom" />
|
||||
|
||||
|
||||
<item
|
||||
|
|
@ -23,20 +23,23 @@
|
|||
android:icon="?attr/ic_volume_off"
|
||||
android:title="@string/mute"
|
||||
android:visible="true"
|
||||
app:showAsAction="ifRoom"/>
|
||||
app:showAsAction="ifRoom" />
|
||||
|
||||
<item android:id="@+id/action_settings"
|
||||
<item
|
||||
android:id="@+id/action_settings"
|
||||
android:orderInCategory="1"
|
||||
android:title="@string/settings"
|
||||
app:showAsAction="never"/>
|
||||
app:showAsAction="never" />
|
||||
|
||||
<item android:id="@+id/action_system_audio"
|
||||
<item
|
||||
android:id="@+id/action_system_audio"
|
||||
android:orderInCategory="2"
|
||||
android:title="@string/play_queue_audio_settings"
|
||||
app:showAsAction="never"/>
|
||||
app:showAsAction="never" />
|
||||
|
||||
<item android:id="@+id/action_switch_main"
|
||||
<item
|
||||
android:id="@+id/action_switch_main"
|
||||
android:orderInCategory="3"
|
||||
android:title="@string/switch_to_main"
|
||||
app:showAsAction="never"/>
|
||||
app:showAsAction="never" />
|
||||
</menu>
|
||||
|
|
|
|||
|
|
@ -3,13 +3,15 @@
|
|||
xmlns:tools="http://schemas.android.com/tools"
|
||||
tools:context="org.schabi.newpipe.history.HistoryActivity">
|
||||
|
||||
<item android:id="@+id/action_switch_popup"
|
||||
<item
|
||||
android:id="@+id/action_switch_popup"
|
||||
android:orderInCategory="1999"
|
||||
android:title="@string/switch_to_popup"
|
||||
app:showAsAction="never"/>
|
||||
app:showAsAction="never" />
|
||||
|
||||
<item android:id="@+id/action_switch_background"
|
||||
android:orderInCategory="999"
|
||||
android:title="@string/switch_to_background"
|
||||
app:showAsAction="never"/>
|
||||
<item
|
||||
android:id="@+id/action_switch_background"
|
||||
android:orderInCategory="999"
|
||||
android:title="@string/switch_to_background"
|
||||
app:showAsAction="never" />
|
||||
</menu>
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
android:id="@+id/menu_item_share"
|
||||
android:icon="?attr/ic_share"
|
||||
android:title="@string/share"
|
||||
app:showAsAction="ifRoom"/>
|
||||
app:showAsAction="ifRoom" />
|
||||
|
||||
<item
|
||||
android:id="@+id/menu_item_bookmark"
|
||||
|
|
@ -15,17 +15,17 @@
|
|||
android:title="@string/bookmark_playlist"
|
||||
android:visible="true"
|
||||
app:showAsAction="ifRoom"
|
||||
tools:visible="true"/>
|
||||
tools:visible="true" />
|
||||
|
||||
<item
|
||||
android:id="@+id/action_settings"
|
||||
android:orderInCategory="1"
|
||||
android:title="@string/settings"
|
||||
app:showAsAction="never"/>
|
||||
app:showAsAction="never" />
|
||||
|
||||
<item
|
||||
android:id="@+id/menu_item_openInBrowser"
|
||||
android:orderInCategory="2"
|
||||
android:title="@string/open_in_browser"
|
||||
app:showAsAction="never"/>
|
||||
</menu>
|
||||
app:showAsAction="never" />
|
||||
</menu>
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
<item
|
||||
android:id="@+id/menu_item_done"
|
||||
android:title="@string/recaptcha_done_button"
|
||||
android:icon="?attr/ic_done"
|
||||
app:showAsAction="always"/>
|
||||
</menu>
|
||||
android:title="@string/recaptcha_done_button"
|
||||
app:showAsAction="always" />
|
||||
</menu>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<item
|
||||
android:id="@+id/filter"
|
||||
|
|
@ -14,19 +14,19 @@
|
|||
<item
|
||||
android:id="@+id/menu_filter_all"
|
||||
android:checked="true"
|
||||
android:title="@string/all"/>
|
||||
android:title="@string/all" />
|
||||
<item
|
||||
android:id="@+id/menu_filter_video"
|
||||
android:title="@string/video"/>
|
||||
android:title="@string/video" />
|
||||
<item
|
||||
android:id="@+id/menu_filter_channel"
|
||||
android:title="@string/channel"/>
|
||||
android:title="@string/channel" />
|
||||
<item
|
||||
android:id="@+id/menu_filter_playlist"
|
||||
android:title="@string/playlist"/>
|
||||
android:title="@string/playlist" />
|
||||
</group>
|
||||
</menu>
|
||||
</item>
|
||||
|
||||
|
||||
</menu>
|
||||
</menu>
|
||||
|
|
|
|||
|
|
@ -18,8 +18,8 @@
|
|||
|
||||
<item
|
||||
android:id="@+id/queue"
|
||||
android:title="@string/enqueue"
|
||||
android:checkable="true"/>
|
||||
android:checkable="true"
|
||||
android:title="@string/enqueue" />
|
||||
|
||||
<item
|
||||
android:id="@+id/menu_item_share"
|
||||
|
|
|
|||
|
|
@ -5,6 +5,5 @@
|
|||
android:title="@string/action_open_website" />
|
||||
<item
|
||||
android:id="@+id/action_show_license"
|
||||
android:title="@string/read_full_license">
|
||||
</item>
|
||||
</menu>
|
||||
android:title="@string/read_full_license"></item>
|
||||
</menu>
|
||||
|
|
|
|||
|
|
@ -1,28 +1,28 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<item
|
||||
android:id="@+id/action_play_with_kodi"
|
||||
android:icon="?attr/ic_cast"
|
||||
android:title="@string/play_with_kodi_title"
|
||||
app:showAsAction="ifRoom"/>
|
||||
app:showAsAction="ifRoom" />
|
||||
|
||||
<item
|
||||
android:id="@+id/menu_item_share"
|
||||
android:icon="?attr/ic_share"
|
||||
android:title="@string/share"
|
||||
app:showAsAction="ifRoom"/>
|
||||
app:showAsAction="ifRoom" />
|
||||
|
||||
<item
|
||||
android:id="@+id/action_settings"
|
||||
android:orderInCategory="1"
|
||||
android:title="@string/settings"
|
||||
app:showAsAction="never"/>
|
||||
app:showAsAction="never" />
|
||||
|
||||
<item
|
||||
android:id="@+id/menu_item_openInBrowser"
|
||||
android:orderInCategory="2"
|
||||
android:title="@string/open_in_browser"
|
||||
app:showAsAction="never"/>
|
||||
app:showAsAction="never" />
|
||||
</menu>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue