diff options
author | cyBerta <cyberta@riseup.net> | 2018-02-25 23:04:10 +0100 |
---|---|---|
committer | cyBerta <cyberta@riseup.net> | 2018-02-28 01:45:41 +0100 |
commit | 30244cbf5b7eaf6152bcdc2cb5b6848f6e10798d (patch) | |
tree | ca610798a01a202fff04d5ad16b3caf43c8494cb /app/src/main/res | |
parent | 62e36ee804262be866946ca467f7abeb2746add4 (diff) |
#8808 add dialog for always-on vpn infos
Diffstat (limited to 'app/src/main/res')
-rw-r--r-- | app/src/main/res/layout/checkbox_confirm_dialog.xml | 25 | ||||
-rw-r--r-- | app/src/main/res/values/strings.xml | 2 |
2 files changed, 27 insertions, 0 deletions
diff --git a/app/src/main/res/layout/checkbox_confirm_dialog.xml b/app/src/main/res/layout/checkbox_confirm_dialog.xml new file mode 100644 index 00000000..d8d4a19e --- /dev/null +++ b/app/src/main/res/layout/checkbox_confirm_dialog.xml @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="utf-8"?> +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + xmlns:tools="http://schemas.android.com/tools" + android:orientation="vertical"> + + <TextView + android:id="@+id/user_message" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_marginTop="@dimen/activity_horizontal_margin" + android:layout_margin="4dp" + tools:text="To enable always-on VPN please click on the settings icon [img src=settings/] and turn the switch on. \nFurther information: https://help.bitmask.net/android" + /> + + + <CheckBox + android:id="@+id/do_not_show_again" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_margin="@dimen/stdpadding" + android:text="@string/do_not_show_again" /> + +</LinearLayout>
\ No newline at end of file diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 03fd4584..4d19758c 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -111,4 +111,6 @@ <string name="save_battery">Save battery</string> <string name="save_battery_message">Background data connections will hibernate when your phone is inactive. This feature is still experimental.</string> <string name="always_on_vpn">Always-on VPN</string> + <string name="do_not_show_again">Do not show again.</string> + <string name="always_on_vpn_user_message">To enable always-on VPN in Android VPN Settings click on the configure icon and turn the switch on."</string> </resources> |