From 366e4ffa04e8d301794e613b89ed918df0b59517 Mon Sep 17 00:00:00 2001 From: jacquarg Date: Fri, 29 Oct 2021 16:44:39 +0200 Subject: Update IPScrambling UI --- .../layout/fragment_internet_activity_policy.xml | 159 +++++++-------------- .../res/layout/ipscrambling_item_app_toggle.xml | 40 ++++++ .../res/layout/ipscrambling_item_selectmode.xml | 57 ++++++++ 3 files changed, 147 insertions(+), 109 deletions(-) create mode 100644 app/src/main/res/layout/ipscrambling_item_app_toggle.xml create mode 100644 app/src/main/res/layout/ipscrambling_item_selectmode.xml (limited to 'app/src/main/res/layout') diff --git a/app/src/main/res/layout/fragment_internet_activity_policy.xml b/app/src/main/res/layout/fragment_internet_activity_policy.xml index 982b7c4..4f29776 100644 --- a/app/src/main/res/layout/fragment_internet_activity_policy.xml +++ b/app/src/main/res/layout/fragment_internet_activity_policy.xml @@ -24,9 +24,7 @@ android:layout_height="match_parent" android:layout_width="match_parent" android:orientation="vertical" - android:paddingLeft="32dp" - android:paddingRight="32dp" - tools:context=".main.MainActivity" + android:padding="16dp" > - - - - - - + - - - - - - - - - - - - - - - + android:layout_height="54dp" + android:background="@drawable/outlined_background" + android:layout_marginTop="16dp" + android:padding="1dp" + > + + + + diff --git a/app/src/main/res/layout/ipscrambling_item_app_toggle.xml b/app/src/main/res/layout/ipscrambling_item_app_toggle.xml new file mode 100644 index 0000000..117b834 --- /dev/null +++ b/app/src/main/res/layout/ipscrambling_item_app_toggle.xml @@ -0,0 +1,40 @@ + + + + + + + + + diff --git a/app/src/main/res/layout/ipscrambling_item_selectmode.xml b/app/src/main/res/layout/ipscrambling_item_selectmode.xml new file mode 100644 index 0000000..4758d56 --- /dev/null +++ b/app/src/main/res/layout/ipscrambling_item_selectmode.xml @@ -0,0 +1,57 @@ + + + + + + + + + + + + + -- cgit v1.2.1