From 14893daf30e01cd1d99bbcbb1d222450be853126 Mon Sep 17 00:00:00 2001 From: Scott Jackson Date: Sat, 7 Jun 2014 13:12:45 -0700 Subject: #171 Add basic admin tab --- res/menu/admin.xml | 12 ++++++++++++ res/menu/empty.xml | 3 +++ res/values/arrays.xml | 4 ++++ res/values/attrs.xml | 1 + res/values/strings.xml | 4 ++++ res/values/themes.xml | 3 +++ res/xml/settings.xml | 6 ++++++ 7 files changed, 33 insertions(+) create mode 100644 res/menu/admin.xml (limited to 'res') diff --git a/res/menu/admin.xml b/res/menu/admin.xml new file mode 100644 index 00000000..f16e89f7 --- /dev/null +++ b/res/menu/admin.xml @@ -0,0 +1,12 @@ + + + + + \ No newline at end of file diff --git a/res/menu/empty.xml b/res/menu/empty.xml index cf7b82de..7abe954b 100644 --- a/res/menu/empty.xml +++ b/res/menu/empty.xml @@ -2,4 +2,7 @@ + diff --git a/res/values/arrays.xml b/res/values/arrays.xml index e8eee980..aca7b9ee 100644 --- a/res/values/arrays.xml +++ b/res/values/arrays.xml @@ -8,6 +8,7 @@ @string/button_bar.bookmarks @string/button_bar.shares @string/button_bar.chat + @string/button_bar.admin @string/button_bar.downloading @string/menu.settings @@ -20,6 +21,7 @@ Bookmark Share Chat + Admin Download Settings @@ -32,6 +34,7 @@ @drawable/ic_menu_bookmark_light @drawable/ic_menu_share_light @drawable/ic_menu_chat_light + @drawable/ic_menu_admin_light @drawable/ic_menu_download_light @drawable/ic_menu_settings_light @@ -44,6 +47,7 @@ @drawable/ic_menu_bookmark_dark @drawable/ic_menu_share_dark @drawable/ic_menu_chat_dark + @drawable/ic_menu_admin_dark @drawable/ic_menu_download_dark @drawable/ic_menu_settings_dark diff --git a/res/values/attrs.xml b/res/values/attrs.xml index b557035c..1e8b365f 100644 --- a/res/values/attrs.xml +++ b/res/values/attrs.xml @@ -20,5 +20,6 @@ + diff --git a/res/values/strings.xml b/res/values/strings.xml index 3bc04eb6..0e385186 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -35,6 +35,7 @@ Bookmarks Shares Chat + Admin Downloading Welcome! @@ -99,6 +100,7 @@ Delete Cache Cast To Device FAQ + Add User Playlists Update Information @@ -416,6 +418,8 @@ Play Now context menu for a song plays everything after selected item (like the Subsonic web GUI) Large Album Art Display albums with large album art instead of in a list + Admin Enabled + Whether or not to display the admin listing in the pull out drawer Shuffle By Start Year: diff --git a/res/values/themes.xml b/res/values/themes.xml index 8a2bff2c..8d565802 100644 --- a/res/values/themes.xml +++ b/res/values/themes.xml @@ -23,6 +23,7 @@ @drawable/downloading_light @drawable/ic_menu_bookmark_light @drawable/ic_menu_share_light + @drawable/ic_menu_add_person_light @array/drawerItemIconsLight @style/DSub.TextViewStyle @style/DSub.ButtonStyle.Light @@ -51,6 +52,7 @@ @drawable/downloading_dark @drawable/ic_menu_bookmark_dark @drawable/ic_menu_share_dark + @drawable/ic_menu_add_person_dark @array/drawerItemIconsDark @style/DSub.TextViewStyle @style/DSub.ButtonStyle.Dark @@ -82,6 +84,7 @@ @drawable/downloading_dark @drawable/ic_menu_bookmark_dark @drawable/ic_menu_share_dark + @drawable/ic_menu_add_person_dark @array/drawerItemIconsDark @style/DSub.TextViewStyle @style/DSub.ButtonStyle.Dark diff --git a/res/xml/settings.xml b/res/xml/settings.xml index 9f1b5b67..cf3868f5 100644 --- a/res/xml/settings.xml +++ b/res/xml/settings.xml @@ -139,6 +139,12 @@ android:summary="@string/settings.shares_enabled_summary" android:key="sharedEnabled" android:defaultValue="true"/> + +