Add save-username checkbox in the connect dialog.
* changes
+ Add checkbox to layout file and handling code in related classes.
+ Add new methods to VpnProfileActor.
+ Move dialog handling to VpnSettings from AuthenticatorActor in order
to support screen orientation change.
+ Hide "Connect" in the context menu if the profile is connecting.
+ Enable connecting profile in case it was disabled in last call.
This commit is contained in:
@@ -45,4 +45,10 @@
|
||||
android:singleLine="True"/>
|
||||
</LinearLayout>
|
||||
|
||||
<CheckBox android:id="@+id/save_username"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/vpn_connect_margin_left"
|
||||
android:text="@string/vpn_save_username" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
Reference in New Issue
Block a user