From e9a4a2839b205c4351cc2ade00f4e4b5efb7dc29 Mon Sep 17 00:00:00 2001 From: Mark Adamson Date: Fri, 20 Mar 2015 13:57:33 +0000 Subject: Add option to disable 'Press back again to exit' prompt --- res/values/strings.xml | 2 ++ res/xml/settings.xml | 6 ++++++ src/github/daneren2005/dsub/activity/SubsonicFragmentActivity.java | 2 +- src/github/daneren2005/dsub/util/Constants.java | 1 + src/github/daneren2005/dsub/util/Util.java | 5 +++++ 5 files changed, 15 insertions(+), 1 deletion(-) diff --git a/res/values/strings.xml b/res/values/strings.xml index 85c94dcf..bcd4917a 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -427,6 +427,8 @@ Show Rating in menus Browse By Tags Browse by tags instead of by folder structure. Requires Subsonic 4.7+ + Disable Exit Prompt + Exit the app immediately upon pressing back from the home screen Override System Language Display app in english even if the system language is something DSub has a translation for. May need to clear the app from memory for changes to take affect. Drawer Tabs diff --git a/res/xml/settings.xml b/res/xml/settings.xml index 91b9ea1a..4179f0a8 100644 --- a/res/xml/settings.xml +++ b/res/xml/settings.xml @@ -64,6 +64,12 @@ android:entries="@array/defaultDrawerItems" android:defaultValue="Home"/> + +