summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout
diff options
context:
space:
mode:
authorakuma <akuma>2019-09-08 20:40:29 +0200
committerakuma <akuma>2019-09-08 20:40:29 +0200
commit2e1c94d3f51dc6d667435b2a2bbd81a036d57bae (patch)
tree43590440908ce85ef286487bb5c44155b3de1f8e /app/src/main/res/layout
parentf510feb3130f7f28a5b9116c903a33e92d37ba5c (diff)
New icon and text for Excluded Apps. Using PreferenceHelper. Test done.
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r--app/src/main/res/layout/allowed_vpn_apps.xml37
1 files changed, 11 insertions, 26 deletions
diff --git a/app/src/main/res/layout/allowed_vpn_apps.xml b/app/src/main/res/layout/allowed_vpn_apps.xml
index 93327944..1219da54 100644
--- a/app/src/main/res/layout/allowed_vpn_apps.xml
+++ b/app/src/main/res/layout/allowed_vpn_apps.xml
@@ -9,33 +9,20 @@
android:layout_width="match_parent"
tools:ignore="RtlCompat"
android:layout_height="match_parent">
-<!--
- <RelativeLayout
+
+ <TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:minHeight="?android:attr/actionBarSize"
- android:background="@drawable/bg_switchbar"
- android:paddingStart="@dimen/switchbar_pad"
- android:elevation="1dp"
- android:paddingEnd="@dimen/switchbar_pad"
- tools:ignore="NewApi">
+ android:gravity="center"
+ android:textStyle="bold"
+ android:textColor="@color/colorWarning"
+ android:textAppearance="?android:attr/textAppearanceMedium"
+ android:text="@string/warning_exclude_apps_message" />
- <Switch
- android:id="@+id/default_allow"
- android:layout_alignParentEnd="true"
- android:layout_centerVertical="true"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- />
- <TextView
- android:id="@+id/default_allow_text"
- style="@android:style/TextAppearance.Medium.Inverse"
- tools:text="@string/vpn_disallow_radio"
- android:layout_toStartOf="@id/default_allow"
- android:layout_width="wrap_content"
- android:layout_centerVertical="true"
- android:layout_height="wrap_content" />
- </RelativeLayout>-->
+ <View
+ android:layout_width="match_parent"
+ android:layout_height="1dp"
+ android:background="?android:attr/listDivider"/>
<ListView
android:visibility="gone"
@@ -46,8 +33,6 @@
android:clipToPadding="false"
android:scrollbarStyle="outsideOverlay" />
-
-
<LinearLayout
android:id="@+id/loading_container"
android:orientation="vertical"