Set App Icon

This commit is contained in:
dankito 2024-08-27 03:49:29 +02:00
parent edd66d807d
commit 7866a17e6e
19 changed files with 100 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

View File

@ -0,0 +1,61 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="108dp"
android:height="108dp"
android:viewportWidth="60"
android:viewportHeight="60">
<group android:scaleX="0.8"
android:scaleY="0.8"
android:translateX="6"
android:translateY="6">
<group>
<clip-path
android:pathData="M0,0h60v60h-60z"/>
<path
android:pathData="M0,0h60v60h-60z"
android:fillColor="#ffffff"/>
<path
android:pathData="M0,0h60v60h-60z"
android:fillColor="#ffffff"/>
<path
android:pathData="M30,30m-25.909,0a25.909,25.909 0,1 1,51.818 0a25.909,25.909 0,1 1,-51.818 0"
android:fillColor="#000000"
android:fillAlpha="0.09"/>
<path
android:pathData="M30,30m-25.659,0a25.659,25.659 0,1 1,51.318 0a25.659,25.659 0,1 1,-51.318 0"
android:strokeAlpha="0.04"
android:strokeWidth="0.5"
android:fillColor="#00000000"
android:strokeColor="#2869BF"/>
<path
android:pathData="M30,30m-16.364,0a16.364,16.364 0,1 1,32.727 0a16.364,16.364 0,1 1,-32.727 0"
android:fillColor="#000000"
android:fillAlpha="0.09"/>
<path
android:pathData="M30,30m-16.114,0a16.114,16.114 0,1 1,32.227 0a16.114,16.114 0,1 1,-32.227 0"
android:strokeAlpha="0.04"
android:strokeWidth="0.5"
android:fillColor="#00000000"
android:strokeColor="#2869BF"/>
<path
android:pathData="M30.25,0H29.75V29.75H0V30.25H29.75V60H30.25V30.25H60V29.75H30.25V0Z"
android:fillColor="#6277A1"
android:fillAlpha="0.1"
android:fillType="evenOdd"/>
<path
android:pathData="M0,0L60,0L60,60L0,60L0,0Z"
android:fillColor="#003832"/>
<path
android:pathData="M16.297,18.925C16.297,17.935 17.022,17.094 18.002,16.947L29.524,15.229C29.717,15.2 29.913,15.199 30.107,15.227L41.992,16.953C42.975,17.096 43.704,17.939 43.704,18.932V20.963C43.704,22.067 42.809,22.963 41.704,22.963L18.297,22.963C17.192,22.963 16.297,22.067 16.297,20.963V18.925Z"
android:fillColor="#77A83F"/>
<path
android:pathData="M18.296,25.556L21.704,25.556A2,2 0,0 1,23.704 27.556L23.704,42.815A2,2 0,0 1,21.704 44.815L18.296,44.815A2,2 0,0 1,16.296 42.815L16.296,27.556A2,2 0,0 1,18.296 25.556z"
android:fillColor="#079326"/>
<path
android:pathData="M28.296,25.556L31.704,25.556A2,2 0,0 1,33.704 27.556L33.704,42.815A2,2 0,0 1,31.704 44.815L28.296,44.815A2,2 0,0 1,26.296 42.815L26.296,27.556A2,2 0,0 1,28.296 25.556z"
android:fillColor="#68A93D"/>
<path
android:pathData="M38.296,25.556L41.704,25.556A2,2 0,0 1,43.704 27.556L43.704,42.815A2,2 0,0 1,41.704 44.815L38.296,44.815A2,2 0,0 1,36.296 42.815L36.296,27.556A2,2 0,0 1,38.296 25.556z"
android:fillColor="#CCFFB4"/>
</group>
</group>
</vector>

View File

@ -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>

View File

@ -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>

Binary file not shown.

After

Width:  |  Height:  |  Size: 842 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 668 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.6 KiB

View File

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="ic_launcher_background">#003731</color>
</resources>

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.6 KiB

View File

@ -0,0 +1,21 @@
<svg width="60" height="60" viewBox="0 0 60 60" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0)">
<rect width="60" height="60" fill="white"/>
<rect width="60" height="60" fill="white"/>
<circle cx="29.9999" cy="30" r="25.9091" fill="black" fill-opacity="0.09"/>
<circle cx="29.9999" cy="30" r="25.6591" stroke="#2869BF" stroke-opacity="0.04" stroke-width="0.5"/>
<circle cx="30.0001" cy="30" r="16.3636" fill="black" fill-opacity="0.09"/>
<circle cx="30.0001" cy="30" r="16.1136" stroke="#2869BF" stroke-opacity="0.04" stroke-width="0.5"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M30.25 0H29.75V29.75H0V30.25H29.75V60H30.25V30.25H60V29.75H30.25V0Z" fill="#6277A1" fill-opacity="0.1"/>
<path d="M0 0L60 0L60 60L0 60L0 0Z" fill="#003832"/>
<path d="M16.2969 18.9254C16.2969 17.9348 17.022 17.0935 18.0018 16.9473L29.5243 15.2286C29.7173 15.1998 29.9135 15.1994 30.1067 15.2275L41.9916 16.953C42.9749 17.0957 43.7043 17.9387 43.7043 18.9322V20.963C43.7043 22.0675 42.8089 22.963 41.7043 22.963L18.2969 22.963C17.1923 22.963 16.2969 22.0675 16.2969 20.963V18.9254Z" fill="#77A83F"/>
<rect x="16.2961" y="25.5555" width="7.40741" height="19.2593" rx="2" fill="#079326"/>
<rect x="26.2961" y="25.5555" width="7.40741" height="19.2593" rx="2" fill="#68A93D"/>
<rect x="36.2961" y="25.5555" width="7.40741" height="19.2593" rx="2" fill="#CCFFB4"/>
</g>
<defs>
<clipPath id="clip0">
<rect width="60" height="60" fill="white"/>
</clipPath>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

@ -4,11 +4,15 @@ import androidx.compose.ui.Alignment
import androidx.compose.ui.unit.DpSize
import androidx.compose.ui.unit.dp
import androidx.compose.ui.window.*
import bankmeister.composeapp.generated.resources.AppIcon_svg
import bankmeister.composeapp.generated.resources.Res
import org.jetbrains.compose.resources.painterResource
fun main() = application {
Window(
onCloseRequest = ::exitApplication,
title = "Bankmeister",
icon = painterResource(Res.drawable.AppIcon_svg),
state = WindowState(position = WindowPosition(Alignment.Center), size = DpSize(900.dp, 800.dp)),
) {
App()

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB