diff options
author | xAlpharax <42233094+xAlpharax@users.noreply.github.com> | 2023-10-13 17:35:29 +0300 |
---|---|---|
committer | xAlpharax <42233094+xAlpharax@users.noreply.github.com> | 2023-10-13 17:35:29 +0300 |
commit | 14e3807c7c238a2ea1879f79da820be303cfb3ed (patch) | |
tree | 03d64931f14bc9be2f3c218546b775c3ff8a7e32 /android/app/src/main | |
parent | 07150b61d3593fc9ad764a7884e50a5190178e1b (diff) |
Fixed Icon Breakage
Changes to be committed:
deleted: android/app/src/main/res/AndroidManifest.xml
new file: android/app/src/main/res/drawable-hdpi/ic_launcher_background.png
new file: android/app/src/main/res/drawable-hdpi/ic_launcher_foreground.png
new file: android/app/src/main/res/drawable-mdpi/ic_launcher_background.png
new file: android/app/src/main/res/drawable-mdpi/ic_launcher_foreground.png
new file: android/app/src/main/res/drawable-xhdpi/ic_launcher_background.png
new file: android/app/src/main/res/drawable-xhdpi/ic_launcher_foreground.png
new file: android/app/src/main/res/drawable-xxhdpi/ic_launcher_background.png
new file: android/app/src/main/res/drawable-xxhdpi/ic_launcher_foreground.png
new file: android/app/src/main/res/drawable-xxxhdpi/ic_launcher_background.png
new file: android/app/src/main/res/drawable-xxxhdpi/ic_launcher_foreground.png
new file: android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
modified: android/app/src/main/res/mipmap-hdpi/ic_launcher.png
modified: android/app/src/main/res/mipmap-mdpi/ic_launcher.png
modified: android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
modified: android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
modified: android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
new file: android/app/src/main/res/values/colors.xml
modified: lib/main.dart
Diffstat (limited to 'android/app/src/main')
18 files changed, 9 insertions, 38 deletions
diff --git a/android/app/src/main/res/AndroidManifest.xml b/android/app/src/main/res/AndroidManifest.xml deleted file mode 100644 index dd90eee..0000000 --- a/android/app/src/main/res/AndroidManifest.xml +++ /dev/null @@ -1,38 +0,0 @@ -<manifest xmlns:android="http://schemas.android.com/apk/res/android"> - - <uses-permission android:name="android.permission.CAMERA" /> - <uses-feature android:name="android.hardware.camera" /> - <uses-feature android:name="android.hardware.camera.autofocus" /> - - <application - android:label="MegaView" - android:name="${applicationName}" - android:icon="@mipmap/ic_launcher"> - <activity - android:name=".MainActivity" - android:exported="true" - android:launchMode="singleTop" - android:theme="@style/LaunchTheme" - android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode" - android:hardwareAccelerated="true" - android:windowSoftInputMode="adjustResize"> - <!-- Specifies an Android theme to apply to this Activity as soon as - the Android process has started. This theme is visible to the user - while the Flutter UI initializes. After that, this theme continues - to determine the Window background behind the Flutter UI. --> - <meta-data - android:name="io.flutter.embedding.android.NormalTheme" - android:resource="@style/NormalTheme" - /> - <intent-filter> - <action android:name="android.intent.action.MAIN"/> - <category android:name="android.intent.category.LAUNCHER"/> - </intent-filter> - </activity> - <!-- Don't delete the meta-data below. - This is used by the Flutter tool to generate GeneratedPluginRegistrant.java --> - <meta-data - android:name="flutterEmbedding" - android:value="2" /> - </application> -</manifest> diff --git a/android/app/src/main/res/drawable-hdpi/ic_launcher_background.png b/android/app/src/main/res/drawable-hdpi/ic_launcher_background.png Binary files differnew file mode 100644 index 0000000..e127458 --- /dev/null +++ b/android/app/src/main/res/drawable-hdpi/ic_launcher_background.png diff --git a/android/app/src/main/res/drawable-hdpi/ic_launcher_foreground.png b/android/app/src/main/res/drawable-hdpi/ic_launcher_foreground.png Binary files differnew file mode 100644 index 0000000..e127458 --- /dev/null +++ b/android/app/src/main/res/drawable-hdpi/ic_launcher_foreground.png diff --git a/android/app/src/main/res/drawable-mdpi/ic_launcher_background.png b/android/app/src/main/res/drawable-mdpi/ic_launcher_background.png Binary files differnew file mode 100644 index 0000000..4f53b51 --- /dev/null +++ b/android/app/src/main/res/drawable-mdpi/ic_launcher_background.png diff --git a/android/app/src/main/res/drawable-mdpi/ic_launcher_foreground.png b/android/app/src/main/res/drawable-mdpi/ic_launcher_foreground.png Binary files differnew file mode 100644 index 0000000..4f53b51 --- /dev/null +++ b/android/app/src/main/res/drawable-mdpi/ic_launcher_foreground.png diff --git a/android/app/src/main/res/drawable-xhdpi/ic_launcher_background.png b/android/app/src/main/res/drawable-xhdpi/ic_launcher_background.png Binary files differnew file mode 100644 index 0000000..335a110 --- /dev/null +++ b/android/app/src/main/res/drawable-xhdpi/ic_launcher_background.png diff --git a/android/app/src/main/res/drawable-xhdpi/ic_launcher_foreground.png b/android/app/src/main/res/drawable-xhdpi/ic_launcher_foreground.png Binary files differnew file mode 100644 index 0000000..335a110 --- /dev/null +++ b/android/app/src/main/res/drawable-xhdpi/ic_launcher_foreground.png diff --git a/android/app/src/main/res/drawable-xxhdpi/ic_launcher_background.png b/android/app/src/main/res/drawable-xxhdpi/ic_launcher_background.png Binary files differnew file mode 100644 index 0000000..a255ceb --- /dev/null +++ b/android/app/src/main/res/drawable-xxhdpi/ic_launcher_background.png diff --git a/android/app/src/main/res/drawable-xxhdpi/ic_launcher_foreground.png b/android/app/src/main/res/drawable-xxhdpi/ic_launcher_foreground.png Binary files differnew file mode 100644 index 0000000..a255ceb --- /dev/null +++ b/android/app/src/main/res/drawable-xxhdpi/ic_launcher_foreground.png diff --git a/android/app/src/main/res/drawable-xxxhdpi/ic_launcher_background.png b/android/app/src/main/res/drawable-xxxhdpi/ic_launcher_background.png Binary files differnew file mode 100644 index 0000000..eaf610c --- /dev/null +++ b/android/app/src/main/res/drawable-xxxhdpi/ic_launcher_background.png diff --git a/android/app/src/main/res/drawable-xxxhdpi/ic_launcher_foreground.png b/android/app/src/main/res/drawable-xxxhdpi/ic_launcher_foreground.png Binary files differnew file mode 100644 index 0000000..eaf610c --- /dev/null +++ b/android/app/src/main/res/drawable-xxxhdpi/ic_launcher_foreground.png diff --git a/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml new file mode 100644 index 0000000..5f349f7 --- /dev/null +++ b/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="utf-8"?> +<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> + <background android:drawable="@color/ic_launcher_background"/> + <foreground android:drawable="@drawable/ic_launcher_foreground"/> +</adaptive-icon> diff --git a/android/app/src/main/res/mipmap-hdpi/ic_launcher.png b/android/app/src/main/res/mipmap-hdpi/ic_launcher.png Binary files differindex db77bb4..60dc7d8 100644 --- a/android/app/src/main/res/mipmap-hdpi/ic_launcher.png +++ b/android/app/src/main/res/mipmap-hdpi/ic_launcher.png diff --git a/android/app/src/main/res/mipmap-mdpi/ic_launcher.png b/android/app/src/main/res/mipmap-mdpi/ic_launcher.png Binary files differindex 17987b7..519150a 100644 --- a/android/app/src/main/res/mipmap-mdpi/ic_launcher.png +++ b/android/app/src/main/res/mipmap-mdpi/ic_launcher.png diff --git a/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png Binary files differindex 09d4391..5077421 100644 --- a/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png +++ b/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png diff --git a/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png Binary files differindex d5f1c8d..8f62be2 100644 --- a/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png +++ b/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png diff --git a/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png Binary files differindex 4d6372e..d11eb7f 100644 --- a/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png +++ b/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png diff --git a/android/app/src/main/res/values/colors.xml b/android/app/src/main/res/values/colors.xml new file mode 100644 index 0000000..beab31f --- /dev/null +++ b/android/app/src/main/res/values/colors.xml @@ -0,0 +1,4 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <color name="ic_launcher_background">#000000</color> +</resources>
\ No newline at end of file |