summaryrefslogtreecommitdiff
path: root/main/src/main/res/layout/vpn_profile_list.xml
blob: 075990f2e5a8e5023e8724283fd64956e6528e59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<?xml version="1.0" encoding="utf-8"?>
<!--
  ~ Copyright (c) 2012-2014 Arne Schwabe
  ~ Distributed under the GNU GPL v2. For full terms see the file doc/LICENSE.txt
  -->

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical"
    android:paddingLeft="@dimen/stdpadding"
    android:paddingRight="@dimen/stdpadding" >

    <ListView
        android:descendantFocusability="afterDescendants"
        android:id="@android:id/list"
        android:layout_width="fill_parent"
        android:layout_height="fill_parent" />

    <LinearLayout
        android:id="@android:id/empty"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:gravity="center"
        android:orientation="vertical" >

        <TextView
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            android:text="@string/no_vpn_profiles_defined"
            android:textAppearance="?android:attr/textAppearanceLarge" />

        <Space
            android:layout_width="match_parent"
            android:layout_height="12sp" />


        <TextView
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            android:text="@string/openvpn_is_no_free_vpn"
            android:autoLink="web" />
        <Space
            android:layout_width="match_parent"
            android:layout_height="12sp" />


        <TextView
            android:id="@+id/add_new_vpn_hint"
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            tools:ignore="SelectableText" />

        <TextView
            android:id="@+id/import_vpn_hint"
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            tools:ignore="SelectableText" />

        <Space
            android:layout_width="match_parent"
            android:layout_height="12sp" />

        <TextView
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            android:text="@string/faq_hint" />
    </LinearLayout>

</LinearLayout>