diff options
author | Arne Schwabe <arne@rfc2549.org> | 2012-08-21 01:09:48 +0200 |
---|---|---|
committer | Arne Schwabe <arne@rfc2549.org> | 2012-08-21 01:09:48 +0200 |
commit | a961e7203a288be0bd1bc3e5063c9f63aa0f6143 (patch) | |
tree | 218b9e86a6586b6b4e0b64c5cd471693adc3c4b8 /res/layout/vpn_profile_list.xml | |
parent | c511a77d584b728ca52789bae8d1c16412d49e46 (diff) |
Add a nice "what to do" screen if no VPN has been added yet
Diffstat (limited to 'res/layout/vpn_profile_list.xml')
-rw-r--r-- | res/layout/vpn_profile_list.xml | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/res/layout/vpn_profile_list.xml b/res/layout/vpn_profile_list.xml new file mode 100644 index 00000000..f4a24ece --- /dev/null +++ b/res/layout/vpn_profile_list.xml @@ -0,0 +1,49 @@ +<?xml version="1.0" encoding="utf-8"?> +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:orientation="vertical" > + + <ListView + 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/textAppearanceMedium" /> + + <Space + android:layout_width="match_parent" + android:layout_height="10sp" /> + + <TextView + android:id="@+id/add_new_vpn_hint" + android:layout_width="fill_parent" + android:layout_height="wrap_content" /> + + <TextView + android:id="@+id/import_vpn_hint" + android:layout_width="fill_parent" + android:layout_height="wrap_content" /> + +<Space + android:layout_width="match_parent" + android:layout_height="10sp" /> + + <TextView + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:text="@string/faq_hint" /> + </LinearLayout> + +</LinearLayout>
\ No newline at end of file |