Merge "Support VPN Proxy(2/2)" am: 2a695c4b7b
am: e2f74af063
Change-Id: I61f6f949ab79cdcac5d61ae9409c2de09b75db49
This commit is contained in:
@@ -140,6 +140,46 @@
|
||||
android:labelFor="@+id/routes"/>
|
||||
<EditText style="@style/vpn_value" android:id="@+id/routes"
|
||||
android:hint="@string/vpn_not_used"/>
|
||||
|
||||
<TextView android:id="@+id/vpn_proxy_settings_title"
|
||||
style="@style/vpn_label"
|
||||
android:text="@string/proxy_settings_title"
|
||||
android:labelFor="@+id/vpn_proxy_settings" />
|
||||
|
||||
<Spinner android:id="@+id/vpn_proxy_settings"
|
||||
style="@style/vpn_value"
|
||||
android:prompt="@string/proxy_settings_title"
|
||||
android:entries="@array/vpn_proxy_settings" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/vpn_proxy_fields"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:visibility="gone" >
|
||||
|
||||
<TextView
|
||||
style="@style/vpn_label"
|
||||
android:text="@string/proxy_hostname_label"
|
||||
android:labelFor="@+id/vpn_proxy_host" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/vpn_proxy_host"
|
||||
style="@style/vpn_value"
|
||||
android:hint="@string/proxy_hostname_hint"
|
||||
android:inputType="textNoSuggestions" />
|
||||
|
||||
<TextView
|
||||
style="@style/vpn_label"
|
||||
android:text="@string/proxy_port_label"
|
||||
android:labelFor="@+id/vpn_proxy_port" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/vpn_proxy_port"
|
||||
style="@style/vpn_value"
|
||||
android:hint="@string/proxy_port_hint"
|
||||
android:inputType="number" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout android:id="@+id/login"
|
||||
|
||||
@@ -939,6 +939,14 @@
|
||||
<item>IPSec VPN with certificates and hybrid authentication</item>
|
||||
</string-array>
|
||||
|
||||
<!-- VPN proxy settings. -->
|
||||
<string-array name="vpn_proxy_settings">
|
||||
<!-- No HTTP proxy is used for the current VPN [CHAR LIMIT=25] -->
|
||||
<item>None</item>
|
||||
<!-- Manual HTTP proxy settings are used for the current VPN [CHAR LIMIT=25] -->
|
||||
<item>Manual</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Match this with the constants in LegacyVpnInfo. --> <skip />
|
||||
<!-- Status for a VPN network. [CHAR LIMIT=100] -->
|
||||
<string-array name="vpn_states">
|
||||
|
||||
Reference in New Issue
Block a user