diff --git a/.github/workflows/android-build.yml b/.github/workflows/android-build.yml
new file mode 100644
index 00000000..6466f798
--- /dev/null
+++ b/.github/workflows/android-build.yml
@@ -0,0 +1,45 @@
+name: Android Build CI
+
+on:
+ push:
+ branches:
+ - '*'
+ - '!master'
+ - '!release/*'
+concurrency:
+ group: build-${{ github.event.pull_request.number || github.ref }}
+ cancel-in-progress: true
+
+jobs:
+ check_spotless:
+ name: Check spotless
+ runs-on: ubuntu-20.04
+ steps:
+ - uses: actions/checkout@v3
+ - name: Set up JDK 11
+ uses: actions/setup-java@v3
+ with:
+ distribution: "temurin"
+ java-version: 11
+ - name: Check formatting using spotless
+ uses: gradle/gradle-build-action@v2.4.2
+ with:
+ arguments: spotlessCheck
+ build:
+ name: Build debug
+ runs-on: ubuntu-20.04
+ steps:
+ - uses: actions/checkout@v3
+ with:
+ fetch-depth: 0
+ - name: Set up JDK 11
+ uses: actions/setup-java@v3
+ with:
+ distribution: "temurin"
+ java-version: 11
+ - name: Build with Gradle
+ uses: gradle/gradle-build-action@v2.4.2
+ with:
+ arguments: assembledebug --stacktrace
+ env:
+ TZ: UTC
\ No newline at end of file
diff --git a/.github/workflows/android-main.yml b/.github/workflows/android-main.yml
index b46834d8..83e81f71 100644
--- a/.github/workflows/android-main.yml
+++ b/.github/workflows/android-main.yml
@@ -40,7 +40,7 @@ jobs:
- name: Build with Gradle
uses: gradle/gradle-build-action@v2.4.2
with:
- arguments: assembledebug
+ arguments: assembledebug --stacktrace
env:
TZ: UTC
- name: Publish on Telegram
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index c43662cd..278da6d2 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -57,7 +57,6 @@
android:theme="@style/Theme.AmazeFileUtilities"
android:screenOrientation="portrait"
tools:ignore="LockedOrientationActivity"
- android:launchMode="singleInstance"
>
@@ -96,7 +95,6 @@
android:name=".image_viewer.ImageViewerActivity"
android:label="@string/image_viewer"
android:theme="@style/Theme.AmazeFileUtilities.FullScreen.Dark"
- android:launchMode="singleInstance"
android:exported="true"
>
@@ -198,7 +194,7 @@
android:exported="true"
android:label="@string/docx_viewer"
android:theme="@style/Theme.AmazeFileUtilities"
- android:launchMode="singleInstance">
+ >
@@ -214,7 +210,7 @@
android:name=".home_page.ui.options.AboutActivity"
android:exported="true"
android:theme="@style/Custom.Dialog.Dark"
- android:launchMode="singleInstance">
+ >
-
+
diff --git a/app/src/main/res/drawable/popup_item_background.xml b/app/src/main/res/drawable/popup_item_background.xml
new file mode 100644
index 00000000..8f50be99
--- /dev/null
+++ b/app/src/main/res/drawable/popup_item_background.xml
@@ -0,0 +1,16 @@
+
+
+-
+
+
+
+
+
+
+
diff --git a/app/src/main/res/drawable/ripple_curved_16_trans_70.xml b/app/src/main/res/drawable/ripple_curved_16_trans_70.xml
new file mode 100644
index 00000000..a2aee21d
--- /dev/null
+++ b/app/src/main/res/drawable/ripple_curved_16_trans_70.xml
@@ -0,0 +1,17 @@
+
+ -
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/values-v27/themes.xml b/app/src/main/res/values-v27/themes.xml
index 29a13c59..0ec0e6b3 100644
--- a/app/src/main/res/values-v27/themes.xml
+++ b/app/src/main/res/values-v27/themes.xml
@@ -4,5 +4,6 @@
- always
- false
- true
+ - @color/black
\ 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 73bdd710..bdc0c588 100644
--- a/app/src/main/res/values/themes.xml
+++ b/app/src/main/res/values/themes.xml
@@ -63,6 +63,7 @@