d9ccca54691566068085e46544920eb2ed1301d6
[strongswan.git] / src / frontends / android / res / layout / profile_detail_view.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3 Copyright (C) 2012 Tobias Brunner
4 Copyright (C) 2012 Giuliano Grassi
5 Copyright (C) 2012 Ralf Sager
6 Hochschule fuer Technik Rapperswil
7
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>.
12
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
16 for more details.
17 -->
18 <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
19 android:layout_width="match_parent"
20 android:layout_height="match_parent" >
21
22 <LinearLayout
23 android:layout_width="match_parent"
24 android:layout_height="wrap_content"
25 android:orientation="vertical"
26 android:padding="10dp" >
27
28 <TextView
29 android:layout_width="match_parent"
30 android:layout_height="wrap_content"
31 android:layout_marginTop="10dp"
32 android:text="@string/profile_name_label" />
33
34 <EditText
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" />
41
42 <TextView
43 android:layout_width="match_parent"
44 android:layout_height="wrap_content"
45 android:layout_marginTop="10dp"
46 android:text="@string/profile_gateway_label" />
47
48 <EditText
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" />
54
55 <TextView
56 android:layout_width="match_parent"
57 android:layout_height="wrap_content"
58 android:layout_marginTop="10dp"
59 android:text="@string/profile_username_label" />
60
61 <EditText
62 android:id="@+id/username"
63 android:layout_width="match_parent"
64 android:layout_height="wrap_content"
65 android:singleLine="true"
66 android:inputType="textNoSuggestions" />
67
68 <TextView
69 android:layout_width="match_parent"
70 android:layout_height="wrap_content"
71 android:layout_marginTop="10dp"
72 android:text="@string/profile_password_label" />
73
74 <EditText
75 android:id="@+id/password"
76 android:layout_width="match_parent"
77 android:layout_height="wrap_content"
78 android:singleLine="true"
79 android:inputType="textPassword|textNoSuggestions"
80 android:hint="@string/profile_password_hint" />
81
82 <TextView
83 android:layout_width="match_parent"
84 android:layout_height="wrap_content"
85 android:layout_marginTop="10dp"
86 android:text="@string/profile_ca_label" />
87
88 <CheckBox
89 android:id="@+id/ca_auto"
90 android:layout_width="match_parent"
91 android:layout_height="wrap_content"
92 android:text="@string/profile_ca_auto_label" />
93
94 <RelativeLayout
95 android:id="@+id/select_certificate"
96 android:layout_width="match_parent"
97 android:layout_height="wrap_content"
98 android:minHeight="?android:attr/listPreferredItemHeight"
99 android:background="?android:attr/selectableItemBackground"
100 android:padding="10dp" >
101
102 <TextView
103 android:id="@+id/select_certificate_title"
104 android:layout_width="match_parent"
105 android:layout_height="wrap_content"
106 android:textAppearance="?android:attr/textAppearanceMedium"
107 android:text="@string/profile_ca_select_certificate_label" />
108
109 <TextView
110 android:id="@+id/select_certificate_subtitle"
111 android:layout_width="match_parent"
112 android:layout_height="wrap_content"
113 android:layout_below="@id/select_certificate_title"
114 android:layout_alignLeft="@id/select_certificate_title"
115 android:textAppearance="?android:attr/textAppearanceSmall"
116 android:textColor="?android:attr/textColorSecondary"
117 android:text="@string/profile_ca_select_certificate" />
118
119 </RelativeLayout>
120
121 </LinearLayout>
122
123 </ScrollView>