aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/app/src/main/res/xml/preferences.xml
diff options
context:
space:
mode:
authorSamuel Holland <samuel@sholland.org>2017-08-16 04:34:14 -0500
committerSamuel Holland <samuel@sholland.org>2017-08-16 04:34:14 -0500
commit6c280f09d2fb36572d1d0f96156030f152d15727 (patch)
tree2c993f3eb3f790a8282bb2a911e25c1b42e4d4dd /app/src/main/res/xml/preferences.xml
parentConfigListPreference: ListPreference for configs (diff)
downloadwireguard-android-6c280f09d2fb36572d1d0f96156030f152d15727.tar.xz
wireguard-android-6c280f09d2fb36572d1d0f96156030f152d15727.zip
SettingsActivity: Implement primary config setting
Diffstat (limited to 'app/src/main/res/xml/preferences.xml')
-rw-r--r--app/src/main/res/xml/preferences.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/src/main/res/xml/preferences.xml b/app/src/main/res/xml/preferences.xml
new file mode 100644
index 00000000..09c32942
--- /dev/null
+++ b/app/src/main/res/xml/preferences.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="utf-8"?>
+<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
+ <com.wireguard.android.ConfigListPreference
+ android:key="primary_config"
+ android:summary="@string/primary_config_summary"
+ android:title="@string/primary_config" />
+</PreferenceScreen>