From a84a733fc72d71a3991b5d5e3d9390fc724d00c5 Mon Sep 17 00:00:00 2001
From: TheScarastic <warabhishek@e.email>
Date: Tue, 29 Mar 2022 13:56:17 +0530
Subject: pvc: Add support for dark mode

---
 app/src/main/res/layout/apptrackers_fragment.xml              | 2 +-
 app/src/main/res/layout/fragment_dashboard.xml                | 2 +-
 app/src/main/res/layout/fragment_fake_location.xml            | 2 +-
 app/src/main/res/layout/fragment_internet_activity_policy.xml | 3 +--
 app/src/main/res/layout/fragment_trackers.xml                 | 2 +-
 app/src/main/res/layout/topbar.xml                            | 2 +-
 6 files changed, 6 insertions(+), 7 deletions(-)

(limited to 'app/src/main/res/layout')

diff --git a/app/src/main/res/layout/apptrackers_fragment.xml b/app/src/main/res/layout/apptrackers_fragment.xml
index 87fbc51..b0b9e71 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/primary"
+        android:background="@color/background"
         android:layout_height="match_parent"
         android:layout_width="match_parent"
         >
diff --git a/app/src/main/res/layout/fragment_dashboard.xml b/app/src/main/res/layout/fragment_dashboard.xml
index ec69575..83932b1 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/primary"
+            android:background="@color/background"
             android:gravity="center_horizontal"
             android:layout_height="match_parent"
             android:layout_width="match_parent"
diff --git a/app/src/main/res/layout/fragment_fake_location.xml b/app/src/main/res/layout/fragment_fake_location.xml
index cec5af0..065d222 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/primary"
+    android:background="@color/background"
     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 943c5dd..328eeae 100644
--- a/app/src/main/res/layout/fragment_internet_activity_policy.xml
+++ b/app/src/main/res/layout/fragment_internet_activity_policy.xml
@@ -2,8 +2,7 @@
 <layout>
 <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/primary"
+    android:background="@color/background"
     android:layout_height="match_parent"
     android:layout_width="match_parent"
     >
diff --git a/app/src/main/res/layout/fragment_trackers.xml b/app/src/main/res/layout/fragment_trackers.xml
index 04fcfb1..2122816 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/primary"
+    android:background="@color/background"
     android:layout_height="match_parent"
     android:layout_width="match_parent"
     >
diff --git a/app/src/main/res/layout/topbar.xml b/app/src/main/res/layout/topbar.xml
index 90fb29a..eaebce1 100644
--- a/app/src/main/res/layout/topbar.xml
+++ b/app/src/main/res/layout/topbar.xml
@@ -31,7 +31,7 @@
         android:id="@+id/toolbar"
         android:layout_height="?android:attr/actionBarSize"
         android:layout_width="match_parent"
-        app:titleCentered="true"
         tools:layout_height="56dp"
+        app:navigationIcon="@drawable/ic_back_24dp"
         />
 </com.google.android.material.appbar.AppBarLayout>
-- 
cgit v1.2.1