diff --git a/app_pojavlauncher/src/main/AndroidManifest.xml b/app_pojavlauncher/src/main/AndroidManifest.xml index 844b65756..e2b3cef98 100644 --- a/app_pojavlauncher/src/main/AndroidManifest.xml +++ b/app_pojavlauncher/src/main/AndroidManifest.xml @@ -15,8 +15,8 @@ android:name=".PojavApplication" android:theme="@style/AppTheme" android:label="@string/app_name" - android:icon="@drawable/ic_launcher" - android:roundIcon="@drawable/ic_launcher" + android:icon="@mipmap/ic_launcher" + android:roundIcon="@mipmap/ic_launcher_round" android:resizeableActivity="true" android:hasFragileUserData="true" android:allowNativeHeapPointerTagging="false"> diff --git a/app_pojavlauncher/src/main/java/net/kdt/pojavlaunch/scoped/GameFolderProvider.java b/app_pojavlauncher/src/main/java/net/kdt/pojavlaunch/scoped/GameFolderProvider.java index 1f15b1330..cdf997062 100644 --- a/app_pojavlauncher/src/main/java/net/kdt/pojavlaunch/scoped/GameFolderProvider.java +++ b/app_pojavlauncher/src/main/java/net/kdt/pojavlaunch/scoped/GameFolderProvider.java @@ -54,7 +54,7 @@ public class GameFolderProvider extends DocumentsProvider { row.add(Root.COLUMN_TITLE, getContext().getString(R.string.app_name)); row.add(Root.COLUMN_MIME_TYPES, "*/*"); row.add(Root.COLUMN_AVAILABLE_BYTES, baseDir.getFreeSpace()); - row.add(Root.COLUMN_ICON, R.drawable.ic_launcher); + row.add(Root.COLUMN_ICON, R.mipmap.ic_launcher); return result; } @@ -169,7 +169,7 @@ public class GameFolderProvider extends DocumentsProvider { row.add(Document.COLUMN_MIME_TYPE, mimeType); row.add(Document.COLUMN_LAST_MODIFIED, file.lastModified()); row.add(Document.COLUMN_FLAGS, flags); - row.add(Document.COLUMN_ICON, R.drawable.ic_launcher); + row.add(Document.COLUMN_ICON, R.mipmap.ic_launcher); } diff --git a/app_pojavlauncher/src/main/res/drawable-hdpi/ic_launcher.png b/app_pojavlauncher/src/main/res/drawable-hdpi/ic_launcher.png deleted file mode 100644 index c87ede6bb..000000000 Binary files a/app_pojavlauncher/src/main/res/drawable-hdpi/ic_launcher.png and /dev/null differ diff --git a/app_pojavlauncher/src/main/res/drawable-mdpi/ic_launcher.png b/app_pojavlauncher/src/main/res/drawable-mdpi/ic_launcher.png deleted file mode 100644 index 2034c047b..000000000 Binary files a/app_pojavlauncher/src/main/res/drawable-mdpi/ic_launcher.png and /dev/null differ diff --git a/app_pojavlauncher/src/main/res/drawable-xhdpi/ic_launcher.png b/app_pojavlauncher/src/main/res/drawable-xhdpi/ic_launcher.png deleted file mode 100644 index 73b0e94b8..000000000 Binary files a/app_pojavlauncher/src/main/res/drawable-xhdpi/ic_launcher.png and /dev/null differ diff --git a/app_pojavlauncher/src/main/res/drawable-xxhdpi/ic_launcher.png b/app_pojavlauncher/src/main/res/drawable-xxhdpi/ic_launcher.png deleted file mode 100644 index 6637b832f..000000000 Binary files a/app_pojavlauncher/src/main/res/drawable-xxhdpi/ic_launcher.png and /dev/null differ diff --git a/app_pojavlauncher/src/main/res/drawable-xxxhdpi/ic_launcher.png b/app_pojavlauncher/src/main/res/drawable-xxxhdpi/ic_launcher.png deleted file mode 100644 index 66d2cd139..000000000 Binary files a/app_pojavlauncher/src/main/res/drawable-xxxhdpi/ic_launcher.png and /dev/null differ diff --git a/app_pojavlauncher/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/app_pojavlauncher/src/main/res/mipmap-anydpi-v26/ic_launcher.xml new file mode 100644 index 000000000..036d09bc5 --- /dev/null +++ b/app_pojavlauncher/src/main/res/mipmap-anydpi-v26/ic_launcher.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/app_pojavlauncher/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml b/app_pojavlauncher/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml new file mode 100644 index 000000000..036d09bc5 --- /dev/null +++ b/app_pojavlauncher/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/app_pojavlauncher/src/main/res/mipmap-hdpi/ic_launcher.png b/app_pojavlauncher/src/main/res/mipmap-hdpi/ic_launcher.png new file mode 100644 index 000000000..c8289d5fb Binary files /dev/null and b/app_pojavlauncher/src/main/res/mipmap-hdpi/ic_launcher.png differ diff --git a/app_pojavlauncher/src/main/res/mipmap-hdpi/ic_launcher_foreground.png b/app_pojavlauncher/src/main/res/mipmap-hdpi/ic_launcher_foreground.png new file mode 100644 index 000000000..46ffb8141 Binary files /dev/null and b/app_pojavlauncher/src/main/res/mipmap-hdpi/ic_launcher_foreground.png differ diff --git a/app_pojavlauncher/src/main/res/mipmap-hdpi/ic_launcher_round.png b/app_pojavlauncher/src/main/res/mipmap-hdpi/ic_launcher_round.png new file mode 100644 index 000000000..521f7cdb4 Binary files /dev/null and b/app_pojavlauncher/src/main/res/mipmap-hdpi/ic_launcher_round.png differ diff --git a/app_pojavlauncher/src/main/res/mipmap-mdpi/ic_launcher.png b/app_pojavlauncher/src/main/res/mipmap-mdpi/ic_launcher.png new file mode 100644 index 000000000..df3a2a478 Binary files /dev/null and b/app_pojavlauncher/src/main/res/mipmap-mdpi/ic_launcher.png differ diff --git a/app_pojavlauncher/src/main/res/mipmap-mdpi/ic_launcher_foreground.png b/app_pojavlauncher/src/main/res/mipmap-mdpi/ic_launcher_foreground.png new file mode 100644 index 000000000..767a72d22 Binary files /dev/null and b/app_pojavlauncher/src/main/res/mipmap-mdpi/ic_launcher_foreground.png differ diff --git a/app_pojavlauncher/src/main/res/mipmap-mdpi/ic_launcher_round.png b/app_pojavlauncher/src/main/res/mipmap-mdpi/ic_launcher_round.png new file mode 100644 index 000000000..ac0dfb5be Binary files /dev/null and b/app_pojavlauncher/src/main/res/mipmap-mdpi/ic_launcher_round.png differ diff --git a/app_pojavlauncher/src/main/res/mipmap-xhdpi/ic_launcher.png b/app_pojavlauncher/src/main/res/mipmap-xhdpi/ic_launcher.png new file mode 100644 index 000000000..7c24ed4e8 Binary files /dev/null and b/app_pojavlauncher/src/main/res/mipmap-xhdpi/ic_launcher.png differ diff --git a/app_pojavlauncher/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png b/app_pojavlauncher/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png new file mode 100644 index 000000000..7ff014648 Binary files /dev/null and b/app_pojavlauncher/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png differ diff --git a/app_pojavlauncher/src/main/res/mipmap-xhdpi/ic_launcher_round.png b/app_pojavlauncher/src/main/res/mipmap-xhdpi/ic_launcher_round.png new file mode 100644 index 000000000..a9fdd6b36 Binary files /dev/null and b/app_pojavlauncher/src/main/res/mipmap-xhdpi/ic_launcher_round.png differ diff --git a/app_pojavlauncher/src/main/res/mipmap-xxhdpi/ic_launcher.png b/app_pojavlauncher/src/main/res/mipmap-xxhdpi/ic_launcher.png new file mode 100644 index 000000000..a427b92c3 Binary files /dev/null and b/app_pojavlauncher/src/main/res/mipmap-xxhdpi/ic_launcher.png differ diff --git a/app_pojavlauncher/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png b/app_pojavlauncher/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png new file mode 100644 index 000000000..282330827 Binary files /dev/null and b/app_pojavlauncher/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png differ diff --git a/app_pojavlauncher/src/main/res/mipmap-xxhdpi/ic_launcher_round.png b/app_pojavlauncher/src/main/res/mipmap-xxhdpi/ic_launcher_round.png new file mode 100644 index 000000000..d019d548b Binary files /dev/null and b/app_pojavlauncher/src/main/res/mipmap-xxhdpi/ic_launcher_round.png differ diff --git a/app_pojavlauncher/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/app_pojavlauncher/src/main/res/mipmap-xxxhdpi/ic_launcher.png new file mode 100644 index 000000000..32c071097 Binary files /dev/null and b/app_pojavlauncher/src/main/res/mipmap-xxxhdpi/ic_launcher.png differ diff --git a/app_pojavlauncher/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png b/app_pojavlauncher/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png new file mode 100644 index 000000000..6f0c41a46 Binary files /dev/null and b/app_pojavlauncher/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png differ diff --git a/app_pojavlauncher/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png b/app_pojavlauncher/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png new file mode 100644 index 000000000..d0d7a84ce Binary files /dev/null and b/app_pojavlauncher/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png differ diff --git a/app_pojavlauncher/src/main/res/values/ic_launcher_background.xml b/app_pojavlauncher/src/main/res/values/ic_launcher_background.xml new file mode 100644 index 000000000..c5d5899fd --- /dev/null +++ b/app_pojavlauncher/src/main/res/values/ic_launcher_background.xml @@ -0,0 +1,4 @@ + + + #FFFFFF + \ No newline at end of file