change icon

This commit is contained in:
Michael 2025-04-27 19:43:48 +03:00
parent f3382303fc
commit 780e01df45
19 changed files with 129 additions and 16 deletions

View file

@ -0,0 +1,44 @@
plugins {
id("com.android.application")
id("kotlin-android")
// The Flutter Gradle Plugin must be applied after the Android and Kotlin Gradle plugins.
id("dev.flutter.flutter-gradle-plugin")
}
android {
namespace = "dev.mi6e4ka.openstore"
compileSdk = flutter.compileSdkVersion
ndkVersion = flutter.ndkVersion
compileOptions {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}
kotlinOptions {
jvmTarget = JavaVersion.VERSION_11.toString()
}
defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId = "dev.mi6e4ka.openstore"
// You can update the following values to match your application needs.
// For more information, see: https://flutter.dev/to/review-gradle-config.
minSdk = flutter.minSdkVersion
targetSdk = flutter.targetSdkVersion
versionCode = flutter.versionCode
versionName = flutter.versionName
}
buildTypes {
release {
// TODO: Add your own signing config for the release build.
// Signing with the debug keys for now, so `flutter run --release` works.
signingConfig = signingConfigs.getByName("debug")
}
}
}
flutter {
source = "../.."
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 77 KiB

After

Width:  |  Height:  |  Size: 46 KiB

Before After
Before After

View file

@ -0,0 +1,5 @@
package dev.mi6e4ka.openstore
import io.flutter.embedding.android.FlutterActivity
class MainActivity : FlutterActivity()

View file

@ -0,0 +1,21 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:aapt="http://schemas.android.com/aapt"
android:width="108dp"
android:height="108dp"
android:viewportWidth="199"
android:viewportHeight="199">
<path
android:pathData="M0,0h199v199h-199z">
<aapt:attr name="android:fillColor">
<gradient
android:startX="40"
android:startY="15.5"
android:endX="156.5"
android:endY="180"
android:type="linear">
<item android:offset="0" android:color="#FF009DFF"/>
<item android:offset="1" android:color="#FF004DB1"/>
</gradient>
</aapt:attr>
</path>
</vector>

View file

@ -1,18 +1,14 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android" <vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="108dp" android:width="108dp"
android:height="108dp" android:height="108dp"
android:viewportWidth="88" android:viewportWidth="127"
android:viewportHeight="88"> android:viewportHeight="133">
<group android:scaleX="0.52" <group android:scaleX="0.42598578"
android:scaleY="0.52" android:scaleY="0.4461111"
android:translateX="21.12" android:translateX="36.4499"
android:translateY="21.12"> android:translateY="36.83361">
<path <path
android:pathData="m42.2,88c-19.9,0 -29.9,0 -36.1,-6.19 -6.19,-6.19 -6.19,-16.1 -6.19,-36.1l-0,-3.52c-0,-19.9 -0,-29.9 6.19,-36.1 6.19,-6.19 16.1,-6.19 36.1,-6.19h0l3.52,-0c19.9,-0 29.9,-0 36.1,6.19 6.19,6.19 6.19,16.1 6.19,36.1v3.52c0,19.9 0,29.9 -6.19,36.1s-16.1,6.19 -36.1,6.19z" android:pathData="M126.59,82.78C126.64,77.58 122.45,73.06 116.98,73.06H105.29L111.37,48.64C111.56,47.88 111.66,47.12 111.67,46.37C111.72,41.17 107.53,36.65 102.05,36.65H90.41L96.45,12.45C97.96,6.37 93.37,0.47 87.13,0.47L22.23,0.47C16.71,0.47 11.92,4.22 10.58,9.58L0.95,48.25C-0.57,54.33 4.02,60.24 10.27,60.24L75.17,60.24C79.12,60.24 82.7,58.3 84.89,55.24C85.05,55.19 85.23,55.2 85.37,55.3C85.62,55.47 85.74,55.78 85.65,56.06C84.11,61.15 78.91,65.99 72.35,66.48L22.83,68.16C21.17,68.21 19.75,69.31 19.23,70.88L15.86,84.44C14.35,90.53 18.94,96.43 25.18,96.43C46.6,96.59 68.37,96.54 89.86,96.55C92.77,96.55 95.01,95.56 96.64,94.46C96.91,94.28 97.18,94.09 97.44,93.89C97.74,93.64 98.04,93.38 98.32,93.11C98.75,92.7 99.15,92.27 99.51,91.8L99.52,91.8C99.71,91.6 100.01,91.55 100.24,91.71C100.49,91.88 100.6,92.18 100.52,92.47C98.98,97.56 93.78,102.42 87.22,102.89L37.7,104.57C36.05,104.61 34.64,105.71 34.15,107.26L30.76,120.85C29.24,126.93 33.83,132.84 40.07,132.84H104.97C110.49,132.84 115.29,129.08 116.62,123.72L126.25,85.05C126.44,84.29 126.54,83.54 126.54,82.79L126.59,82.78Z"
android:fillColor="#07f" android:fillColor="#ffffff"/>
android:fillType="evenOdd"/>
<path
android:pathData="m51.2,16.1c-2.3,-0.023 -4.3,1.83 -4.3,4.25v5.17l-10.8,-2.69c-0.336,-0.084 -0.671,-0.126 -1,-0.129 -2.3,-0.023 -4.3,1.83 -4.3,4.25v5.15l-10.7,-2.67c-2.69,-0.67 -5.3,1.36 -5.3,4.12v28.7c0,2.44 1.66,4.56 4.03,5.15l17.1,4.26c2.69,0.67 5.3,-1.36 5.3,-4.12v-28.7c0,-1.75 -0.857,-3.33 -2.21,-4.3 -0.022,-0.071 -0.017,-0.149 0.027,-0.213 0.075,-0.109 0.21,-0.161 0.336,-0.123 2.25,0.68 4.39,2.98 4.61,5.88l0.742,21.9c0.019,0.734 0.509,1.36 1.2,1.59l6,1.49c2.69,0.67 5.3,-1.36 5.3,-4.12 0.071,-9.47 0.05,-19.1 0.053,-28.6 0,-1.29 -0.436,-2.28 -0.926,-3 -0.079,-0.12 -0.163,-0.238 -0.252,-0.352 -0.107,-0.136 -0.224,-0.265 -0.344,-0.391 -0.179,-0.188 -0.37,-0.367 -0.576,-0.527 -0.001,-0.001 -0.002,-0.003 -0.004,-0.004 -0.085,-0.085 -0.109,-0.218 -0.039,-0.318 0.075,-0.109 0.21,-0.161 0.336,-0.123 2.25,0.68 4.4,2.98 4.61,5.88l0.742,21.9c0.019,0.728 0.504,1.35 1.19,1.57l6.01,1.5c2.69,0.67 5.3,-1.36 5.3,-4.12v-28.7c0,-2.44 -1.66,-4.56 -4.03,-5.15l-17.1,-4.26c-0.336,-0.084 -0.671,-0.126 -1,-0.129z"
android:fillColor="#fff"/>
</group> </group>
</vector> </vector>

View file

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> <adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/ic_launcher_background"/> <background android:drawable="@drawable/ic_launcher_background"/>
<foreground android:drawable="@mipmap/ic_launcher_foreground"/> <foreground android:drawable="@drawable/ic_launcher_foreground"/>
<monochrome android:drawable="@drawable/ic_launcher_foreground"/>
</adaptive-icon> </adaptive-icon>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> <adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/ic_launcher_background"/> <background android:drawable="@drawable/ic_launcher_background"/>
<foreground android:drawable="@mipmap/ic_launcher_foreground"/> <foreground android:drawable="@drawable/ic_launcher_foreground"/>
</adaptive-icon> </adaptive-icon>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 2 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.5 KiB

After

Width:  |  Height:  |  Size: 3.7 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.1 KiB

After

Width:  |  Height:  |  Size: 5.1 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.5 KiB

After

Width:  |  Height:  |  Size: 4.3 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.6 KiB

After

Width:  |  Height:  |  Size: 7.7 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.8 KiB

After

Width:  |  Height:  |  Size: 5.6 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 10 KiB

Before After
Before After

21
android/build.gradle.kts Normal file
View file

@ -0,0 +1,21 @@
allprojects {
repositories {
google()
mavenCentral()
}
}
val newBuildDir: Directory = rootProject.layout.buildDirectory.dir("../../build").get()
rootProject.layout.buildDirectory.value(newBuildDir)
subprojects {
val newSubprojectBuildDir: Directory = newBuildDir.dir(project.name)
project.layout.buildDirectory.value(newSubprojectBuildDir)
}
subprojects {
project.evaluationDependsOn(":app")
}
tasks.register<Delete>("clean") {
delete(rootProject.layout.buildDirectory)
}

View file

@ -0,0 +1,25 @@
pluginManagement {
val flutterSdkPath = run {
val properties = java.util.Properties()
file("local.properties").inputStream().use { properties.load(it) }
val flutterSdkPath = properties.getProperty("flutter.sdk")
require(flutterSdkPath != null) { "flutter.sdk not set in local.properties" }
flutterSdkPath
}
includeBuild("$flutterSdkPath/packages/flutter_tools/gradle")
repositories {
google()
mavenCentral()
gradlePluginPortal()
}
}
plugins {
id("dev.flutter.flutter-plugin-loader") version "1.0.0"
id("com.android.application") version "8.7.0" apply false
id("org.jetbrains.kotlin.android") version "1.8.22" apply false
}
include(":app")