diff options
author | Christian Schneppe <christian@pix-art.de> | 2018-03-12 21:26:56 +0100 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2018-03-12 21:27:40 +0100 |
commit | 0e61c65a31eeab6a12b3e79fe6b714bad0ef4aa9 (patch) | |
tree | 5a7ffcde1868f24a6634c9918501487ee425e1e9 /src/main/res/xml | |
parent | f5854d238e4c8aecb5370e56301bd43015ad8ba9 (diff) |
rewrite how preference screens are invokved
Diffstat (limited to 'src/main/res/xml')
-rw-r--r-- | src/main/res/xml/preferences.xml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/main/res/xml/preferences.xml b/src/main/res/xml/preferences.xml index 0343d1171..bfcffe012 100644 --- a/src/main/res/xml/preferences.xml +++ b/src/main/res/xml/preferences.xml @@ -65,6 +65,14 @@ android:key="quiet_hours" android:summary="@string/pref_quiet_hours_summary" android:title="@string/title_pref_quiet_hours"> + <intent + android:action="android.intent.action.VIEW" + android:targetClass="de.pixart.messenger.ui.SettingsActivity" + android:targetPackage="de.pixart.messenger"> + <extra + android:name="page" + android:value="quiet_hours" /> + </intent> <CheckBoxPreference android:defaultValue="@bool/enable_quiet_hours" android:key="enable_quiet_hours" @@ -247,6 +255,14 @@ android:icon="@drawable/ic_settings_black_24dp" android:key="expert" android:title="@string/pref_expert_options"> + <intent + android:action="android.intent.action.VIEW" + android:targetClass="de.pixart.messenger.ui.SettingsActivity" + android:targetPackage="de.pixart.messenger"> + <extra + android:name="page" + android:value="expert" /> + </intent> <PreferenceCategory android:title="@string/pref_general" android:key="general"> <ListPreference |