Commit efa98ccf5bcb0eba68a4b558c854b511adf8ba22

Authored by yibo
1 parent 7b1f3199

feat(icon): 重设计图标为人际关系网络主题(红色背景)

背景:#C62828→#FF5252 渐变;前景:中央大节点(白圆+红色人物轮廓)
+ 四方位卫星节点(白圆+小人轮廓)+ 白色主线/次级连线,
构成人际关系网络图。

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
lifelog-recorder/app/src/main/res/drawable/ic_launcher_background.xml
1 <?xml version="1.0" encoding="utf-8"?> 1 <?xml version="1.0" encoding="utf-8"?>
2 <shape xmlns:android="http://schemas.android.com/apk/res/android"> 2 <shape xmlns:android="http://schemas.android.com/apk/res/android">
3 <gradient 3 <gradient
4 - android:startColor="#1A0A3C"  
5 - android:centerColor="#3D1580"  
6 - android:endColor="#7C3AED" 4 + android:startColor="#C62828"
  5 + android:endColor="#FF5252"
7 android:type="linear" 6 android:type="linear"
8 - android:angle="135"/> 7 + android:angle="315"/>
9 </shape> 8 </shape>
lifelog-recorder/app/src/main/res/drawable/ic_launcher_foreground.xml
1 <?xml version="1.0" encoding="utf-8"?> 1 <?xml version="1.0" encoding="utf-8"?>
2 -<!-- Adaptive icon foreground: 108×108dp, safe zone center 72×72dp (坐标 18–90).  
3 - 设计:白色麦克风(胶囊体 + 弧形支架 + 底座)+ 右上角红色录制圆点。 --> 2 +<!--
  3 + 人际关系网络图标(108×108dp viewport,safe zone 18–90)
  4 + 布局:中央大节点("我")+ 4个卫星节点(上/右/下/左),白色连线+节点,
  5 + 中央节点内嵌红色人物轮廓(圆形头 + 肩线),卫星节点为纯白圆。
  6 +-->
4 <vector xmlns:android="http://schemas.android.com/apk/res/android" 7 <vector xmlns:android="http://schemas.android.com/apk/res/android"
5 android:width="108dp" 8 android:width="108dp"
6 android:height="108dp" 9 android:height="108dp"
7 android:viewportWidth="108" 10 android:viewportWidth="108"
8 android:viewportHeight="108"> 11 android:viewportHeight="108">
9 12
10 - <!-- 麦克风胶囊体 -->  
11 - <path  
12 - android:pathData="M54,28 C47.4,28 42,33.4 42,40 L42,60 C42,66.6 47.4,72 54,72 C60.6,72 66,66.6 66,60 L66,40 C66,33.4 60.6,28 54,28Z"  
13 - android:fillColor="#FFFFFF"/>  
14 -  
15 - <!-- 胶囊体内部纹路(3条横线,代表声波/录音) -->  
16 - <path  
17 - android:pathData="M48,44 L60,44"  
18 - android:strokeColor="#7C3AED"  
19 - android:strokeWidth="2.5"  
20 - android:strokeLineCap="round" 13 + <!-- ── 连线(在节点层之下,白色半透明) ── -->
  14 + <!-- 中央 → 上 -->
  15 + <path android:pathData="M54,39 L54,31"
  16 + android:strokeColor="#FFFFFF" android:strokeWidth="3.5"
  17 + android:strokeAlpha="0.75" android:strokeLineCap="round"
21 android:fillColor="#00000000"/> 18 android:fillColor="#00000000"/>
22 - <path  
23 - android:pathData="M47,50 L61,50"  
24 - android:strokeColor="#7C3AED"  
25 - android:strokeWidth="2.5"  
26 - android:strokeLineCap="round" 19 + <!-- 中央 → 右 -->
  20 + <path android:pathData="M69,54 L79,54"
  21 + android:strokeColor="#FFFFFF" android:strokeWidth="3.5"
  22 + android:strokeAlpha="0.75" android:strokeLineCap="round"
27 android:fillColor="#00000000"/> 23 android:fillColor="#00000000"/>
28 - <path  
29 - android:pathData="M48,56 L60,56"  
30 - android:strokeColor="#7C3AED"  
31 - android:strokeWidth="2.5"  
32 - android:strokeLineCap="round" 24 + <!-- 中央 → 下 -->
  25 + <path android:pathData="M54,69 L54,77"
  26 + android:strokeColor="#FFFFFF" android:strokeWidth="3.5"
  27 + android:strokeAlpha="0.75" android:strokeLineCap="round"
33 android:fillColor="#00000000"/> 28 android:fillColor="#00000000"/>
34 -  
35 - <!-- 弧形支架 -->  
36 - <path  
37 - android:pathData="M36,60 C36,74.4 44.3,84 54,84 C63.7,84 72,74.4 72,60"  
38 - android:strokeColor="#FFFFFF"  
39 - android:strokeWidth="4.5"  
40 - android:strokeLineCap="round" 29 + <!-- 中央 → 左 -->
  30 + <path android:pathData="M39,54 L29,54"
  31 + android:strokeColor="#FFFFFF" android:strokeWidth="3.5"
  32 + android:strokeAlpha="0.75" android:strokeLineCap="round"
41 android:fillColor="#00000000"/> 33 android:fillColor="#00000000"/>
42 -  
43 - <!-- 竖茎 -->  
44 - <path  
45 - android:pathData="M54,84 L54,92"  
46 - android:strokeColor="#FFFFFF"  
47 - android:strokeWidth="4.5"  
48 - android:strokeLineCap="round" 34 + <!-- 次级连线:上 → 右(让图更像真实网络) -->
  35 + <path android:pathData="M62,23 L80,46"
  36 + android:strokeColor="#FFFFFF" android:strokeWidth="2"
  37 + android:strokeAlpha="0.45" android:strokeLineCap="round"
49 android:fillColor="#00000000"/> 38 android:fillColor="#00000000"/>
50 -  
51 - <!-- 底座横线 -->  
52 - <path  
53 - android:pathData="M44,92 L64,92"  
54 - android:strokeColor="#FFFFFF"  
55 - android:strokeWidth="4.5"  
56 - android:strokeLineCap="round" 39 + <!-- 次级连线:下 → 左 -->
  40 + <path android:pathData="M46,85 L28,62"
  41 + android:strokeColor="#FFFFFF" android:strokeWidth="2"
  42 + android:strokeAlpha="0.45" android:strokeLineCap="round"
57 android:fillColor="#00000000"/> 43 android:fillColor="#00000000"/>
58 44
59 - <!-- 录制状态红点(右上角) -->  
60 - <path  
61 - android:pathData="M72,22 m-8,0 a8,8 0 1,0 16,0 a8,8 0 1,0 -16,0"  
62 - android:fillColor="#FF3B30"/> 45 + <!-- ── 卫星节点(白色实心圆,r=10) ── -->
  46 + <!-- 上 -->
  47 + <path android:pathData="M54,21 m-10,0 a10,10 0 1,0 20,0 a10,10 0 1,0 -20,0"
  48 + android:fillColor="#FFFFFF"/>
  49 + <!-- 右 -->
  50 + <path android:pathData="M89,54 m-10,0 a10,10 0 1,0 20,0 a10,10 0 1,0 -20,0"
  51 + android:fillColor="#FFFFFF"/>
  52 + <!-- 下 -->
  53 + <path android:pathData="M54,87 m-10,0 a10,10 0 1,0 20,0 a10,10 0 1,0 -20,0"
  54 + android:fillColor="#FFFFFF"/>
  55 + <!-- 左 -->
  56 + <path android:pathData="M19,54 m-10,0 a10,10 0 1,0 20,0 a10,10 0 1,0 -20,0"
  57 + android:fillColor="#FFFFFF"/>
  58 +
  59 + <!-- 卫星节点内小人(头+肩,红色)以"上"节点为例,其他类似 -->
  60 + <!-- 上节点人物头 -->
  61 + <path android:pathData="M54,18 m-3.5,0 a3.5,3.5 0 1,0 7,0 a3.5,3.5 0 1,0 -7,0"
  62 + android:fillColor="#C62828"/>
  63 + <!-- 上节点人物肩 -->
  64 + <path android:pathData="M49,25 C49,22.5 51.2,21 54,21 C56.8,21 59,22.5 59,25 Z"
  65 + android:fillColor="#C62828"/>
  66 +
  67 + <!-- 右节点人物头 -->
  68 + <path android:pathData="M89,51 m-3.5,0 a3.5,3.5 0 1,0 7,0 a3.5,3.5 0 1,0 -7,0"
  69 + android:fillColor="#C62828"/>
  70 + <!-- 右节点人物肩 -->
  71 + <path android:pathData="M84,58 C84,55.5 86.2,54 89,54 C91.8,54 94,55.5 94,58 Z"
  72 + android:fillColor="#C62828"/>
  73 +
  74 + <!-- 下节点人物头 -->
  75 + <path android:pathData="M54,84 m-3.5,0 a3.5,3.5 0 1,0 7,0 a3.5,3.5 0 1,0 -7,0"
  76 + android:fillColor="#C62828"/>
  77 + <!-- 下节点人物肩 -->
  78 + <path android:pathData="M49,91 C49,88.5 51.2,87 54,87 C56.8,87 59,88.5 59,91 Z"
  79 + android:fillColor="#C62828"/>
  80 +
  81 + <!-- 左节点人物头 -->
  82 + <path android:pathData="M19,51 m-3.5,0 a3.5,3.5 0 1,0 7,0 a3.5,3.5 0 1,0 -7,0"
  83 + android:fillColor="#C62828"/>
  84 + <!-- 左节点人物肩 -->
  85 + <path android:pathData="M14,58 C14,55.5 16.2,54 19,54 C21.8,54 24,55.5 24,58 Z"
  86 + android:fillColor="#C62828"/>
  87 +
  88 + <!-- ── 中央大节点(白色实心圆,r=15) ── -->
  89 + <path android:pathData="M54,54 m-15,0 a15,15 0 1,0 30,0 a15,15 0 1,0 -30,0"
  90 + android:fillColor="#FFFFFF"/>
63 91
64 - <!-- 红点高光(让圆点更立体) -->  
65 - <path  
66 - android:pathData="M70,18 m-3,0 a3,3 0 1,0 6,0 a3,3 0 1,0 -6,0"  
67 - android:fillColor="#FF8080"  
68 - android:fillAlpha="0.5"/> 92 + <!-- 中央节点内人物头(红色,r=5.5) -->
  93 + <path android:pathData="M54,49 m-5.5,0 a5.5,5.5 0 1,0 11,0 a5.5,5.5 0 1,0 -11,0"
  94 + android:fillColor="#C62828"/>
  95 + <!-- 中央节点内人物肩(红色) -->
  96 + <path android:pathData="M44,62 C44,57.5 48.5,54.5 54,54.5 C59.5,54.5 64,57.5 64,62 Z"
  97 + android:fillColor="#C62828"/>
69 98
70 </vector> 99 </vector>