diff options
Diffstat (limited to 'app/src/main/res')
-rw-r--r-- | app/src/main/res/menu/drawer_navigation.xml | 4 | ||||
-rw-r--r-- | app/src/main/res/menu/select_internet_radio_context.xml | 7 | ||||
-rw-r--r-- | app/src/main/res/values/arrays.xml | 2 | ||||
-rw-r--r-- | app/src/main/res/values/attrs.xml | 1 | ||||
-rw-r--r-- | app/src/main/res/values/strings.xml | 6 | ||||
-rw-r--r-- | app/src/main/res/values/themes.xml | 2 | ||||
-rw-r--r-- | app/src/main/res/xml/settings_drawer.xml | 6 |
7 files changed, 28 insertions, 0 deletions
diff --git a/app/src/main/res/menu/drawer_navigation.xml b/app/src/main/res/menu/drawer_navigation.xml index bd309455..32de5cd5 100644 --- a/app/src/main/res/menu/drawer_navigation.xml +++ b/app/src/main/res/menu/drawer_navigation.xml @@ -22,6 +22,10 @@ android:icon="?attr/drawerBookmarks" android:title="@string/button_bar.bookmarks"/> <item + android:id="@+id/drawer_internet_radio_stations" + android:icon="?attr/drawerInternetRadioStations" + android:title="@string/button_bar.internet_radio"/> + <item android:id="@+id/drawer_shares" android:icon="?attr/drawerShares" android:title="@string/button_bar.shares"/> diff --git a/app/src/main/res/menu/select_internet_radio_context.xml b/app/src/main/res/menu/select_internet_radio_context.xml new file mode 100644 index 00000000..e739aec5 --- /dev/null +++ b/app/src/main/res/menu/select_internet_radio_context.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="utf-8"?> +<menu xmlns:android="http://schemas.android.com/apk/res/android"> + <item + android:id="@+id/internet_radio_info" + android:title="@string/common.info"/> + +</menu> diff --git a/app/src/main/res/values/arrays.xml b/app/src/main/res/values/arrays.xml index ee246d16..e9aadce7 100644 --- a/app/src/main/res/values/arrays.xml +++ b/app/src/main/res/values/arrays.xml @@ -6,6 +6,7 @@ <item>@string/button_bar.playlists</item> <item>@string/button_bar.podcasts</item> <item>@string/button_bar.bookmarks</item> + <item>@string/button_bar.internet_radio</item> <item>@string/button_bar.shares</item> <item>@string/button_bar.chat</item> </string-array> @@ -16,6 +17,7 @@ <item>Playlist</item> <item>Podcast</item> <item>Bookmark</item> + <item>Internet Radio</item> <item>Share</item> <item>Chat</item> </string-array> diff --git a/app/src/main/res/values/attrs.xml b/app/src/main/res/values/attrs.xml index 7cd447f0..055726b8 100644 --- a/app/src/main/res/values/attrs.xml +++ b/app/src/main/res/values/attrs.xml @@ -49,6 +49,7 @@ <attr name="drawerPlaylists" format="reference"/> <attr name="drawerPodcasts" format="reference"/> <attr name="drawerBookmarks" format="reference"/> + <attr name="drawerInternetRadioStations" format="reference"/> <attr name="drawerShares" format="reference"/> <attr name="drawerChat" format="reference"/> <attr name="drawerAdmin" format="reference"/> diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index c15a5d3e..9ac609c3 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -36,6 +36,7 @@ <string name="button_bar.now_playing">Now Playing</string> <string name="button_bar.podcasts">Podcasts</string> <string name="button_bar.bookmarks">Bookmarks</string> + <string name="button_bar.internet_radio">Internet Radio</string> <string name="button_bar.shares">Shares</string> <string name="button_bar.chat">Chat</string> <string name="button_bar.admin">Admin</string> @@ -410,6 +411,8 @@ <string name="settings.podcasts_enabled_summary">Whether or not to display the podcast listing in the pull out drawer</string> <string name="settings.bookmarks_enabled">Bookmarks Enabled</string> <string name="settings.bookmarks_enabled_summary">Whether or not to display the bookmarks listing in the pull out drawer</string> + <string name="settings.internet_radio_enabled">Internet Radio Enabled</string> + <string name="settings.internet_radio_enabled_summary">Whether or not to display the internet radio listing in the pull out drawer</string> <string name="settings.shares_enabled">Shares Enabled</string> <string name="settings.shares_enabled_summary">Whether or not to display the shares listing in the pull out drawer</string> <string name="settings.sync_title">Sync</string> @@ -610,6 +613,7 @@ <string name="details.title.podcast">Podcast Details</string> <string name="details.title.playlist">Playlist Details</string> <string name="details.title.artist">Artist Details</string> + <string name="details.title.internet_radio_station">Internet Radio Details</string> <string name="details.podcast">Podcast</string> <string name="details.status">Status</string> <string name="details.artist">Artist</string> @@ -649,6 +653,8 @@ <string name="details.last_played">Last Played</string> <string name="details.expiration">Expiration</string> <string name="details.played_count">Played Count</string> + <string name="details.stream_url">Stream URL</string> + <string name="details.home_page">Home Page</string> <string name="permission.external_storage.failed">DSub cannot function without the ability to write to storage</string> diff --git a/app/src/main/res/values/themes.xml b/app/src/main/res/values/themes.xml index 9e95fe9d..8cccab93 100644 --- a/app/src/main/res/values/themes.xml +++ b/app/src/main/res/values/themes.xml @@ -49,6 +49,7 @@ <item name="drawerPlaylists">@drawable/ic_menu_playlist_light</item> <item name="drawerPodcasts">@drawable/ic_menu_podcast_light</item> <item name="drawerBookmarks">@drawable/ic_menu_bookmark_light</item> + <item name="drawerInternetRadioStations">@drawable/ic_menu_radio_light</item> <item name="drawerShares">@drawable/ic_menu_share_light</item> <item name="drawerChat">@drawable/ic_menu_chat_light</item> <item name="drawerAdmin">@drawable/ic_menu_admin_light</item> @@ -120,6 +121,7 @@ <item name="drawerPlaylists">@drawable/ic_menu_playlist_dark</item> <item name="drawerPodcasts">@drawable/ic_menu_podcast_dark</item> <item name="drawerBookmarks">@drawable/ic_menu_bookmark_dark</item> + <item name="drawerInternetRadioStations">@drawable/ic_menu_radio_dark</item> <item name="drawerShares">@drawable/ic_menu_share_dark</item> <item name="drawerChat">@drawable/ic_menu_chat_dark</item> <item name="drawerAdmin">@drawable/ic_menu_admin_dark</item> diff --git a/app/src/main/res/xml/settings_drawer.xml b/app/src/main/res/xml/settings_drawer.xml index 4b92737e..21ec1586 100644 --- a/app/src/main/res/xml/settings_drawer.xml +++ b/app/src/main/res/xml/settings_drawer.xml @@ -19,6 +19,12 @@ android:defaultValue="true"/> <CheckBoxPreference + android:title="@string/settings.internet_radio_enabled" + android:summary="@string/settings.internet_radio_enabled_summary" + android:key="internetRadioEnabled" + android:defaultValue="true"/> + + <CheckBoxPreference android:title="@string/settings.shares_enabled" android:summary="@string/settings.shares_enabled_summary" android:key="sharedEnabled" |