Merge "VpnSettings: pass certificates to racoon directly."
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
<LinearLayout android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:padding="5mm">
|
||||
android:padding="3mm">
|
||||
|
||||
<LinearLayout android:id="@+id/editor"
|
||||
android:layout_width="match_parent"
|
||||
@@ -30,7 +30,7 @@
|
||||
|
||||
<TextView style="@style/vpn_label" android:text="@string/vpn_name"/>
|
||||
<EditText style="@style/vpn_value" android:id="@+id/name"
|
||||
android:singleLine="true"/>
|
||||
android:inputType="textCapWords"/>
|
||||
|
||||
<TextView style="@style/vpn_label" android:text="@string/vpn_type"/>
|
||||
<Spinner style="@style/vpn_value" android:id="@+id/type"
|
||||
@@ -38,11 +38,11 @@
|
||||
android:entries="@array/vpn_types"/>
|
||||
|
||||
<TextView style="@style/vpn_label" android:text="@string/vpn_server"/>
|
||||
<EditText style="@style/vpn_value" android:id="@+id/server"
|
||||
android:singleLine="true"/>
|
||||
<EditText style="@style/vpn_value" android:id="@+id/server"/>
|
||||
|
||||
<CheckBox style="@style/vpn_value" android:id="@+id/mppe"
|
||||
android:text="@string/vpn_mppe"
|
||||
android:singleLine="false"
|
||||
android:visibility="gone"/>
|
||||
|
||||
<LinearLayout android:id="@+id/l2tp"
|
||||
@@ -52,24 +52,27 @@
|
||||
android:visibility="gone">
|
||||
<TextView style="@style/vpn_label" android:text="@string/vpn_l2tp_secret"/>
|
||||
<EditText style="@style/vpn_value" android:id="@+id/l2tp_secret"
|
||||
android:singleLine="true"
|
||||
android:password="true"
|
||||
android:hint="@string/vpn_not_used"/>
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout android:id="@+id/ipsec_id"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:visibility="gone">
|
||||
<TextView style="@style/vpn_label" android:text="@string/vpn_ipsec_identifier"/>
|
||||
<EditText style="@style/vpn_value" android:id="@+id/ipsec_identifier"
|
||||
android:hint="@string/vpn_not_used"/>
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout android:id="@+id/ipsec_psk"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:visibility="gone">
|
||||
<TextView style="@style/vpn_label" android:text="@string/vpn_ipsec_identifier"/>
|
||||
<EditText style="@style/vpn_value" android:id="@+id/ipsec_identifier"
|
||||
android:singleLine="true"
|
||||
android:hint="@string/vpn_not_used"/>
|
||||
|
||||
<TextView style="@style/vpn_label" android:text="@string/vpn_ipsec_secret"/>
|
||||
<EditText style="@style/vpn_value" android:id="@+id/ipsec_secret"
|
||||
android:singleLine="true"
|
||||
android:password="true"/>
|
||||
</LinearLayout>
|
||||
|
||||
@@ -111,15 +114,14 @@
|
||||
android:visibility="gone">
|
||||
|
||||
<TextView style="@style/vpn_label" android:text="@string/vpn_username"/>
|
||||
<EditText style="@style/vpn_value" android:id="@+id/username"
|
||||
android:singleLine="true"/>
|
||||
<EditText style="@style/vpn_value" android:id="@+id/username"/>
|
||||
|
||||
<TextView style="@style/vpn_label" android:text="@string/vpn_password"/>
|
||||
<EditText style="@style/vpn_value" android:id="@+id/password"
|
||||
android:singleLine="true"
|
||||
android:password="true"/>
|
||||
|
||||
<CheckBox style="@style/vpn_value" android:id="@+id/save_login"
|
||||
android:singleLine="false"
|
||||
android:text="@string/vpn_save_login"/>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
@@ -3456,7 +3456,7 @@ found in the list of installed applications.</string>
|
||||
<!-- Checkbox label to save the username and the password for a VPN network. [CHAR LIMIT=40] -->
|
||||
<string name="vpn_save_login">Save account information</string>
|
||||
|
||||
<!-- Hint for an optional input of a VPN network. [CHAR LIMIT=40] -->
|
||||
<!-- Hint for not filling an optional field in a VPN configuration. [CHAR LIMIT=40] -->
|
||||
<string name="vpn_not_used">(not used)</string>
|
||||
<!-- Option to not use a CA certificate to verify the VPN server. [CHAR LIMIT=40] -->
|
||||
<string name="vpn_no_ca_cert">(do not verify server)</string>
|
||||
|
||||
@@ -143,12 +143,15 @@
|
||||
<style name="vpn_label">
|
||||
<item name="android:layout_width">match_parent</item>
|
||||
<item name="android:layout_height">wrap_content</item>
|
||||
<item name="android:textSize">14sp</item>
|
||||
<item name="android:textSize">16sp</item>
|
||||
</style>
|
||||
|
||||
<style name="vpn_value">
|
||||
<item name="android:layout_width">match_parent</item>
|
||||
<item name="android:layout_height">wrap_content</item>
|
||||
<item name="android:textSize">18sp</item>
|
||||
<item name="android:singleLine">true</item>
|
||||
<item name="android:paddingBottom">1mm</item>
|
||||
</style>
|
||||
|
||||
<style name="InputMethodPreferenceStyle">
|
||||
|
||||
Reference in New Issue
Block a user