Skip to content

Commit 0aad31f

Browse files
committed
feat: add adaptive launcher icon
1 parent 30b6180 commit 0aad31f

8 files changed

Lines changed: 112 additions & 0 deletions

File tree

app/src/main/AndroidManifest.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@
66
<application
77
android:name=".KineticWolApplication"
88
android:allowBackup="true"
9+
android:icon="@mipmap/ic_launcher"
910
android:label="@string/app_name"
11+
android:roundIcon="@mipmap/ic_launcher_round"
1012
android:supportsRtl="true"
1113
android:theme="@style/Theme.KineticWOL"
1214
android:usesCleartextTraffic="true">
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle">
3+
<gradient
4+
android:angle="270"
5+
android:endColor="#0A0E1B"
6+
android:startColor="#1C2440"
7+
android:centerColor="#131A30" />
8+
</shape>
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<vector xmlns:android="http://schemas.android.com/apk/res/android"
3+
android:width="108dp"
4+
android:height="108dp"
5+
android:viewportWidth="108"
6+
android:viewportHeight="108">
7+
<path
8+
android:fillColor="#00000000"
9+
android:pathData="M54,23 L54,41"
10+
android:strokeColor="#F2FFFC"
11+
android:strokeLineCap="round"
12+
android:strokeWidth="10" />
13+
<path
14+
android:fillColor="#00000000"
15+
android:pathData="M38,43 A22,22 0 1,0 70,43"
16+
android:strokeColor="#95F6FF"
17+
android:strokeLineCap="round"
18+
android:strokeLineJoin="round"
19+
android:strokeWidth="10" />
20+
<path
21+
android:fillColor="#00000000"
22+
android:pathData="M31,34 A34,34 0 0,0 31,74"
23+
android:strokeColor="#5BE3FF"
24+
android:strokeLineCap="round"
25+
android:strokeWidth="6" />
26+
<path
27+
android:fillColor="#00000000"
28+
android:pathData="M77,34 A34,34 0 0,1 77,74"
29+
android:strokeColor="#5BE3FF"
30+
android:strokeLineCap="round"
31+
android:strokeWidth="6" />
32+
<path
33+
android:fillColor="#00000000"
34+
android:pathData="M22,27 A44,44 0 0,0 22,81"
35+
android:strokeColor="#2E7BFF"
36+
android:strokeLineCap="round"
37+
android:strokeWidth="5" />
38+
<path
39+
android:fillColor="#00000000"
40+
android:pathData="M86,27 A44,44 0 0,1 86,81"
41+
android:strokeColor="#2E7BFF"
42+
android:strokeLineCap="round"
43+
android:strokeWidth="5" />
44+
</vector>
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<vector xmlns:android="http://schemas.android.com/apk/res/android"
3+
android:width="108dp"
4+
android:height="108dp"
5+
android:viewportWidth="108"
6+
android:viewportHeight="108">
7+
<path
8+
android:fillColor="#00000000"
9+
android:pathData="M54,23 L54,41"
10+
android:strokeColor="#FFFFFFFF"
11+
android:strokeLineCap="round"
12+
android:strokeWidth="10" />
13+
<path
14+
android:fillColor="#00000000"
15+
android:pathData="M38,43 A22,22 0 1,0 70,43"
16+
android:strokeColor="#FFFFFFFF"
17+
android:strokeLineCap="round"
18+
android:strokeLineJoin="round"
19+
android:strokeWidth="10" />
20+
<path
21+
android:fillColor="#00000000"
22+
android:pathData="M31,34 A34,34 0 0,0 31,74"
23+
android:strokeColor="#FFFFFFFF"
24+
android:strokeLineCap="round"
25+
android:strokeWidth="6" />
26+
<path
27+
android:fillColor="#00000000"
28+
android:pathData="M77,34 A34,34 0 0,1 77,74"
29+
android:strokeColor="#FFFFFFFF"
30+
android:strokeLineCap="round"
31+
android:strokeWidth="6" />
32+
<path
33+
android:fillColor="#00000000"
34+
android:pathData="M22,27 A44,44 0 0,0 22,81"
35+
android:strokeColor="#FFFFFFFF"
36+
android:strokeLineCap="round"
37+
android:strokeWidth="5" />
38+
<path
39+
android:fillColor="#00000000"
40+
android:pathData="M86,27 A44,44 0 0,1 86,81"
41+
android:strokeColor="#FFFFFFFF"
42+
android:strokeLineCap="round"
43+
android:strokeWidth="5" />
44+
</vector>
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
3+
<background android:drawable="@drawable/ic_launcher_background" />
4+
<foreground android:drawable="@drawable/ic_launcher_foreground" />
5+
<monochrome android:drawable="@drawable/ic_launcher_monochrome" />
6+
</adaptive-icon>
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
3+
<background android:drawable="@drawable/ic_launcher_background" />
4+
<foreground android:drawable="@drawable/ic_launcher_foreground" />
5+
<monochrome android:drawable="@drawable/ic_launcher_monochrome" />
6+
</adaptive-icon>

docs/agent_memory.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@
7575
- separación de host no resoluble, conexión rechazada, timeout, SSL y cleartext
7676
- `usesCleartextTraffic=true` activado temporalmente para pruebas LAN con `http://`
7777
- La quick tile de Android ahora abre el picker si un único dispositivo también soporta apagado remoto, y el picker muestra `Apagar` cuando esa capacidad está lista
78+
- La app ya define un icono adaptive propio con foreground, background y variante monochrome para themed icons
7879
- Se añadió un workflow de GitHub Actions para compilar `:app:assembleDebug`, adjuntar el APK como artifact y publicar una GitHub Release en cada push a `main`
7980

8081
## Notas de build actuales

docs/roadmap.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747
- [x] Añadir diagnóstico de conectividad Android para KineticSOL con logging y validación de `baseUrl`
4848
- [x] Habilitar cleartext HTTP temporalmente en Android para pruebas LAN del agente Linux
4949
- [x] Extender la quick tile para ofrecer apagado remoto cuando el dispositivo lo soporte
50+
- [x] Añadir un icono adaptive propio para la app siguiendo el modelo de Android
5051
- [x] Añadir pipeline de GitHub Actions para compilar APK y publicar una GitHub Release en cada push a `main`
5152

5253
## Checklist en curso

0 commit comments

Comments
 (0)