1 <?xml version=
"1.0" encoding=
"utf-8"?>
3 Copyright (C)
2012 Tobias Brunner
4 Copyright (C)
2012 Giuliano Grassi
5 Copyright (C)
2012 Ralf Sager
6 Hochschule fuer Technik Rapperswil
8 This program is free software; you can redistribute it and/or modify it
9 under the terms of the GNU General Public License as published by the
10 Free Software Foundation; either version
2 of the License, or (at your
11 option) any later version. See
<http://www.fsf.org/copyleft/gpl.txt
>.
13 This program is distributed in the hope that it will be useful, but
14 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
15 or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
18 <ScrollView xmlns:
android=
"http://schemas.android.com/apk/res/android"
19 android:
layout_width=
"match_parent"
20 android:
layout_height=
"match_parent" >
23 android:
layout_width=
"match_parent"
24 android:
layout_height=
"wrap_content"
25 android:
orientation=
"vertical"
26 android:
padding=
"10dp" >
29 android:
layout_width=
"match_parent"
30 android:
layout_height=
"wrap_content"
31 android:
layout_marginTop=
"10dp"
32 android:
text=
"@string/profile_name_label" />
35 android:
id=
"@+id/name"
36 android:
layout_width=
"match_parent"
37 android:
layout_height=
"wrap_content"
38 android:
singleLine=
"true"
39 android:
inputType=
"textNoSuggestions"
40 android:
hint=
"@string/profile_name_hint" />
43 android:
layout_width=
"match_parent"
44 android:
layout_height=
"wrap_content"
45 android:
layout_marginTop=
"10dp"
46 android:
text=
"@string/profile_gateway_label" />
49 android:
id=
"@+id/gateway"
50 android:
layout_width=
"match_parent"
51 android:
layout_height=
"wrap_content"
52 android:
singleLine=
"true"
53 android:
inputType=
"textNoSuggestions" />
56 android:
layout_width=
"match_parent"
57 android:
layout_height=
"wrap_content"
58 android:
layout_marginTop=
"10dp"
59 android:
text=
"@string/profile_vpn_type_label" />
62 android:
id=
"@+id/vpn_type"
63 android:
layout_width=
"match_parent"
64 android:
layout_height=
"wrap_content"
65 android:
spinnerMode=
"dialog"
66 android:
entries=
"@array/vpn_types" />
69 android:
id=
"@+id/username_password_group"
70 android:
layout_width=
"match_parent"
71 android:
layout_height=
"wrap_content"
72 android:
orientation=
"vertical" >
75 android:
layout_width=
"match_parent"
76 android:
layout_height=
"wrap_content"
77 android:
layout_marginTop=
"10dp"
78 android:
text=
"@string/profile_username_label" />
81 android:
id=
"@+id/username"
82 android:
layout_width=
"match_parent"
83 android:
layout_height=
"wrap_content"
84 android:
singleLine=
"true"
85 android:
inputType=
"textNoSuggestions" />
88 android:
layout_width=
"match_parent"
89 android:
layout_height=
"wrap_content"
90 android:
layout_marginTop=
"10dp"
91 android:
text=
"@string/profile_password_label" />
94 android:
id=
"@+id/password"
95 android:
layout_width=
"match_parent"
96 android:
layout_height=
"wrap_content"
97 android:
singleLine=
"true"
98 android:
inputType=
"textPassword|textNoSuggestions"
99 android:
hint=
"@string/profile_password_hint" />
104 android:
layout_width=
"match_parent"
105 android:
layout_height=
"wrap_content"
106 android:
layout_marginTop=
"10dp"
107 android:
text=
"@string/profile_ca_label" />
110 android:
id=
"@+id/ca_auto"
111 android:
layout_width=
"match_parent"
112 android:
layout_height=
"wrap_content"
113 android:
text=
"@string/profile_ca_auto_label" />
116 android:
id=
"@+id/select_certificate"
117 android:
layout_width=
"match_parent"
118 android:
layout_height=
"wrap_content"
119 android:
minHeight=
"?android:attr/listPreferredItemHeight"
120 android:
background=
"?android:attr/selectableItemBackground"
121 android:
padding=
"10dp" >
124 android:
id=
"@+id/select_certificate_title"
125 android:
layout_width=
"match_parent"
126 android:
layout_height=
"wrap_content"
127 android:
textAppearance=
"?android:attr/textAppearanceMedium"
128 android:
text=
"@string/profile_ca_select_certificate_label" />
131 android:
id=
"@+id/select_certificate_subtitle"
132 android:
layout_width=
"match_parent"
133 android:
layout_height=
"wrap_content"
134 android:
layout_below=
"@id/select_certificate_title"
135 android:
layout_alignLeft=
"@id/select_certificate_title"
136 android:
textAppearance=
"?android:attr/textAppearanceSmall"
137 android:
textColor=
"?android:attr/textColorSecondary"
138 android:
text=
"@string/profile_ca_select_certificate" />