diff --git a/.travis.yml b/.travis.yml
index 1c121252b..59a245ad2 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,27 +1,32 @@
language: android
+
jdk:
+- openjdk8
- oraclejdk8
+
android:
components:
- tools
- - build-tools-27.0.3
- - android-27
+ - build-tools-28.0.0
+ - android-28
- extra-google-m2repository
- extra-android-m2repository
licenses:
- ".+"
+
script:
- "./gradlew clean assembleDebug"
+
notifications:
email: false
- slack:
- rooms:
- secure: nzWsLhpkL9Fyw8X4SqdemmeIfG3v56ljoUSKNEffgHZPes0StVRa5oO3f8KseJeuI1CmbzzI2cek8H+7PU7kWTZ4CN7uFrcEOyJyju2co8/aK4vF+Q5/k0Q9J+11l345VTpz1diIlxj8cFoiP50S3gjMTFGuxEmRC6JqNQGwQ7G3NMcPts2bErFdsXsPfP6zzMbhlvMZUdiDDxG2OrW0mJFudIpZJNFxmyiMQLXUlBqjaF6T01VSgCGkx5J+EOnc07J1RGpdwSzGscT4cPuS2EvWpSMObOdVFCL4K96qk2ajYTq5IDr5bbdvWB7niZcbg9WUOu+voHKKxJzJc1mX4y33l+yQLbvL6kvE1gn/NxtRMOaOsu6YTb/Q1D708ZqlqJk20BNoZe3l9LVOIWk3jktXOTcRhyHkGYfqwuYki7zcHHbKAStdhSzC+SU/r8XDLaz4HCviIRupXHUVI9Bp7qr2VmbE/L5TuRdJQ7pRTDMxJQ+nP37vCcoQTwDOojhfjzmTaxUua3w80ZtT4BapmsYDt7WSGtmKMKCxIwN1luWoLVAKLzSN6I5mpwufqOS2rxdOfb0oguZll5W3xIZSKBX5BL9KBFchpPPh7s+7lBTfyVHmpjjOXJ4Jy+tWqd8YEoDbPQrP696684yy1grM6NhmfMVxO+iPMwrHbD7QUXI=
+
sudo: false
+
cache:
directories:
- "$HOME/.m2"
- "$HOME/.gradle"
- "$ANDROID_HOME"
+
before_install:
- - yes | sdkmanager "platforms;android-27"
\ No newline at end of file
+ - yes | sdkmanager "platforms;android-28"
\ No newline at end of file
diff --git a/app/build.gradle b/app/build.gradle
index bde6c615a..861457502 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -1,22 +1,12 @@
/*
- * Copyright (c) 2016-2017 Projekt Substratum
+ * Copyright (c) 2016-2018 Projekt Substratum
* This file is part of Substratum.
*
- * Substratum 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.
- *
- * Substratum 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 Substratum. If not, see .
+ * SPDX-License-Identifier: GPL-3.0-Or-Later
*/
apply plugin: 'com.android.application'
+apply plugin: 'io.fabric'
final def gitHash = { ->
final def stdout = new ByteArrayOutputStream()
@@ -34,8 +24,11 @@ final def keystorePropertiesFile = rootProject.file("keystore.properties")
android {
compileSdkVersion 28
lintOptions {
- checkReleaseBuilds false
abortOnError false
+ checkAllWarnings false
+ checkReleaseBuilds false
+ ignoreWarnings true
+ quiet true
}
dataBinding.enabled true
android.applicationVariants.all { final variant ->
@@ -47,10 +40,11 @@ android {
applicationId "projekt.substratum"
minSdkVersion 24
targetSdkVersion 28
- versionCode 997
- versionName "nine hundred ninety seven"
+ versionCode 1001
+ versionName "one thousand one"
buildConfigField "java.util.Date", "buildTime", "new java.util.Date(" + System.currentTimeMillis() + "L)"
buildConfigField "String", "GIT_HASH", "\"${gitHash()}\""
+ buildConfigField "boolean", "ENHANCED_LOGGING", "false"
}
// If the keystore file exists
@@ -99,29 +93,34 @@ android {
}
ext {
- supportLibsVersion = '27.1.1'
+ databindingVersion = '3.3.0-alpha05'
+ androidXVersion = '1.0.0-rc01'
firebaseVersion = '16.0.1'
+ crashlyticsVersion = '2.9.4'
glideVersion = '4.7.1'
}
+
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
- testImplementation 'junit:junit:4.12'
// Android Support Libraries
- implementation "com.android.support:appcompat-v7:$supportLibsVersion"
- implementation "com.android.support:exifinterface:$supportLibsVersion"
- implementation "com.android.support:cardview-v7:$supportLibsVersion"
- implementation "com.android.support:recyclerview-v7:$supportLibsVersion"
- implementation "com.android.support:support-v13:$supportLibsVersion"
- implementation "com.android.support:design:$supportLibsVersion"
- implementation "com.android.support:palette-v7:$supportLibsVersion"
- implementation "com.android.support:preference-v14:$supportLibsVersion"
+ implementation "androidx.databinding:databinding-runtime:$databindingVersion"
+ implementation "androidx.appcompat:appcompat:$androidXVersion"
+ implementation "androidx.exifinterface:exifinterface:$androidXVersion"
+ implementation "androidx.cardview:cardview:$androidXVersion"
+ implementation "androidx.recyclerview:recyclerview:$androidXVersion"
+ implementation "androidx.legacy:legacy-support-v13:$androidXVersion"
+ implementation "com.google.android.material:material:$androidXVersion"
+ implementation "androidx.palette:palette:$androidXVersion"
+ implementation "androidx.legacy:legacy-preference-v14:$androidXVersion"
// Firebase
implementation "com.google.firebase:firebase-core:$firebaseVersion"
- implementation "com.google.firebase:firebase-crash:$firebaseVersion"
implementation "com.google.firebase:firebase-database:$firebaseVersion"
+ // Crashlytics
+ implementation "com.crashlytics.sdk.android:crashlytics:$crashlyticsVersion"
+
// Image Downloading and Caching
implementation "com.github.bumptech.glide:glide:$glideVersion"
annotationProcessor "com.github.bumptech.glide:compiler:$glideVersion"
@@ -131,7 +130,7 @@ dependencies {
implementation 'commons-io:commons-io:2.5'
// APK Signer
- implementation 'com.android.tools.build:apksig:3.1.3'
+ implementation 'com.android.tools.build:apksig:3.1.4'
// App Intro
implementation 'com.stephentuso:welcome:1.4.1'
diff --git a/app/libs/libsubstratum.jar b/app/libs/libsubstratum.jar
index 66746983c..5a8aec8da 100644
Binary files a/app/libs/libsubstratum.jar and b/app/libs/libsubstratum.jar differ
diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro
index d621ae4e9..9749a55bb 100644
--- a/app/proguard-rules.pro
+++ b/app/proguard-rules.pro
@@ -19,7 +19,7 @@
-keep class com.stephentuso.welcome.** { *; }
# About libraries
--keep class .R
+-keep class **.R
-keep class **.R$* {
;
}
@@ -44,6 +44,10 @@
-dontwarn org.slf4j.impl.**
-dontwarn junit.textui.TestRunner
+# Crashlytics
+-keep public class com.crashlytics.android.Crashlytics { *; }
+-keep public class io.fabric.sdk.android.Fabric { *; }
+
# Android support libraries
-keep public class android.support.v7.widget.** { *; }
-keep public class android.support.v7.internal.widget.** { *; }
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index 80c9aa12a..2aa824e81 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -1,20 +1,9 @@
+
+
+
+
@@ -243,7 +236,7 @@
diff --git a/app/src/main/assets/fonts.xml b/app/src/main/assets/fonts.xml
index 192af58e7..69a791671 100644
--- a/app/src/main/assets/fonts.xml
+++ b/app/src/main/assets/fonts.xml
@@ -1,4 +1,11 @@
+
+
+
+
diff --git a/app/src/main/res/drawable/about_substratum_contributors.xml b/app/src/main/res/drawable/about_substratum_contributors.xml
index aba6a085a..3ee36ecbb 100644
--- a/app/src/main/res/drawable/about_substratum_contributors.xml
+++ b/app/src/main/res/drawable/about_substratum_contributors.xml
@@ -1,19 +1,8 @@
.
+ ~ SPDX-License-Identifier: GPL-3.0-Or-Later
-->
.
+ ~ SPDX-License-Identifier: GPL-3.0-Or-Later
-->
.
+ ~ SPDX-License-Identifier: GPL-3.0-Or-Later
-->
.
+ ~ SPDX-License-Identifier: GPL-3.0-Or-Later
-->
.
+ ~ SPDX-License-Identifier: GPL-3.0-Or-Later
-->
.
+ ~ SPDX-License-Identifier: GPL-3.0-Or-Later
-->
.
+ ~ SPDX-License-Identifier: GPL-3.0-Or-Later
-->
.
+ ~ SPDX-License-Identifier: GPL-3.0-Or-Later
-->
.
+ ~ SPDX-License-Identifier: GPL-3.0-Or-Later
-->
.
+ ~ SPDX-License-Identifier: GPL-3.0-Or-Later
-->
+
+
.
+ ~ SPDX-License-Identifier: GPL-3.0-Or-Later
-->
.
+ ~ SPDX-License-Identifier: GPL-3.0-Or-Later
-->
.
+ ~ SPDX-License-Identifier: GPL-3.0-Or-Later
-->
.
+ ~ SPDX-License-Identifier: GPL-3.0-Or-Later
-->
.
+ ~ SPDX-License-Identifier: GPL-3.0-Or-Later
-->
.
+ ~ SPDX-License-Identifier: GPL-3.0-Or-Later
-->
.
+ ~ SPDX-License-Identifier: GPL-3.0-Or-Later
-->
.
+ ~ SPDX-License-Identifier: GPL-3.0-Or-Later
-->
.
+ ~ SPDX-License-Identifier: GPL-3.0-Or-Later
-->
.
+ ~ SPDX-License-Identifier: GPL-3.0-Or-Later
-->
diff --git a/app/src/main/res/drawable/floating_trash_base.xml b/app/src/main/res/drawable/floating_trash_base.xml
index da3708bdd..807480eb6 100644
--- a/app/src/main/res/drawable/floating_trash_base.xml
+++ b/app/src/main/res/drawable/floating_trash_base.xml
@@ -1,19 +1,8 @@
.
+ ~ SPDX-License-Identifier: GPL-3.0-Or-Later
-->
.
+ ~ SPDX-License-Identifier: GPL-3.0-Or-Later
-->
.
+ ~ SPDX-License-Identifier: GPL-3.0-Or-Later
-->
+
+
+
+
+
.
+ ~ SPDX-License-Identifier: GPL-3.0-Or-Later
-->
.
+ ~ SPDX-License-Identifier: GPL-3.0-Or-Later
-->
.
+ ~ SPDX-License-Identifier: GPL-3.0-Or-Later
-->
.
+ ~ SPDX-License-Identifier: GPL-3.0-Or-Later
-->
.
+ ~ SPDX-License-Identifier: GPL-3.0-Or-Later
-->
.
+ ~ SPDX-License-Identifier: GPL-3.0-Or-Later
-->
.
+ ~ SPDX-License-Identifier: GPL-3.0-Or-Later
-->
.
+ ~ SPDX-License-Identifier: GPL-3.0-Or-Later
-->
.
+ ~ SPDX-License-Identifier: GPL-3.0-Or-Later
-->
.
+ ~ SPDX-License-Identifier: GPL-3.0-Or-Later
-->
.
+ ~ SPDX-License-Identifier: GPL-3.0-Or-Later
-->
.
+ ~ SPDX-License-Identifier: GPL-3.0-Or-Later
-->
diff --git a/app/src/main/res/drawable/nav_drawer_settings.xml b/app/src/main/res/drawable/nav_drawer_settings.xml
index a86b4b62d..5ea9d312c 100644
--- a/app/src/main/res/drawable/nav_drawer_settings.xml
+++ b/app/src/main/res/drawable/nav_drawer_settings.xml
@@ -1,19 +1,8 @@
.
+ ~ SPDX-License-Identifier: GPL-3.0-Or-Later
-->
.
+ ~ SPDX-License-Identifier: GPL-3.0-Or-Later
-->
.
+ ~ SPDX-License-Identifier: GPL-3.0-Or-Later
-->
.
+ ~ SPDX-License-Identifier: GPL-3.0-Or-Later
-->
.
+ ~ SPDX-License-Identifier: GPL-3.0-Or-Later
-->
.
+ ~ SPDX-License-Identifier: GPL-3.0-Or-Later
-->
.
+ ~ SPDX-License-Identifier: GPL-3.0-Or-Later
-->
.
+ ~ SPDX-License-Identifier: GPL-3.0-Or-Later
-->
.
+ ~ SPDX-License-Identifier: GPL-3.0-Or-Later
-->
.
+ ~ SPDX-License-Identifier: GPL-3.0-Or-Later
-->
.
+ ~ SPDX-License-Identifier: GPL-3.0-Or-Later
-->
.
+ ~ SPDX-License-Identifier: GPL-3.0-Or-Later
-->
.
+ ~ SPDX-License-Identifier: GPL-3.0-Or-Later
-->
.
+ ~ SPDX-License-Identifier: GPL-3.0-Or-Later
-->
+
.
+ ~ SPDX-License-Identifier: GPL-3.0-Or-Later
-->
.
+ ~ SPDX-License-Identifier: GPL-3.0-Or-Later
-->
.
+ ~ SPDX-License-Identifier: GPL-3.0-Or-Later
-->
.
+ ~ SPDX-License-Identifier: GPL-3.0-Or-Later
-->
+
diff --git a/app/src/main/res/drawable/showcase_card_gradient.xml b/app/src/main/res/drawable/showcase_card_gradient.xml
index ffbb22048..0202bf366 100644
--- a/app/src/main/res/drawable/showcase_card_gradient.xml
+++ b/app/src/main/res/drawable/showcase_card_gradient.xml
@@ -1,19 +1,8 @@
+
+
diff --git a/app/src/main/res/drawable/showcase_info.xml b/app/src/main/res/drawable/showcase_info.xml
index b2ca79c9a..a8224409b 100644
--- a/app/src/main/res/drawable/showcase_info.xml
+++ b/app/src/main/res/drawable/showcase_info.xml
@@ -1,19 +1,8 @@
.
+ ~ SPDX-License-Identifier: GPL-3.0-Or-Later
-->
.
+ ~ SPDX-License-Identifier: GPL-3.0-Or-Later
-->
.
+ ~ SPDX-License-Identifier: GPL-3.0-Or-Later
-->
.
+ ~ SPDX-License-Identifier: GPL-3.0-Or-Later
-->
.
+ ~ SPDX-License-Identifier: GPL-3.0-Or-Later
-->
.
+ ~ SPDX-License-Identifier: GPL-3.0-Or-Later
-->
.
+ ~ SPDX-License-Identifier: GPL-3.0-Or-Later
-->
.
+ ~ SPDX-License-Identifier: GPL-3.0-Or-Later
-->
.
+ ~ SPDX-License-Identifier: GPL-3.0-Or-Later
-->
.
+ ~ SPDX-License-Identifier: GPL-3.0-Or-Later
-->
.
+ ~ SPDX-License-Identifier: GPL-3.0-Or-Later
-->
.
+ ~ SPDX-License-Identifier: GPL-3.0-Or-Later
-->
.
+ ~ SPDX-License-Identifier: GPL-3.0-Or-Later
-->
.
+ ~ SPDX-License-Identifier: GPL-3.0-Or-Later
-->
.
+ ~ SPDX-License-Identifier: GPL-3.0-Or-Later
-->
.
+ ~ SPDX-License-Identifier: GPL-3.0-Or-Later
-->
.
+ ~ SPDX-License-Identifier: GPL-3.0-Or-Later
-->
.
+ ~ SPDX-License-Identifier: GPL-3.0-Or-Later
-->
.
+ ~ SPDX-License-Identifier: GPL-3.0-Or-Later
-->
.
+ ~ SPDX-License-Identifier: GPL-3.0-Or-Later
-->
.
+ ~ SPDX-License-Identifier: GPL-3.0-Or-Later
-->
.
+ ~ SPDX-License-Identifier: GPL-3.0-Or-Later
-->
.
+ ~ SPDX-License-Identifier: GPL-3.0-Or-Later
-->
.
+ ~ SPDX-License-Identifier: GPL-3.0-Or-Later
-->
.
+ ~ SPDX-License-Identifier: GPL-3.0-Or-Later
-->
+ app:layout_behavior="com.google.android.material.bottomsheet.BottomSheetBehavior">
.
+ ~ SPDX-License-Identifier: GPL-3.0-Or-Later
-->
+ app:layout_behavior="com.google.android.material.bottomsheet.BottomSheetBehavior">
.
+ ~ SPDX-License-Identifier: GPL-3.0-Or-Later
-->
diff --git a/app/src/main/res/layout/crash_dialog.xml b/app/src/main/res/layout/crash_dialog.xml
index 4466372d7..b697eb38c 100644
--- a/app/src/main/res/layout/crash_dialog.xml
+++ b/app/src/main/res/layout/crash_dialog.xml
@@ -1,19 +1,8 @@
.
+ ~ SPDX-License-Identifier: GPL-3.0-Or-Later
-->
- .
+ ~ SPDX-License-Identifier: GPL-3.0-Or-Later
-->
.
+ ~ SPDX-License-Identifier: GPL-3.0-Or-Later
-->
@@ -23,12 +12,12 @@
android:layout_height="match_parent"
android:fitsSystemWindows="true">
-
-
-
-
-
-
+
-
-
+
-
+
-
-
@@ -188,8 +177,8 @@
android:text="@string/fab_menu_enable_disable" />
-
+
-
+
\ No newline at end of file
diff --git a/app/src/main/res/layout/information_activity_changelog_sheet_dialog.xml b/app/src/main/res/layout/information_activity_changelog_sheet_dialog.xml
index 9c3d589df..0774307e9 100644
--- a/app/src/main/res/layout/information_activity_changelog_sheet_dialog.xml
+++ b/app/src/main/res/layout/information_activity_changelog_sheet_dialog.xml
@@ -1,19 +1,8 @@
+ app:layout_behavior="com.google.android.material.bottomsheet.BottomSheetBehavior">
.
+ ~ SPDX-License-Identifier: GPL-3.0-Or-Later
-->
-
-
+
-
-
+
- .
+ ~ SPDX-License-Identifier: GPL-3.0-Or-Later
-->
.
+ ~ SPDX-License-Identifier: GPL-3.0-Or-Later
-->
-
-
-
+
-
-
+
-
-
+
-
-
+
.
+ ~ SPDX-License-Identifier: GPL-3.0-Or-Later
-->
-
@@ -114,7 +103,7 @@
android:textSize="16sp" />
-
-
-
+
@@ -165,7 +154,7 @@
android:gravity="end|bottom"
android:orientation="vertical">
-
@@ -199,8 +188,8 @@
android:drawableStart="@drawable/fab_menu_enable"
android:text="@string/fab_menu_enable" />
-
+
-
+
\ No newline at end of file
diff --git a/app/src/main/res/layout/manager_item.xml b/app/src/main/res/layout/manager_item.xml
index 78b05abd3..216881e7b 100644
--- a/app/src/main/res/layout/manager_item.xml
+++ b/app/src/main/res/layout/manager_item.xml
@@ -1,19 +1,8 @@
-
-
+
\ No newline at end of file
diff --git a/app/src/main/res/layout/priority_item.xml b/app/src/main/res/layout/priority_item.xml
index 16abbdf2c..63b09b29e 100644
--- a/app/src/main/res/layout/priority_item.xml
+++ b/app/src/main/res/layout/priority_item.xml
@@ -1,19 +1,8 @@
.
+ ~ SPDX-License-Identifier: GPL-3.0-Or-Later
-->
-
-
-
-
+
\ No newline at end of file
diff --git a/app/src/main/res/layout/priority_loader_fragment.xml b/app/src/main/res/layout/priority_loader_fragment.xml
index e33b7c881..54b61ee74 100644
--- a/app/src/main/res/layout/priority_loader_fragment.xml
+++ b/app/src/main/res/layout/priority_loader_fragment.xml
@@ -1,19 +1,8 @@
@@ -27,7 +16,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content">
- .
+ ~ SPDX-License-Identifier: GPL-3.0-Or-Later
-->
-
-
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/app/src/main/res/layout/priority_overlay_item.xml b/app/src/main/res/layout/priority_overlay_item.xml
index 29f2e9aaa..d1c53135c 100644
--- a/app/src/main/res/layout/priority_overlay_item.xml
+++ b/app/src/main/res/layout/priority_overlay_item.xml
@@ -1,22 +1,11 @@
-
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/app/src/main/res/layout/profile_fragment.xml b/app/src/main/res/layout/profile_fragment.xml
index 3bb99593a..4c0743b2a 100644
--- a/app/src/main/res/layout/profile_fragment.xml
+++ b/app/src/main/res/layout/profile_fragment.xml
@@ -1,19 +1,8 @@
@@ -40,7 +29,7 @@
android:layout_height="wrap_content"
android:orientation="vertical">
-
-
+
-
-
+
-
-
+
diff --git a/app/src/main/res/layout/restore_sheet_dialog.xml b/app/src/main/res/layout/restore_sheet_dialog.xml
index a3c1f4f6d..409ac9ea3 100644
--- a/app/src/main/res/layout/restore_sheet_dialog.xml
+++ b/app/src/main/res/layout/restore_sheet_dialog.xml
@@ -1,19 +1,8 @@
+ app:layout_behavior="com.google.android.material.bottomsheet.BottomSheetBehavior">
-
-
@@ -79,7 +68,7 @@
-
-
+
diff --git a/app/src/main/res/layout/showcase_info.xml b/app/src/main/res/layout/showcase_info.xml
index 109899b4e..433d68075 100644
--- a/app/src/main/res/layout/showcase_info.xml
+++ b/app/src/main/res/layout/showcase_info.xml
@@ -1,19 +1,8 @@
.
+ ~ SPDX-License-Identifier: GPL-3.0-Or-Later
-->
-
-
+
\ No newline at end of file
diff --git a/app/src/main/res/layout/showcase_tab.xml b/app/src/main/res/layout/showcase_tab.xml
index e2dc00eef..59bc33925 100644
--- a/app/src/main/res/layout/showcase_tab.xml
+++ b/app/src/main/res/layout/showcase_tab.xml
@@ -1,24 +1,13 @@
-
@@ -33,7 +22,7 @@
android:indeterminate="true"
android:paddingTop="50dp" />
-
-
+
\ No newline at end of file
diff --git a/app/src/main/res/layout/splashscreen_activity.xml b/app/src/main/res/layout/splashscreen_activity.xml
index 8a6439462..f9287d23d 100644
--- a/app/src/main/res/layout/splashscreen_activity.xml
+++ b/app/src/main/res/layout/splashscreen_activity.xml
@@ -1,19 +1,8 @@
diff --git a/app/src/main/res/layout/tab_bootanimations.xml b/app/src/main/res/layout/tab_bootanimations.xml
index 822f3cc84..c060e8595 100644
--- a/app/src/main/res/layout/tab_bootanimations.xml
+++ b/app/src/main/res/layout/tab_bootanimations.xml
@@ -1,24 +1,13 @@
-
-
+
\ No newline at end of file
diff --git a/app/src/main/res/layout/tab_fonts.xml b/app/src/main/res/layout/tab_fonts.xml
index 42bd8b5c9..87f80800a 100644
--- a/app/src/main/res/layout/tab_fonts.xml
+++ b/app/src/main/res/layout/tab_fonts.xml
@@ -1,24 +1,13 @@
-
-
+
\ No newline at end of file
diff --git a/app/src/main/res/layout/tab_overlays.xml b/app/src/main/res/layout/tab_overlays.xml
index 12af2517b..129466963 100644
--- a/app/src/main/res/layout/tab_overlays.xml
+++ b/app/src/main/res/layout/tab_overlays.xml
@@ -1,24 +1,13 @@
-
-
-
-
+
-
+
\ No newline at end of file
diff --git a/app/src/main/res/layout/tab_overlays_attention_sheet_dialog.xml b/app/src/main/res/layout/tab_overlays_attention_sheet_dialog.xml
index 07072ea1d..c3393075d 100644
--- a/app/src/main/res/layout/tab_overlays_attention_sheet_dialog.xml
+++ b/app/src/main/res/layout/tab_overlays_attention_sheet_dialog.xml
@@ -1,19 +1,8 @@
+ app:layout_behavior="com.google.android.material.bottomsheet.BottomSheetBehavior">
.
+ ~ SPDX-License-Identifier: GPL-3.0-Or-Later
-->
+ app:layout_behavior="com.google.android.material.bottomsheet.BottomSheetBehavior">
.
+ ~ SPDX-License-Identifier: GPL-3.0-Or-Later
-->
-
-
+
\ No newline at end of file
diff --git a/app/src/main/res/layout/tab_overlays_preview_item.xml b/app/src/main/res/layout/tab_overlays_preview_item.xml
index ea5b3ba09..0b148b994 100644
--- a/app/src/main/res/layout/tab_overlays_preview_item.xml
+++ b/app/src/main/res/layout/tab_overlays_preview_item.xml
@@ -1,19 +1,8 @@
diff --git a/app/src/main/res/layout/tab_sounds.xml b/app/src/main/res/layout/tab_sounds.xml
index 7f3b408bd..55091428b 100644
--- a/app/src/main/res/layout/tab_sounds.xml
+++ b/app/src/main/res/layout/tab_sounds.xml
@@ -1,24 +1,13 @@
-
-
-
+
\ No newline at end of file
diff --git a/app/src/main/res/layout/tab_sounds_item.xml b/app/src/main/res/layout/tab_sounds_item.xml
index d8545ba00..b0b21d72b 100644
--- a/app/src/main/res/layout/tab_sounds_item.xml
+++ b/app/src/main/res/layout/tab_sounds_item.xml
@@ -1,19 +1,8 @@
diff --git a/app/src/main/res/layout/tab_wallpaper_dialog.xml b/app/src/main/res/layout/tab_wallpaper_dialog.xml
index 4dbd81b43..00800f0cb 100644
--- a/app/src/main/res/layout/tab_wallpaper_dialog.xml
+++ b/app/src/main/res/layout/tab_wallpaper_dialog.xml
@@ -1,19 +1,8 @@
.
+ ~ SPDX-License-Identifier: GPL-3.0-Or-Later
-->
-
-
+
\ No newline at end of file
diff --git a/app/src/main/res/layout/tab_wallpapers.xml b/app/src/main/res/layout/tab_wallpapers.xml
index 131bf9961..66513eea9 100644
--- a/app/src/main/res/layout/tab_wallpapers.xml
+++ b/app/src/main/res/layout/tab_wallpapers.xml
@@ -1,25 +1,14 @@
-
-
-
-
+
-
+
\ No newline at end of file
diff --git a/app/src/main/res/layout/team_dialog.xml b/app/src/main/res/layout/team_dialog.xml
index 63aa539c8..749495a47 100644
--- a/app/src/main/res/layout/team_dialog.xml
+++ b/app/src/main/res/layout/team_dialog.xml
@@ -1,19 +1,8 @@
-
-
+
-
-
+
@@ -165,7 +154,7 @@
android:layout_marginTop="10dp"
android:baselineAligned="false">
-
-
+
-
-
+
@@ -279,7 +268,7 @@
android:layout_marginTop="10dp"
android:baselineAligned="false">
-
-
+
-
-
+
@@ -393,7 +382,7 @@
android:layout_marginTop="10dp"
android:baselineAligned="false">
-
-
+
-
-
+
\ No newline at end of file
diff --git a/app/src/main/res/layout/theme_entry_card.xml b/app/src/main/res/layout/theme_entry_card.xml
index dcae10a4d..cbf2df4c3 100644
--- a/app/src/main/res/layout/theme_entry_card.xml
+++ b/app/src/main/res/layout/theme_entry_card.xml
@@ -1,19 +1,8 @@
-
-
+
\ No newline at end of file
diff --git a/app/src/main/res/layout/theme_entry_long_press_sheet_dialog.xml b/app/src/main/res/layout/theme_entry_long_press_sheet_dialog.xml
index 40113c6a5..bd5eb94e2 100644
--- a/app/src/main/res/layout/theme_entry_long_press_sheet_dialog.xml
+++ b/app/src/main/res/layout/theme_entry_long_press_sheet_dialog.xml
@@ -1,19 +1,8 @@
@@ -23,7 +12,7 @@
android:layout_height="wrap_content"
android:background="@color/bottom_sheet_dialog_background"
android:orientation="vertical"
- app:layout_behavior="android.support.design.widget.BottomSheetBehavior">
+ app:layout_behavior="com.google.android.material.bottomsheet.BottomSheetBehavior">
+ android:id="@+id/icons"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentEnd="true"
+ android:layout_marginEnd="5dp"
+ android:layout_marginBottom="3dp"
+ android:clickable="false" />
diff --git a/app/src/main/res/layout/theme_fragment.xml b/app/src/main/res/layout/theme_fragment.xml
index 3af6915ef..5b8fd861a 100644
--- a/app/src/main/res/layout/theme_fragment.xml
+++ b/app/src/main/res/layout/theme_fragment.xml
@@ -1,19 +1,8 @@
@@ -23,7 +12,7 @@
android:layout_height="match_parent"
tools:context="MainActivity">
-
@@ -80,7 +69,7 @@
-
-
+
\ No newline at end of file
diff --git a/app/src/main/res/layout/validator_dialog.xml b/app/src/main/res/layout/validator_dialog.xml
index 47a6e4233..5d4f40d02 100644
--- a/app/src/main/res/layout/validator_dialog.xml
+++ b/app/src/main/res/layout/validator_dialog.xml
@@ -1,19 +1,8 @@
.
+ ~ SPDX-License-Identifier: GPL-3.0-Or-Later
-->
-
-
+
\ No newline at end of file
diff --git a/app/src/main/res/layout/validator_dialog_inner.xml b/app/src/main/res/layout/validator_dialog_inner.xml
index aa7e9137a..faec58b64 100644
--- a/app/src/main/res/layout/validator_dialog_inner.xml
+++ b/app/src/main/res/layout/validator_dialog_inner.xml
@@ -1,26 +1,15 @@
-
-
+
-
-
-
+
\ No newline at end of file
diff --git a/app/src/main/res/menu/bottombar_tabs.xml b/app/src/main/res/menu/bottombar_tabs.xml
index 45d1fa056..b4e9457fc 100644
--- a/app/src/main/res/menu/bottombar_tabs.xml
+++ b/app/src/main/res/menu/bottombar_tabs.xml
@@ -1,4 +1,11 @@
+
+