From 437183f283e61da878aded001fb78e8e62aa9da6 Mon Sep 17 00:00:00 2001 From: Sean Leonard Date: Wed, 10 Jul 2013 13:15:52 -0600 Subject: Use non-blocking logic for EIP switch Includes AlertDialog if the user attempts to stop EIP while a connection is being established --- res/values/strings.xml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'res') diff --git a/res/values/strings.xml b/res/values/strings.xml index 3a178037..09819809 100755 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -314,5 +314,9 @@ Didn\'t logged out. Your own cert has been correctly downloaded. Your own cert has incorrectly been downloaded. + Cancel connection? + There is a connection attempt in progress. Do you wish to cancel it? + Yes + No -- cgit v1.2.3 From f9131ce775b180cee3fa8ec1ac52290a7f58d1ef Mon Sep 17 00:00:00 2001 From: Sean Leonard Date: Wed, 10 Jul 2013 18:26:31 -0600 Subject: Refactor EIP UI and control logic out of Dashboard into a Fragment --- res/layout/client_dashboard.xml | 11 +----- res/layout/eip_overview.xml | 76 ------------------------------------- res/layout/eip_service_fragment.xml | 74 ++++++++++++++++++++++++++++++++++++ 3 files changed, 75 insertions(+), 86 deletions(-) delete mode 100644 res/layout/eip_overview.xml create mode 100644 res/layout/eip_service_fragment.xml (limited to 'res') diff --git a/res/layout/client_dashboard.xml b/res/layout/client_dashboard.xml index 9d9b7a40..9f05cfbc 100644 --- a/res/layout/client_dashboard.xml +++ b/res/layout/client_dashboard.xml @@ -65,15 +65,6 @@ android:layout_width="match_parent" android:layout_height="0dp" android:layout_weight="0.11" - android:orientation="vertical" > - - - - + android:orientation="vertical" /> \ No newline at end of file diff --git a/res/layout/eip_overview.xml b/res/layout/eip_overview.xml deleted file mode 100644 index 738c82ef..00000000 --- a/res/layout/eip_overview.xml +++ /dev/null @@ -1,76 +0,0 @@ - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/res/layout/eip_service_fragment.xml b/res/layout/eip_service_fragment.xml new file mode 100644 index 00000000..8f7c1d22 --- /dev/null +++ b/res/layout/eip_service_fragment.xml @@ -0,0 +1,74 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file -- cgit v1.2.3 From b19dc954b381c1e266395fdc1f19a1246096d4ab Mon Sep 17 00:00:00 2001 From: Sean Leonard Date: Wed, 10 Jul 2013 21:57:43 -0600 Subject: Add a progress bar while VPN connection is being established --- res/layout/eip_service_fragment.xml | 11 +++++++++++ res/values/strings.xml | 1 + 2 files changed, 12 insertions(+) (limited to 'res') diff --git a/res/layout/eip_service_fragment.xml b/res/layout/eip_service_fragment.xml index 8f7c1d22..885c78a3 100644 --- a/res/layout/eip_service_fragment.xml +++ b/res/layout/eip_service_fragment.xml @@ -36,6 +36,17 @@ android:layout_alignParentRight="true" android:layout_alignParentTop="true" android:layout_marginRight="10dp" /> + + Didn\'t logged out. Your own cert has been correctly downloaded. Your own cert has incorrectly been downloaded. + Initiating connection Cancel connection? There is a connection attempt in progress. Do you wish to cancel it? Yes -- cgit v1.2.3