OSDN Git Service

Add VPN settings classes to Settings app.
[android-x86/packages-apps-Settings.git] / res / layout / vpn_connect_dialog_view.xml
1 <?xml version="1.0" encoding="utf-8"?>
2
3 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
4         android:orientation="vertical"
5         android:layout_width="fill_parent"
6         android:layout_height="fill_parent">
7
8     <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
9             android:orientation="horizontal"
10             android:layout_marginLeft="@dimen/vpn_connect_margin_left"
11             android:layout_width="fill_parent"
12             android:layout_height="wrap_content">
13         <TextView android:id="@+id/username_str"
14                 android:layout_width="@dimen/vpn_connect_input_box_label_width"
15                 android:layout_height="wrap_content"
16                 android:textSize="@dimen/vpn_connect_normal_text_size"
17                 android:gravity="right"
18                 android:layout_marginRight="@dimen/vpn_connect_input_box_padding"
19                 android:text="@string/vpn_username_colon" />
20         <EditText android:id="@+id/username_value" 
21                 android:layout_width="fill_parent"
22                 android:layout_height="wrap_content"
23                 android:layout_marginRight="@dimen/vpn_connect_margin_right"
24                 android:singleLine="True"/>
25     </LinearLayout>
26
27     <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
28             android:orientation="horizontal"
29             android:layout_marginLeft="@dimen/vpn_connect_margin_left"
30             android:layout_width="fill_parent"
31             android:layout_height="wrap_content"
32             android:layout_marginBottom="10sp">
33         <TextView android:id="@+id/password_str"
34                 android:layout_width="@dimen/vpn_connect_input_box_label_width"
35                 android:layout_height="wrap_content"
36                 android:textSize="@dimen/vpn_connect_normal_text_size"
37                 android:gravity="right"
38                 android:layout_marginRight="@dimen/vpn_connect_input_box_padding"
39                 android:text="@string/vpn_password_colon" />
40         <EditText android:id="@+id/password_value" 
41                 android:layout_width="fill_parent"
42                 android:layout_height="wrap_content"
43                 android:layout_marginRight="@dimen/vpn_connect_margin_right"
44                 android:password="True"
45                 android:singleLine="True"/>
46     </LinearLayout>
47
48 </LinearLayout>