From: Soren Stoutner Date: Fri, 13 Aug 2021 05:05:26 +0000 (-0700) Subject: Create the Day/Night theme. X-Git-Tag: v1.0~9 X-Git-Url: https://gitweb.stoutner.com/?a=commitdiff_plain;h=f8a2ceab6314bb309c771b18602f1b6ce3c44df0;p=PrivacyCell.git Create the Day/Night theme. --- diff --git a/app/build.gradle b/app/build.gradle index 5fb6c7e..14a34a2 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -45,15 +45,6 @@ android { proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } } - - compileOptions { - sourceCompatibility JavaVersion.VERSION_1_8 - targetCompatibility JavaVersion.VERSION_1_8 - } - - kotlinOptions { - jvmTarget = '1.8' - } } dependencies { @@ -61,6 +52,9 @@ dependencies { implementation 'androidx.core:core-ktx:1.6.0' implementation 'androidx.appcompat:appcompat:1.3.1' + // Include the Kotlin standard libraries. This should be the same version number listed in project build.gradle. + implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.5.21' + // Include the Google material library. implementation 'com.google.android.material:material:1.4.0' } \ No newline at end of file diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index c273ea3..d63e1a4 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -37,7 +37,7 @@ android:allowBackup="false" android:fullBackupContent="false" android:supportsRtl="true" - android:theme="@style/Theme.5GStatus" > + android:theme="@style/Theme.PrivacyCell" > + - - \ No newline at end of file diff --git a/app/src/main/res/values/themes.xml b/app/src/main/res/values/themes.xml index 9099cb1..e4e0d1b 100644 --- a/app/src/main/res/values/themes.xml +++ b/app/src/main/res/values/themes.xml @@ -17,18 +17,11 @@ along with Privacy Browser. If not, see . --> - - \ No newline at end of file diff --git a/build.gradle b/build.gradle index 9f804b5..527bd22 100644 --- a/build.gradle +++ b/build.gradle @@ -23,6 +23,7 @@ buildscript { google() mavenCentral() } + dependencies { classpath "com.android.tools.build:gradle:7.0.0" classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.21"