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 <LinearLayout xmlns:
android=
"http://schemas.android.com/apk/res/android"
19 android:
layout_width=
"match_parent"
20 android:
layout_height=
"match_parent"
21 android:
layout_margin=
"5dp"
22 android:
background=
"@drawable/vpn_state_background"
23 android:
orientation=
"vertical" >
26 android:
layout_width=
"match_parent"
27 android:
layout_height=
"wrap_content"
28 android:
layout_marginBottom=
"10dp"
29 android:
layout_marginLeft=
"20dp"
30 android:
layout_marginRight=
"20dp"
31 android:
layout_marginTop=
"10dp"
32 android:
columnCount=
"2"
33 android:
rowCount=
"2" >
36 android:
layout_width=
"wrap_content"
37 android:
layout_height=
"wrap_content"
38 android:
layout_marginRight=
"5dp"
40 android:
text=
"@string/state_label"
41 android:
textColor=
"?android:textColorPrimary"
42 android:
textSize=
"20sp" />
45 android:
id=
"@+id/vpn_state"
46 android:
layout_width=
"wrap_content"
47 android:
layout_height=
"wrap_content"
49 android:
text=
"@string/state_disabled"
50 android:
textColor=
"?android:textColorSecondary"
51 android:
textSize=
"20sp" />
54 android:
id=
"@+id/vpn_profile_label"
55 android:
layout_width=
"wrap_content"
56 android:
layout_height=
"wrap_content"
57 android:
layout_marginRight=
"5dp"
59 android:
text=
"@string/profile_label"
60 android:
textColor=
"?android:textColorPrimary"
61 android:
textSize=
"20sp"
62 android:
visibility=
"gone" >
66 android:
id=
"@+id/vpn_profile_name"
67 android:
layout_width=
"wrap_content"
68 android:
layout_height=
"wrap_content"
70 android:
textSize=
"20sp"
71 android:
visibility=
"gone" >
76 android:
id=
"@+id/action"
77 android:
layout_width=
"match_parent"
78 android:
layout_height=
"wrap_content"
79 android:
layout_marginBottom=
"10dp"
80 android:
layout_marginLeft=
"20dp"
81 android:
layout_marginRight=
"20dp"
82 android:
text=
"@string/disconnect"
83 style=
"?android:attr/borderlessButtonStyle" >
87 android:
layout_width=
"match_parent"
88 android:
layout_height=
"2dp"
89 android:
background=
"?android:attr/listDivider" />