fix: icône bonsai agrandie pour remplir la safe zone adaptive icon (v0.0.6)
Reporte les coordonnées SVG dans un viewport 108×108 avec scale ×1.286, centré dans la safe zone (18–90). Background blanc pur. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -16,7 +16,7 @@ android {
|
|||||||
minSdk = 26
|
minSdk = 26
|
||||||
targetSdk = 35
|
targetSdk = 35
|
||||||
versionCode = 1
|
versionCode = 1
|
||||||
versionName = "0.0.5"
|
versionName = "0.0.6"
|
||||||
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,67 +1,73 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!--
|
||||||
|
Viewport: 108x108
|
||||||
|
Safe zone: 18–90 on each axis (72×72 px)
|
||||||
|
Bonsai scaled ×1.286 (72/56) from original 48×56 SVG, centered horizontally.
|
||||||
|
Transform: new_x = old_x × 1.286 + 23, new_y = old_y × 1.286 + 18
|
||||||
|
-->
|
||||||
<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="48"
|
android:viewportWidth="108"
|
||||||
android:viewportHeight="56">
|
android:viewportHeight="108">
|
||||||
|
|
||||||
<!-- Pot (trapezoid) -->
|
<!-- Pot base (trapezoid) -->
|
||||||
<path
|
<path
|
||||||
android:fillColor="#C05621"
|
android:fillColor="#C05621"
|
||||||
android:pathData="M14,56 L16,49 L32,49 L34,56 Z"/>
|
android:pathData="M41,90 L44,81 L64,81 L67,90 Z"/>
|
||||||
|
|
||||||
<!-- Pot rim (rounded rect x=12 y=45 w=24 h=5 rx=2) -->
|
<!-- Pot rim -->
|
||||||
<path
|
<path
|
||||||
android:fillColor="#9C4221"
|
android:fillColor="#9C4221"
|
||||||
android:pathData="M14,45 L34,45 A2,2 0 0,1 36,47 L36,48 A2,2 0 0,1 34,50 L14,50 A2,2 0 0,1 12,48 L12,47 A2,2 0 0,1 14,45 Z"/>
|
android:pathData="M40.5,76 L67.5,76 A2.5,2.5 0 0,1 70,78.5 L70,80 A2.5,2.5 0 0,1 67.5,82.5 L40.5,82.5 A2.5,2.5 0 0,1 38,80 L38,78.5 A2.5,2.5 0 0,1 40.5,76 Z"/>
|
||||||
|
|
||||||
<!-- Trunk -->
|
<!-- Trunk -->
|
||||||
<path
|
<path
|
||||||
android:fillColor="#00000000"
|
android:fillColor="#00000000"
|
||||||
android:strokeColor="#744210"
|
android:strokeColor="#744210"
|
||||||
android:strokeWidth="4"
|
android:strokeWidth="5"
|
||||||
android:strokeLineCap="round"
|
android:strokeLineCap="round"
|
||||||
android:pathData="M24,45 C24,39 22,33 20,27 C18,22 19,17 22,13"/>
|
android:pathData="M54,76 C54,68 51,60 49,53 C46,46 47,40 51,35"/>
|
||||||
|
|
||||||
<!-- Branch right -->
|
<!-- Branch right -->
|
||||||
<path
|
<path
|
||||||
android:fillColor="#00000000"
|
android:fillColor="#00000000"
|
||||||
android:strokeColor="#744210"
|
android:strokeColor="#744210"
|
||||||
android:strokeWidth="2.5"
|
android:strokeWidth="3.2"
|
||||||
android:strokeLineCap="round"
|
android:strokeLineCap="round"
|
||||||
android:pathData="M21,28 C26,25 31,22 33,18"/>
|
android:pathData="M50,54 C56,50 63,46 65,41"/>
|
||||||
|
|
||||||
<!-- Branch left -->
|
<!-- Branch left -->
|
||||||
<path
|
<path
|
||||||
android:fillColor="#00000000"
|
android:fillColor="#00000000"
|
||||||
android:strokeColor="#744210"
|
android:strokeColor="#744210"
|
||||||
android:strokeWidth="2"
|
android:strokeWidth="2.6"
|
||||||
android:strokeLineCap="round"
|
android:strokeLineCap="round"
|
||||||
android:pathData="M20,35 C15,32 11,28 10,24"/>
|
android:pathData="M49,63 C42,59 37,54 36,49"/>
|
||||||
|
|
||||||
<!-- Foliage left (cx=10 cy=21 r=9) -->
|
<!-- Foliage left (cx=36, cy=45, r=12) -->
|
||||||
<path
|
<path
|
||||||
android:fillColor="#276749"
|
android:fillColor="#276749"
|
||||||
android:pathData="M1,21 a9,9 0 1,0 18,0 a9,9 0 1,0 -18,0"/>
|
android:pathData="M24,45 a12,12 0 1,0 24,0 a12,12 0 1,0 -24,0"/>
|
||||||
|
|
||||||
<!-- Foliage right (cx=34 cy=16 r=10) -->
|
<!-- Foliage right (cx=66, cy=39, r=13) -->
|
||||||
<path
|
<path
|
||||||
android:fillColor="#276749"
|
android:fillColor="#276749"
|
||||||
android:pathData="M24,16 a10,10 0 1,0 20,0 a10,10 0 1,0 -20,0"/>
|
android:pathData="M53,39 a13,13 0 1,0 26,0 a13,13 0 1,0 -26,0"/>
|
||||||
|
|
||||||
<!-- Foliage top center (cx=22 cy=11 r=11) -->
|
<!-- Foliage top center (cx=51, cy=32, r=14) -->
|
||||||
<path
|
<path
|
||||||
android:fillColor="#2F855A"
|
android:fillColor="#2F855A"
|
||||||
android:pathData="M11,11 a11,11 0 1,0 22,0 a11,11 0 1,0 -22,0"/>
|
android:pathData="M37,32 a14,14 0 1,0 28,0 a14,14 0 1,0 -28,0"/>
|
||||||
|
|
||||||
<!-- Foliage overlap highlight (cx=26 cy=17 r=8) -->
|
<!-- Foliage overlap highlight (cx=56, cy=40, r=10) -->
|
||||||
<path
|
<path
|
||||||
android:fillColor="#38A169"
|
android:fillColor="#38A169"
|
||||||
android:pathData="M18,17 a8,8 0 1,0 16,0 a8,8 0 1,0 -16,0"/>
|
android:pathData="M46,40 a10,10 0 1,0 20,0 a10,10 0 1,0 -20,0"/>
|
||||||
|
|
||||||
<!-- Foliage small accent (cx=18 cy=16 r=6) -->
|
<!-- Foliage small top accent (cx=46, cy=39, r=8) -->
|
||||||
<path
|
<path
|
||||||
android:fillColor="#48BB78"
|
android:fillColor="#48BB78"
|
||||||
android:pathData="M12,16 a6,6 0 1,0 12,0 a6,6 0 1,0 -12,0"/>
|
android:pathData="M38,39 a8,8 0 1,0 16,0 a8,8 0 1,0 -16,0"/>
|
||||||
|
|
||||||
</vector>
|
</vector>
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
<solid android:color="#F0FFF4" />
|
<solid android:color="#FFFFFF" />
|
||||||
</shape>
|
</shape>
|
||||||
|
|||||||
Reference in New Issue
Block a user