diff options
Diffstat (limited to 'main/src/ui/res/layout/vpn_profile_list.xml')
-rw-r--r-- | main/src/ui/res/layout/vpn_profile_list.xml | 97 |
1 files changed, 54 insertions, 43 deletions
diff --git a/main/src/ui/res/layout/vpn_profile_list.xml b/main/src/ui/res/layout/vpn_profile_list.xml index f85222b6..7dd2eb36 100644 --- a/main/src/ui/res/layout/vpn_profile_list.xml +++ b/main/src/ui/res/layout/vpn_profile_list.xml @@ -3,77 +3,88 @@ ~ Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt --> <FrameLayout 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"> + xmlns:tools="http://schemas.android.com/tools" + android:layout_width="match_parent" + android:layout_height="match_parent"> <LinearLayout - android:layout_width="match_parent" - android:layout_height="match_parent" - android:orientation="vertical" - android:paddingLeft="@dimen/stdpadding" - android:paddingRight="@dimen/stdpadding"> + android:layout_width="match_parent" + android:layout_height="match_parent" + android:orientation="vertical" + android:paddingLeft="@dimen/stdpadding" + android:paddingRight="@dimen/stdpadding"> + + <TextView + android:id="@+id/notification_permission" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:padding="@dimen/stdpadding" + android:drawableStart="@drawable/notifications" + android:drawablePadding="@dimen/stdpadding" + tools:visibility="visible" + android:visibility="gone" + android:text="Notification permission missing. This is used to display the status of the VPN and go notify about required user interaction like multi factor authorisation.\n\nClick this message to give the app notification permissions" /> <ListView - android:id="@android:id/list" - android:layout_width="fill_parent" - android:layout_height="fill_parent" - android:descendantFocusability="afterDescendants" /> + android:id="@android:id/list" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:descendantFocusability="afterDescendants" /> <LinearLayout - android:id="@android:id/empty" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:gravity="center" - android:orientation="vertical"> + 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" /> + 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" /> + android:layout_width="match_parent" + android:layout_height="12sp" /> <TextView - android:layout_width="fill_parent" - android:layout_height="wrap_content" - android:autoLink="web" - android:text="@string/openvpn_is_no_free_vpn" /> + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:autoLink="web" + android:text="@string/openvpn_is_no_free_vpn" /> <Space - android:layout_width="match_parent" - android:layout_height="12sp" /> + 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" /> + 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" /> + 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" /> + 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" /> + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:text="@string/faq_hint" /> </LinearLayout> </LinearLayout> - <!-- <include layout="@layout/profile_list_fabs" /> --> + <!-- <include layout="@layout/profile_list_fabs" /> --> </FrameLayout> |