aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2016-02-29 17:57:46 -0800
committerScott Jackson <daneren2005@gmail.com>2016-02-29 17:57:46 -0800
commit81d79dded8e9ba1fc15b2411e8a7d39ec2efd052 (patch)
treeefb52088677e15d1d06a76a19f0530670d5bc77a /app/src/main/res
parent7f5b47da42439fdfd210d4bc614b3b0bdb1158a6 (diff)
downloaddsub-81d79dded8e9ba1fc15b2411e8a7d39ec2efd052.tar.gz
dsub-81d79dded8e9ba1fc15b2411e8a7d39ec2efd052.tar.bz2
dsub-81d79dded8e9ba1fc15b2411e8a7d39ec2efd052.zip
Fixes #652: Add Show Artist/Album context menu items to search/starred songs
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/menu/select_album_context.xml9
-rw-r--r--app/src/main/res/menu/select_album_context_offline.xml6
-rw-r--r--app/src/main/res/menu/select_song_context.xml18
-rw-r--r--app/src/main/res/menu/select_song_context_offline.xml10
4 files changed, 34 insertions, 9 deletions
diff --git a/app/src/main/res/menu/select_album_context.xml b/app/src/main/res/menu/select_album_context.xml
index e4a901ac..0415da3c 100644
--- a/app/src/main/res/menu/select_album_context.xml
+++ b/app/src/main/res/menu/select_album_context.xml
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android">
-
<item
android:id="@+id/album_menu_info"
android:title="@string/common.info"/>
@@ -47,9 +46,11 @@
android:title="@string/menu.delete_cache"/>
</group>
- <item
- android:id="@+id/album_menu_show_artist"
- android:title="@string/menu.show_artist"/>
+ <group android:id="@+id/hide_show_artist">
+ <item
+ android:id="@+id/album_menu_show_artist"
+ android:title="@string/menu.show_artist"/>
+ </group>
<group android:id="@+id/hide_star">
<item
diff --git a/app/src/main/res/menu/select_album_context_offline.xml b/app/src/main/res/menu/select_album_context_offline.xml
index c10f2c62..37e2ae66 100644
--- a/app/src/main/res/menu/select_album_context_offline.xml
+++ b/app/src/main/res/menu/select_album_context_offline.xml
@@ -35,6 +35,12 @@
android:title="@string/menu.delete_cache"/>
</group>
+ <group android:id="@+id/hide_show_artist">
+ <item
+ android:id="@+id/album_menu_show_artist"
+ android:title="@string/menu.show_artist"/>
+ </group>
+
<group android:id="@+id/hide_star">
<item
android:id="@+id/album_menu_star"
diff --git a/app/src/main/res/menu/select_song_context.xml b/app/src/main/res/menu/select_song_context.xml
index 34ea27a6..b68dcad9 100644
--- a/app/src/main/res/menu/select_song_context.xml
+++ b/app/src/main/res/menu/select_song_context.xml
@@ -1,11 +1,19 @@
<?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">
-
+<menu xmlns:android="http://schemas.android.com/apk/res/android">
<item
android:id="@+id/song_menu_info"
- android:title="@string/common.info"
- />
+ android:title="@string/common.info"/>
+
+
+ <group android:id="@+id/hide_show_artist">
+ <item
+ android:id="@+id/song_menu_show_album"
+ android:title="@string/download.menu_show_album"/>
+
+ <item
+ android:id="@+id/song_menu_show_artist"
+ android:title="@string/menu.show_artist"/>
+ </group>
<group android:id="@+id/hide_play_next">
<item
diff --git a/app/src/main/res/menu/select_song_context_offline.xml b/app/src/main/res/menu/select_song_context_offline.xml
index 1c52e792..d7182068 100644
--- a/app/src/main/res/menu/select_song_context_offline.xml
+++ b/app/src/main/res/menu/select_song_context_offline.xml
@@ -6,6 +6,16 @@
android:id="@+id/song_menu_info"
android:title="@string/common.info"/>
+ <group android:id="@+id/hide_show_artist">
+ <item
+ android:id="@+id/song_menu_show_album"
+ android:title="@string/download.menu_show_album"/>
+
+ <item
+ android:id="@+id/song_menu_show_artist"
+ android:title="@string/menu.show_artist"/>
+ </group>
+
<group android:id="@+id/hide_play_next">
<item
android:id="@+id/song_menu_play_next"