diff options
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r-- | app/src/main/res/layout/apptrackers_fragment.xml | 4 | ||||
-rw-r--r-- | app/src/main/res/layout/dashboard_item_submenu_button.xml | 4 | ||||
-rw-r--r-- | app/src/main/res/layout/fragment_dashboard.xml | 24 | ||||
-rw-r--r-- | app/src/main/res/layout/fragment_fake_location.xml | 2 | ||||
-rw-r--r-- | app/src/main/res/layout/fragment_internet_activity_policy.xml | 8 | ||||
-rw-r--r-- | app/src/main/res/layout/fragment_permission_apps.xml | 46 | ||||
-rw-r--r-- | app/src/main/res/layout/fragment_permissions.xml | 57 | ||||
-rw-r--r-- | app/src/main/res/layout/fragment_quick_protection.xml | 70 | ||||
-rw-r--r-- | app/src/main/res/layout/fragment_trackers.xml | 2 | ||||
-rw-r--r-- | app/src/main/res/layout/ipscrambling_item_app_toggle.xml | 1 | ||||
-rw-r--r-- | app/src/main/res/layout/ipscrambling_item_selectmode.xml | 2 | ||||
-rw-r--r-- | app/src/main/res/layout/item_app_toggle.xml | 46 | ||||
-rw-r--r-- | app/src/main/res/layout/item_permission.xml | 73 | ||||
-rw-r--r-- | app/src/main/res/layout/topbar.xml | 2 | ||||
-rw-r--r-- | app/src/main/res/layout/trackers_item_app.xml | 5 | ||||
-rw-r--r-- | app/src/main/res/layout/trackers_item_graph.xml | 2 |
16 files changed, 27 insertions, 321 deletions
diff --git a/app/src/main/res/layout/apptrackers_fragment.xml b/app/src/main/res/layout/apptrackers_fragment.xml index 17d992e..87fbc51 100644 --- a/app/src/main/res/layout/apptrackers_fragment.xml +++ b/app/src/main/res/layout/apptrackers_fragment.xml @@ -22,7 +22,7 @@ <androidx.coordinatorlayout.widget.CoordinatorLayout - android:background="@color/white" + android:background="@color/primary" android:layout_height="match_parent" android:layout_width="match_parent" > @@ -68,7 +68,7 @@ <View android:layout_width="match_parent" android:layout_height="1dp" - android:background="@color/grey_divider" + android:background="@color/divider" /> <TextView android:id="@+id/trackers_list_title" diff --git a/app/src/main/res/layout/dashboard_item_submenu_button.xml b/app/src/main/res/layout/dashboard_item_submenu_button.xml index 8802bca..9129d07 100644 --- a/app/src/main/res/layout/dashboard_item_submenu_button.xml +++ b/app/src/main/res/layout/dashboard_item_submenu_button.xml @@ -61,7 +61,7 @@ app:layout_constraintBottom_toTopOf="@+id/subtitle" app:layout_constraintVertical_chainStyle="packed" android:layout_marginStart="24dp" - android:textColor="@color/black" + android:textColor="@color/primary_text" android:textSize="16sp" /> @@ -75,7 +75,7 @@ app:layout_constraintBottom_toBottomOf="parent" android:layout_marginStart="24dp" android:text="@{subTitle}" - android:textColor="@color/grey_text" + android:textColor="@color/secondary_text" android:textSize="14sp" /> diff --git a/app/src/main/res/layout/fragment_dashboard.xml b/app/src/main/res/layout/fragment_dashboard.xml index 97751a1..97fdae3 100644 --- a/app/src/main/res/layout/fragment_dashboard.xml +++ b/app/src/main/res/layout/fragment_dashboard.xml @@ -15,7 +15,7 @@ > <LinearLayout - android:background="@color/white" + android:background="@color/primary" android:gravity="center_horizontal" android:layout_height="match_parent" android:layout_width="match_parent" @@ -41,7 +41,7 @@ android:layout_weight="1" android:text="@string/dashboard_state_title_off" android:textSize="14sp" - android:textColor="@color/grey_text" + android:textColor="@color/secondary_text" /> <Switch android:id="@+id/toggle_privacy_central" @@ -53,7 +53,7 @@ <View android:layout_width="match_parent" android:layout_height="1dp" - android:background="@color/grey_divider" + android:background="@color/divider" /> @@ -77,7 +77,7 @@ android:layout_height="wrap_content" android:text="@string/dashboard_state_trackers_label" android:textSize="12sp" - android:textColor="@color/grey_text" + android:textColor="@color/secondary_text" android:layout_marginBottom="8dp" /> <TextView @@ -86,7 +86,7 @@ android:layout_height="wrap_content" android:text="@string/dashboard_state_trackers_off" android:textSize="12sp" - android:textColor="@color/black_text" + android:textColor="@color/primary_text" android:textAllCaps="true" /> </LinearLayout> @@ -102,7 +102,7 @@ android:layout_height="wrap_content" android:text="@string/dashboard_state_geolocation_label" android:textSize="12sp" - android:textColor="@color/grey_text" + android:textColor="@color/secondary_text" android:layout_marginBottom="8dp" /> <TextView @@ -111,7 +111,7 @@ android:layout_height="wrap_content" android:text="@string/dashboard_state_geolocation_off" android:textSize="12sp" - android:textColor="@color/black_text" + android:textColor="@color/primary_text" android:textAllCaps="true" /> </LinearLayout> @@ -127,7 +127,7 @@ android:layout_height="wrap_content" android:text="@string/dashboard_state_ipaddress_label" android:textSize="12sp" - android:textColor="@color/grey_text" + android:textColor="@color/secondary_text" android:layout_marginBottom="8dp" /> <TextView @@ -136,7 +136,7 @@ android:layout_height="wrap_content" android:text="@string/dashboard_state_ipaddress_off" android:textSize="12sp" - android:textColor="@color/black_text" + android:textColor="@color/primary_text" android:textAllCaps="true" android:visibility="gone" /> @@ -199,7 +199,7 @@ android:text="@string/dashboard_state_ipaddress_off" android:layout_width="match_parent" android:layout_height="1dp" android:layout_marginStart="48dp" - android:background="@color/grey_divider" + android:background="@color/divider" /> <include @@ -214,7 +214,7 @@ android:text="@string/dashboard_state_ipaddress_off" android:layout_width="match_parent" android:layout_height="1dp" android:layout_marginStart="48dp" - android:background="@color/grey_divider" + android:background="@color/divider" /> <include @@ -230,7 +230,7 @@ android:text="@string/dashboard_state_ipaddress_off" android:layout_width="match_parent" android:layout_height="1dp" android:layout_marginStart="48dp" - android:background="@color/grey_divider" + android:background="@color/divider" /> <include diff --git a/app/src/main/res/layout/fragment_fake_location.xml b/app/src/main/res/layout/fragment_fake_location.xml index 851a7c4..cec5af0 100644 --- a/app/src/main/res/layout/fragment_fake_location.xml +++ b/app/src/main/res/layout/fragment_fake_location.xml @@ -4,7 +4,7 @@ xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:mapbox="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" - android:background="@color/white" + android:background="@color/primary" android:layout_height="match_parent" android:layout_width="match_parent" > 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 44ea823..943c5dd 100644 --- a/app/src/main/res/layout/fragment_internet_activity_policy.xml +++ b/app/src/main/res/layout/fragment_internet_activity_policy.xml @@ -3,7 +3,7 @@ <androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" - android:background="@color/white" + android:background="@color/primary" android:layout_height="match_parent" android:layout_width="match_parent" > @@ -63,7 +63,7 @@ android:layout_width="match_parent" android:padding="4dp" android:textSize="12sp" - android:textColor="@color/black_text_2" + android:textColor="@color/secondary_text" android:text="@string/ipscrambling_tor_disclaimer" /> @@ -83,7 +83,7 @@ android:layout_width="match_parent" android:layout_marginTop="16dp" android:text="@string/ipscrambling_location_label" - android:textColor="@color/black_text" + android:textColor="@color/primary_text" android:textFontWeight="500" android:textSize="14sp" /> @@ -108,7 +108,7 @@ android:layout_marginTop="32dp" android:layout_marginBottom="16dp" android:text="@string/ipscrambling_select_app" - android:textColor="@color/black_text" + android:textColor="@color/primary_text" android:textFontWeight="500" android:textSize="14sp" /> diff --git a/app/src/main/res/layout/fragment_permission_apps.xml b/app/src/main/res/layout/fragment_permission_apps.xml deleted file mode 100644 index db61e93..0000000 --- a/app/src/main/res/layout/fragment_permission_apps.xml +++ /dev/null @@ -1,46 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:app="http://schemas.android.com/apk/res-auto" - xmlns:tools="http://schemas.android.com/tools" - android:background="@color/white" - android:layout_height="match_parent" - android:layout_width="match_parent" - > - - <include layout="@layout/topbar" /> - - <androidx.core.widget.NestedScrollView - android:layout_height="match_parent" - android:layout_width="match_parent" - app:layout_behavior="@string/appbar_scrolling_view_behavior" - > - - <LinearLayout - android:layout_height="match_parent" - android:layout_width="match_parent" - android:orientation="vertical" - tools:context=".main.MainActivity" - > - - <TextView - android:id="@+id/permission_control" - android:layout_gravity="center_horizontal" - android:layout_height="wrap_content" - android:layout_width="match_parent" - android:paddingBottom="16dp" - android:paddingLeft="32dp" - android:paddingRight="32dp" - android:paddingTop="16dp" - android:textColor="@color/black" - android:textSize="14sp" - /> - - <androidx.recyclerview.widget.RecyclerView - android:id="@+id/recylcer_view_permission_apps" - android:layout_height="match_parent" - android:layout_width="match_parent" - tools:listitem="@layout/item_app_toggle" - /> - </LinearLayout> - </androidx.core.widget.NestedScrollView> -</androidx.coordinatorlayout.widget.CoordinatorLayout>
\ No newline at end of file diff --git a/app/src/main/res/layout/fragment_permissions.xml b/app/src/main/res/layout/fragment_permissions.xml deleted file mode 100644 index 7ca4b43..0000000 --- a/app/src/main/res/layout/fragment_permissions.xml +++ /dev/null @@ -1,57 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:app="http://schemas.android.com/apk/res-auto" - xmlns:tools="http://schemas.android.com/tools" - android:background="@color/white" - android:layout_height="match_parent" - android:layout_width="match_parent" - > - - <include layout="@layout/topbar" /> - - <androidx.core.widget.NestedScrollView - android:layout_height="match_parent" - android:layout_width="match_parent" - app:layout_behavior="@string/appbar_scrolling_view_behavior" - > - - <LinearLayout - android:layout_height="match_parent" - android:layout_width="match_parent" - android:orientation="vertical" - android:paddingLeft="32dp" - android:paddingRight="32dp" - tools:context=".main.MainActivity" - > - - <TextView - android:id="@+id/permission_control" - android:layout_gravity="center_horizontal" - android:layout_height="wrap_content" - android:layout_width="match_parent" - android:paddingTop="16dp" - android:text="@string/permission_control_info" - android:textColor="@color/black" - android:textSize="14sp" - /> - - <TextView - android:fontFamily="sans-serif-medium" - android:gravity="center_vertical" - android:id="@+id/learn_more_permissions" - android:layout_height="48dp" - android:layout_width="wrap_content" - android:text="@string/learn_more" - android:textColor="#007fff" - android:textSize="14sp" - /> - - <androidx.recyclerview.widget.RecyclerView - android:id="@+id/recylcer_view_permissions" - android:layout_height="match_parent" - android:layout_width="match_parent" - tools:listitem="@layout/item_permission" - /> - </LinearLayout> - </androidx.core.widget.NestedScrollView> -</androidx.coordinatorlayout.widget.CoordinatorLayout>
\ No newline at end of file diff --git a/app/src/main/res/layout/fragment_quick_protection.xml b/app/src/main/res/layout/fragment_quick_protection.xml deleted file mode 100644 index 569f9b1..0000000 --- a/app/src/main/res/layout/fragment_quick_protection.xml +++ /dev/null @@ -1,70 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:app="http://schemas.android.com/apk/res-auto" - xmlns:tools="http://schemas.android.com/tools" - android:background="@color/white" - android:layout_height="match_parent" - android:layout_width="match_parent" - > - - <include layout="@layout/topbar" /> - - <androidx.core.widget.NestedScrollView - android:layout_height="match_parent" - android:layout_width="match_parent" - app:layout_behavior="@string/appbar_scrolling_view_behavior" - > - - <LinearLayout - android:layout_height="match_parent" - android:layout_marginBottom="56dp" - android:layout_width="match_parent" - android:orientation="vertical" - tools:context=".main.MainActivity" - > - - <TextView - android:id="@+id/quick_protection_info" - android:layout_gravity="center_horizontal" - android:layout_height="wrap_content" - android:layout_width="match_parent" - android:paddingLeft="32dp" - android:paddingRight="32dp" - android:paddingTop="16dp" - android:text="@string/quick_protection_info" - android:textColor="@color/black" - android:textSize="14sp" - /> - - <TextView - android:fontFamily="sans-serif-medium" - android:id="@+id/quick_protection_settings_list" - android:layout_gravity="center_horizontal" - android:layout_height="wrap_content" - android:layout_width="match_parent" - android:paddingBottom="16dp" - android:paddingLeft="32dp" - android:paddingRight="32dp" - android:paddingTop="16dp" - android:text="@string/quick_protection_settings_list" - android:textColor="@color/black" - android:textSize="14sp" - /> - </LinearLayout> - - </androidx.core.widget.NestedScrollView> - - <TextView - android:fontFamily="sans-serif-medium" - android:gravity="center_vertical|end" - android:id="@+id/learn_more" - android:layout_gravity="bottom|end" - android:layout_height="56dp" - android:layout_width="wrap_content" - android:paddingLeft="32dp" - android:paddingRight="32dp" - android:text="@string/learn_more" - android:textColor="#007fff" - android:textSize="14sp" - /> -</androidx.coordinatorlayout.widget.CoordinatorLayout>
\ No newline at end of file diff --git a/app/src/main/res/layout/fragment_trackers.xml b/app/src/main/res/layout/fragment_trackers.xml index 599d68d..04fcfb1 100644 --- a/app/src/main/res/layout/fragment_trackers.xml +++ b/app/src/main/res/layout/fragment_trackers.xml @@ -3,7 +3,7 @@ <androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" - android:background="@color/white" + android:background="@color/primary" android:layout_height="match_parent" android:layout_width="match_parent" > diff --git a/app/src/main/res/layout/ipscrambling_item_app_toggle.xml b/app/src/main/res/layout/ipscrambling_item_app_toggle.xml index 117b834..1fbffa0 100644 --- a/app/src/main/res/layout/ipscrambling_item_app_toggle.xml +++ b/app/src/main/res/layout/ipscrambling_item_app_toggle.xml @@ -14,7 +14,6 @@ android:id="@+id/icon" android:layout_height="32dp" android:layout_width="32dp" - android:src="@drawable/ic_facebook" /> <TextView diff --git a/app/src/main/res/layout/ipscrambling_item_selectmode.xml b/app/src/main/res/layout/ipscrambling_item_selectmode.xml index 4758d56..a012f6d 100644 --- a/app/src/main/res/layout/ipscrambling_item_selectmode.xml +++ b/app/src/main/res/layout/ipscrambling_item_selectmode.xml @@ -48,7 +48,7 @@ android:layout_width="wrap_content" android:text="@{subtitle}" android:textSize="14sp" - android:textColor="@color/grey_text" + android:textColor="@color/secondary_text" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintTop_toBottomOf="@+id/title" app:layout_constraintBottom_toBottomOf="parent" diff --git a/app/src/main/res/layout/item_app_toggle.xml b/app/src/main/res/layout/item_app_toggle.xml deleted file mode 100644 index 8bee0e2..0000000 --- a/app/src/main/res/layout/item_app_toggle.xml +++ /dev/null @@ -1,46 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:tools="http://schemas.android.com/tools" - xmlns:app="http://schemas.android.com/apk/res-auto" - android:id="@+id/item_permission_apps" - android:layout_height="wrap_content" - android:layout_width="match_parent" - android:paddingBottom="16dp" - android:paddingLeft="32dp" - android:paddingRight="32dp" - android:paddingTop="16dp" - > - - <ImageView - android:id="@+id/app_icon" - android:layout_alignParentStart="true" - android:layout_centerVertical="true" - android:layout_height="36dp" - android:layout_width="36dp" - android:src="@drawable/ic_facebook" - /> - - <TextView - android:fontFamily="sans-serif-medium" - android:id="@+id/app_title" - android:layout_centerVertical="true" - android:layout_height="wrap_content" - android:layout_toEndOf="@+id/app_icon" - android:layout_toStartOf="@+id/toggle" - android:layout_width="match_parent" - android:paddingEnd="32dp" - android:paddingStart="32dp" - android:textColor="@color/black" - android:textSize="16sp" - tools:text="Body sensor" - /> - - <Switch - android:id="@+id/toggle" - android:layout_alignParentEnd="true" - android:layout_centerVertical="true" - android:layout_height="wrap_content" - android:layout_width="wrap_content" - /> - -</RelativeLayout>
\ No newline at end of file diff --git a/app/src/main/res/layout/item_permission.xml b/app/src/main/res/layout/item_permission.xml deleted file mode 100644 index 66d4213..0000000 --- a/app/src/main/res/layout/item_permission.xml +++ /dev/null @@ -1,73 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?><!-- - ~ Copyright (C) 2021 E FOUNDATION - ~ - ~ This program is free software: you can redistribute it and/or modify - ~ it under the terms of the GNU General Public License as published by - ~ the Free Software Foundation, either version 3 of the License, or - ~ (at your option) any later version. - ~ - ~ This program is distributed in the hope that it will be useful, - ~ but WITHOUT ANY WARRANTY; without even the implied warranty of - ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - ~ GNU General Public License for more details. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:tools="http://schemas.android.com/tools" - android:id="@+id/item_permission" - android:layout_height="wrap_content" - android:layout_width="match_parent" - android:paddingBottom="16dp" - android:paddingTop="16dp" - > - - <ImageView - android:id="@+id/permission_icon" - android:layout_alignParentStart="true" - android:layout_centerVertical="true" - android:layout_height="24dp" - android:layout_width="24dp" - android:src="@drawable/ic_body_monitor" - /> - - <LinearLayout - android:layout_height="wrap_content" - android:layout_toEndOf="@+id/permission_icon" - android:layout_toStartOf="@+id/chevron" - android:layout_width="match_parent" - android:orientation="vertical" - android:paddingEnd="32dp" - android:paddingStart="32dp" - > - - <TextView - android:fontFamily="sans-serif-medium" - android:id="@+id/permission_title" - android:layout_height="wrap_content" - android:layout_width="match_parent" - android:textColor="@color/black" - android:textSize="16sp" - tools:text="Body sensor" - /> - - <TextView - android:id="@+id/permission_count" - android:layout_height="wrap_content" - android:layout_width="match_parent" - android:textSize="14sp" - tools:text="3 of 8 apps allowed" - /> - </LinearLayout> - - <ImageView - android:id="@+id/chevron" - android:layout_alignParentEnd="true" - android:layout_centerVertical="true" - android:layout_height="24dp" - android:layout_width="24dp" - android:padding="4dp" - android:src="@drawable/ic_chevron_right_24dp" - /> -</RelativeLayout>
\ No newline at end of file diff --git a/app/src/main/res/layout/topbar.xml b/app/src/main/res/layout/topbar.xml index a493b3b..90fb29a 100644 --- a/app/src/main/res/layout/topbar.xml +++ b/app/src/main/res/layout/topbar.xml @@ -26,7 +26,7 @@ > <com.google.android.material.appbar.MaterialToolbar - android:background="@color/white" + android:background="@color/primary" android:elevation="0dp" android:id="@+id/toolbar" android:layout_height="?android:attr/actionBarSize" diff --git a/app/src/main/res/layout/trackers_item_app.xml b/app/src/main/res/layout/trackers_item_app.xml index 310c792..6af43ea 100644 --- a/app/src/main/res/layout/trackers_item_app.xml +++ b/app/src/main/res/layout/trackers_item_app.xml @@ -15,7 +15,6 @@ android:id="@+id/icon" android:layout_height="32dp" android:layout_width="32dp" - android:src="@drawable/ic_facebook" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintTop_toTopOf="parent" app:layout_constraintBottom_toBottomOf="parent" @@ -29,7 +28,7 @@ android:ellipsize="end" android:layout_marginStart="16dp" android:textSize="14sp" - android:textColor="@color/black_text" + android:textColor="@color/primary_text" tools:text="Body sensor" app:layout_constraintLeft_toRightOf="@+id/icon" app:layout_constraintTop_toTopOf="parent" @@ -45,7 +44,7 @@ android:ellipsize="end" android:layout_marginStart="16dp" android:textSize="14sp" - android:textColor="@color/grey_text_2" + android:textColor="@color/secondary_text" tools:text="1 tracker blocked out of 4" app:layout_constraintLeft_toRightOf="@+id/icon" app:layout_constraintBottom_toBottomOf="parent" diff --git a/app/src/main/res/layout/trackers_item_graph.xml b/app/src/main/res/layout/trackers_item_graph.xml index e7245f9..5a2714c 100644 --- a/app/src/main/res/layout/trackers_item_graph.xml +++ b/app/src/main/res/layout/trackers_item_graph.xml @@ -41,7 +41,7 @@ android:id="@+id/graph_period_label" android:layout_height="wrap_content" android:layout_width="wrap_content" - android:textColor="@color/grey_text_2" + android:textColor="@color/secondary_text" app:layout_constraintRight_toRightOf="parent" app:layout_constraintTop_toTopOf="parent" android:layout_marginRight="16dp" |