diff options
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r-- | app/src/main/res/layout/allowed_vpn_apps.xml | 37 |
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" |