diff options
author | Parménides GV <parmegv@sdf.org> | 2015-04-27 18:08:59 +0200 |
---|---|---|
committer | Parménides GV <parmegv@sdf.org> | 2015-04-27 18:08:59 +0200 |
commit | bd68fe662af7734d94a8853b38f418f19879e389 (patch) | |
tree | b64b135dfaa099ba27a8e20fc3835af4d885ba3d /app/src/main/res | |
parent | 8707f9e9a07f8c53955df14ef9b26d13a0eb60da (diff) |
Added a button to the UI
Turn on VPN touching that button, and leave the image as a mere indicator.
Diffstat (limited to 'app/src/main/res')
-rw-r--r-- | app/src/main/res/layout/eip_service_fragment.xml | 6 | ||||
-rw-r--r-- | app/src/main/res/values-es/strings.xml | 3 | ||||
-rw-r--r-- | app/src/main/res/values/strings.xml | 2 |
3 files changed, 10 insertions, 1 deletions
diff --git a/app/src/main/res/layout/eip_service_fragment.xml b/app/src/main/res/layout/eip_service_fragment.xml index e013c7b4..b3651b51 100644 --- a/app/src/main/res/layout/eip_service_fragment.xml +++ b/app/src/main/res/layout/eip_service_fragment.xml @@ -15,6 +15,12 @@ android:text="@string/eip_service_label" android:textAppearance="?android:attr/textAppearanceMedium" /> + <Button + android:id="@+id/vpn.main.button" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + /> + <view android:id="@+id/vpn.Status.Image" android:layout_width="@dimen/progress_button" diff --git a/app/src/main/res/values-es/strings.xml b/app/src/main/res/values-es/strings.xml index 42b8cce4..063c3f8b 100644 --- a/app/src/main/res/values-es/strings.xml +++ b/app/src/main/res/values-es/strings.xml @@ -77,5 +77,6 @@ <string name="logging_in_user_status">está iniciando sesión.</string> <string name="logging_out_user_status">está cerrando sesión.</string> <string name="signingup_message">está siendo registrado.</string> - + <string name="vpn.button.turn.on">Iniciar VPN</string> + <string name="vpn.button.turn.off">Apagar VPN</string> </resources> diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 07bc4770..674bb7c8 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -75,4 +75,6 @@ <string name="logging_in_user_status">is logging in.</string> <string name="logging_out_user_status">is logging out.</string> <string name="signingup_message">is being registered.</string> + <string name="vpn.button.turn.on">Turn on VPN</string> + <string name="vpn.button.turn.off">Turn off VPN</string> </resources> |