summaryrefslogtreecommitdiff
path: root/remoteExample/src/main/res
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2021-10-04 04:18:35 +0200
committerArne Schwabe <arne@rfc2549.org>2021-10-04 04:18:35 +0200
commitd54ba7a09d0fd1301f0122070005b914ef70d128 (patch)
treeb8c5ae4b686601c9b58f276f6969a4ff0e25eaa4 /remoteExample/src/main/res
parent650e238b7676393cd426a7cdb86fcc4fd2d87a6d (diff)
Add check to start profile when importing to remote Example
Diffstat (limited to 'remoteExample/src/main/res')
-rw-r--r--remoteExample/src/main/res/layout/fragment_main.xml12
-rw-r--r--remoteExample/src/main/res/values/strings.xml1
2 files changed, 11 insertions, 2 deletions
diff --git a/remoteExample/src/main/res/layout/fragment_main.xml b/remoteExample/src/main/res/layout/fragment_main.xml
index 0cc953f6..6b8102e2 100644
--- a/remoteExample/src/main/res/layout/fragment_main.xml
+++ b/remoteExample/src/main/res/layout/fragment_main.xml
@@ -47,12 +47,12 @@
android:layout_alignParentLeft="true"
tools:text="TextView" />
- <Button
+ <Button
android:id="@+id/getMyIP"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_alignParentLeft="true"
android:layout_below="@+id/startVPN"
+ android:layout_alignParentLeft="true"
android:text="@string/show_my_ip" />
<Button
@@ -92,4 +92,12 @@
android:layout_toRightOf="@+id/addNewProfile"
android:text="@string/addNewEdit" />
+ <CheckBox
+ android:id="@+id/startafterAdding"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_below="@+id/startembedded"
+ android:layout_marginTop="4dp"
+ android:text="@string/start_profile_after_adding" />
+
</RelativeLayout>
diff --git a/remoteExample/src/main/res/values/strings.xml b/remoteExample/src/main/res/values/strings.xml
index 5bb63fc3..971f7de5 100644
--- a/remoteExample/src/main/res/values/strings.xml
+++ b/remoteExample/src/main/res/values/strings.xml
@@ -17,6 +17,7 @@
<string name="start_embedded">Start embedded profile</string>
<string name="addNew">Add new Profile</string>
<string name="addNewEdit">Add editable profile</string>
+ <string name="start_profile_after_adding">Start profile after adding</string>
</resources>