Show a button to disconnect the VPN once it is established

This commit is contained in:
Tobias Brunner
2012-08-13 11:18:51 +02:00
parent a43bdf9a37
commit 8062f973e1
3 changed files with 36 additions and 0 deletions
@@ -72,6 +72,17 @@
</TextView>
</GridLayout>
<Button
android:id="@+id/action"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="10dp"
android:layout_marginLeft="20dp"
android:layout_marginRight="20dp"
android:text="@string/disconnect"
style="?android:attr/borderlessButtonStyle" >
</Button>
<View
android:layout_width="match_parent"
android:layout_height="2dp"
@@ -53,6 +53,7 @@
<!-- VPN state fragment -->
<string name="state_label">Status:</string>
<string name="profile_label">Profile:</string>
<string name="disconnect">Disconnect</string>
<string name="state_connecting">Connecting&#8230;</string>
<string name="state_connected">Connected</string>
<string name="state_disconnecting">Disconnecting&#8230;</string>