aboutsummaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2015-04-01 20:20:41 -0700
committerScott Jackson <daneren2005@gmail.com>2015-04-01 20:20:41 -0700
commit4ca3d01d32065c8415d4d69141634d00ac0f65fa (patch)
tree0be479bb2c0b823a9c4ef673c327f57f107fe1db /res
parentb92cc3e2ac69ceb975f69a5183fb3741db6a2b1c (diff)
downloaddsub-4ca3d01d32065c8415d4d69141634d00ac0f65fa.tar.gz
dsub-4ca3d01d32065c8415d4d69141634d00ac0f65fa.tar.bz2
dsub-4ca3d01d32065c8415d4d69141634d00ac0f65fa.zip
Disable pull to refresh and add refresh button for TV layouts
Diffstat (limited to 'res')
-rw-r--r--res/menu/abstract_top_menu.xml8
-rw-r--r--res/menu/empty.xml8
-rw-r--r--res/menu/select_album.xml8
-rw-r--r--res/menu/select_album_list.xml8
-rw-r--r--res/menu/select_artist.xml8
-rw-r--r--res/menu/select_podcast_episode.xml9
-rw-r--r--res/menu/select_podcasts.xml8
-rw-r--r--res/menu/select_song.xml8
-rw-r--r--res/menu/user.xml8
9 files changed, 73 insertions, 0 deletions
diff --git a/res/menu/abstract_top_menu.xml b/res/menu/abstract_top_menu.xml
index 67d18390..c2575794 100644
--- a/res/menu/abstract_top_menu.xml
+++ b/res/menu/abstract_top_menu.xml
@@ -7,6 +7,14 @@
android:title="@string/menu.search"
compat:showAsAction="always|withText"/>
+ <group android:id="@+id/tv">
+ <item
+ android:id="@+id/menu_refresh"
+ android:icon="?attr/refresh"
+ android:title="@string/menu.refresh"
+ compat:showAsAction="ifRoom|withText"/>
+ </group>
+
<item
android:id="@+id/menu_exit"
android:title="@string/menu.exit"/>
diff --git a/res/menu/empty.xml b/res/menu/empty.xml
index 7abe954b..20a71d9b 100644
--- a/res/menu/empty.xml
+++ b/res/menu/empty.xml
@@ -2,6 +2,14 @@
<menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:compat="http://schemas.android.com/apk/res-auto">
+ <group android:id="@+id/tv">
+ <item
+ android:id="@+id/menu_refresh"
+ android:icon="?attr/refresh"
+ android:title="@string/menu.refresh"
+ compat:showAsAction="ifRoom|withText"/>
+ </group>
+
<item
android:id="@+id/menu_exit"
android:title="@string/menu.exit"/>
diff --git a/res/menu/select_album.xml b/res/menu/select_album.xml
index a9741d84..627b213c 100644
--- a/res/menu/select_album.xml
+++ b/res/menu/select_album.xml
@@ -19,6 +19,14 @@
android:title="@string/menu.shuffle"
compat:showAsAction="ifRoom|withText"/>
+ <group android:id="@+id/tv">
+ <item
+ android:id="@+id/menu_refresh"
+ android:icon="?attr/refresh"
+ android:title="@string/menu.refresh"
+ compat:showAsAction="ifRoom|withText"/>
+ </group>
+
<item
android:id="@+id/menu_top_tracks"
android:title="@string/menu.top_tracks"/>
diff --git a/res/menu/select_album_list.xml b/res/menu/select_album_list.xml
index 3b86fbcd..68e2847e 100644
--- a/res/menu/select_album_list.xml
+++ b/res/menu/select_album_list.xml
@@ -13,6 +13,14 @@
android:title="@string/menu.shuffle"
compat:showAsAction="ifRoom|withText"/>
+ <group android:id="@+id/tv">
+ <item
+ android:id="@+id/menu_refresh"
+ android:icon="?attr/refresh"
+ android:title="@string/menu.refresh"
+ compat:showAsAction="ifRoom|withText"/>
+ </group>
+
<item
android:id="@+id/menu_exit"
android:title="@string/menu.exit"/>
diff --git a/res/menu/select_artist.xml b/res/menu/select_artist.xml
index 8e1cdba3..dbbc781d 100644
--- a/res/menu/select_artist.xml
+++ b/res/menu/select_artist.xml
@@ -13,6 +13,14 @@
android:title="@string/menu.search"
compat:showAsAction="ifRoom|withText"/>
+ <group android:id="@+id/tv">
+ <item
+ android:id="@+id/menu_refresh"
+ android:icon="?attr/refresh"
+ android:title="@string/menu.refresh"
+ compat:showAsAction="ifRoom|withText"/>
+ </group>
+
<item
android:id="@+id/menu_first_level_artist"
android:title="@string/menu.first_level_artist"
diff --git a/res/menu/select_podcast_episode.xml b/res/menu/select_podcast_episode.xml
index dbb369e9..63259af3 100644
--- a/res/menu/select_podcast_episode.xml
+++ b/res/menu/select_podcast_episode.xml
@@ -1,6 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:compat="http://schemas.android.com/apk/res-auto">
+
+ <group android:id="@+id/tv">
+ <item
+ android:id="@+id/menu_refresh"
+ android:icon="?attr/refresh"
+ android:title="@string/menu.refresh"
+ compat:showAsAction="ifRoom|withText"/>
+ </group>
+
<item
android:id="@+id/menu_download_all"
android:title="@string/select_podcasts.server_download"/>
diff --git a/res/menu/select_podcasts.xml b/res/menu/select_podcasts.xml
index cd351a19..3fad1f84 100644
--- a/res/menu/select_podcasts.xml
+++ b/res/menu/select_podcasts.xml
@@ -13,6 +13,14 @@
android:title="@string/menu.add_podcast"
compat:showAsAction="always|withText"/>
+ <group android:id="@+id/tv">
+ <item
+ android:id="@+id/menu_refresh"
+ android:icon="?attr/refresh"
+ android:title="@string/menu.refresh"
+ compat:showAsAction="ifRoom|withText"/>
+ </group>
+
<item
android:id="@+id/menu_check"
android:title="@string/menu.check_podcasts"/>
diff --git a/res/menu/select_song.xml b/res/menu/select_song.xml
index 07fd57a7..4e3ae00d 100644
--- a/res/menu/select_song.xml
+++ b/res/menu/select_song.xml
@@ -12,6 +12,14 @@
android:icon="?attr/shuffle"
android:title="@string/menu.shuffle"
compat:showAsAction="ifRoom|withText"/>
+
+ <group android:id="@+id/tv">
+ <item
+ android:id="@+id/menu_refresh"
+ android:icon="?attr/refresh"
+ android:title="@string/menu.refresh"
+ compat:showAsAction="ifRoom|withText"/>
+ </group>
<item
android:id="@+id/menu_download"
diff --git a/res/menu/user.xml b/res/menu/user.xml
index aea881fc..6e406b77 100644
--- a/res/menu/user.xml
+++ b/res/menu/user.xml
@@ -14,6 +14,14 @@
android:icon="?attr/password"
compat:showAsAction="always|withText"/>
+ <group android:id="@+id/tv">
+ <item
+ android:id="@+id/menu_refresh"
+ android:icon="?attr/refresh"
+ android:title="@string/menu.refresh"
+ compat:showAsAction="ifRoom|withText"/>
+ </group>
+
<item
android:id="@+id/menu_change_email"
android:title="@string/admin.change_email"/>