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 | 765818d19bbc5debfc2fd034943c071008b4090c (patch) | |
tree | 02966958f730aadc27d583cc9a04b7cadb41c336 /res/layout/vpn_profile_list.xml | |
parent | 561313d5521abea226d4e976959b490732add16e (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 |