aboutsummaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
Diffstat (limited to 'res')
-rw-r--r--res/menu/select_album_context.xml10
-rw-r--r--res/menu/select_song_context.xml10
-rw-r--r--res/values/strings.xml1
-rw-r--r--res/xml/settings.xml6
4 files changed, 19 insertions, 8 deletions
diff --git a/res/menu/select_album_context.xml b/res/menu/select_album_context.xml
index d1a6b271..5b2529e7 100644
--- a/res/menu/select_album_context.xml
+++ b/res/menu/select_album_context.xml
@@ -58,8 +58,10 @@
android:id="@+id/album_menu_share"
android:title="@string/menu.share"/>
</group>
-
- <item
- android:id="@+id/menu_rate"
- android:title="@string/menu.rate"/>
+
+ <group android:id="@+id/hide_rating">
+ <item
+ android:id="@+id/menu_rate"
+ android:title="@string/menu.rate"/>
+ </group>
</menu>
diff --git a/res/menu/select_song_context.xml b/res/menu/select_song_context.xml
index 7f15ccbf..d8fc211c 100644
--- a/res/menu/select_song_context.xml
+++ b/res/menu/select_song_context.xml
@@ -59,10 +59,12 @@
android:id="@+id/song_menu_share"
android:title="@string/menu.share"/>
</group>
-
- <item
- android:id="@+id/menu_rate"
- android:title="@string/menu.rate"/>
+
+ <group android:id="@+id/hide_rating">
+ <item
+ android:id="@+id/menu_rate"
+ android:title="@string/menu.rate"/>
+ </group>
<group android:id="@+id/server_1.9">
<item
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 534dbf57..b31efda1 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -416,6 +416,7 @@
<string name="settings.menu_options.play_last_summary">Show Play last in menus</string>
<string name="settings.menu_options.star_summary">Show Star in menus</string>
<string name="settings.menu_options.shared_summary">Show Share in menus</string>
+ <string name="settings.menu_options.rate_summary">Show Rating in menus</string>
<string name="settings.browse_by_tags">Browse By Tags</string>
<string name="settings.browse_by_tags_summary">Browse by tags instead of by folder structure. Requires Subsonic 4.7+</string>
<string name="settings.override_system_language">Override System Language</string>
diff --git a/res/xml/settings.xml b/res/xml/settings.xml
index 42b74aa0..bafb5f6c 100644
--- a/res/xml/settings.xml
+++ b/res/xml/settings.xml
@@ -101,6 +101,12 @@
android:key="showShared"
android:defaultValue="true"/>
+ <CheckBoxPreference
+ android:title="@string/menu.rate"
+ android:summary="@string/settings.menu_options.rate_summary"
+ android:key="showRating"
+ android:defaultValue="true"/>
+
</PreferenceCategory>
</PreferenceScreen>