mirror of
https://github.com/permissionlesstech/bitchat-android.git
synced 2026-10-18 07:33:01 +00:00
Redesign Wear OS launcher and notification icons
Replace the white-background pixel bubble with the radar bubble: a green chat bubble with two broadcast rings on a near-black ground. The rings open toward the tail (bottom-right, like BitChatIcon) and all shapes stay inside the 66dp adaptive-icon safe zone. The notification small icon and ongoing-activity static icon now use the same glyph instead of a stock chat bubble, and the monochrome layer matches the launcher.
This commit is contained in:
parent
8d514f6e01
commit
37305e769a
@ -1,10 +1,21 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<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="108"
|
||||
android:viewportHeight="108">
|
||||
<path
|
||||
android:fillColor="#FFFFFFFF"
|
||||
android:pathData="M0,0h108v108h-108z" />
|
||||
<!-- Near-black with a faint green glow, matching the app's OLED surfaces. -->
|
||||
<path android:pathData="M0,0h108v108h-108z">
|
||||
<aapt:attr name="android:fillColor">
|
||||
<gradient
|
||||
android:type="radial"
|
||||
android:centerX="54"
|
||||
android:centerY="46"
|
||||
android:gradientRadius="46">
|
||||
<item android:offset="0" android:color="#FF0F1A10" />
|
||||
<item android:offset="1" android:color="#FF000000" />
|
||||
</gradient>
|
||||
</aapt:attr>
|
||||
</path>
|
||||
</vector>
|
||||
|
||||
@ -5,19 +5,21 @@
|
||||
android:viewportWidth="108"
|
||||
android:viewportHeight="108">
|
||||
<!--
|
||||
BitChatIcon glyph (About button) in app primary green (#32D74B),
|
||||
with pixel "BIT" in black. Sized to keep clear padding inside the circle.
|
||||
Radar bubble: a chat bubble broadcasting to peers in range. Both rings
|
||||
open toward the bubble's tail (bottom-right, like BitChatIcon). Everything
|
||||
stays inside the 66dp safe zone so Wear's circular mask never clips it.
|
||||
-->
|
||||
<group
|
||||
android:translateX="26.8"
|
||||
android:translateY="27"
|
||||
android:scaleX="6.8"
|
||||
android:scaleY="6.8">
|
||||
<path
|
||||
android:fillColor="#FF32D74B"
|
||||
android:pathData="M2,0L6,0L6,1L7,1L7,2L8,2L8,5L7,5L7,6L6,6L6,8L5,8L5,7L3,7L3,6L1,6L1,5L0,5L0,2L1,2L1,1L2,1Z" />
|
||||
<path
|
||||
android:fillColor="#FF000000"
|
||||
android:pathData="M1.8,1.95h0.4v0.4h-0.4zM2.2,1.95h0.4v0.4h-0.4zM1.8,2.35h0.4v0.4h-0.4zM2.6,2.35h0.4v0.4h-0.4zM1.8,2.75h0.4v0.4h-0.4zM2.2,2.75h0.4v0.4h-0.4zM1.8,3.15h0.4v0.4h-0.4zM2.6,3.15h0.4v0.4h-0.4zM1.8,3.55h0.4v0.4h-0.4zM2.2,3.55h0.4v0.4h-0.4zM3.4,1.95h0.4v0.4h-0.4zM3.8,1.95h0.4v0.4h-0.4zM4.2,1.95h0.4v0.4h-0.4zM3.8,2.35h0.4v0.4h-0.4zM3.8,2.75h0.4v0.4h-0.4zM3.8,3.15h0.4v0.4h-0.4zM3.4,3.55h0.4v0.4h-0.4zM3.8,3.55h0.4v0.4h-0.4zM4.2,3.55h0.4v0.4h-0.4zM5,1.95h0.4v0.4h-0.4zM5.4,1.95h0.4v0.4h-0.4zM5.8,1.95h0.4v0.4h-0.4zM5.4,2.35h0.4v0.4h-0.4zM5.4,2.75h0.4v0.4h-0.4zM5.4,3.15h0.4v0.4h-0.4zM5.4,3.55h0.4v0.4h-0.4z" />
|
||||
</group>
|
||||
<path
|
||||
android:pathData="M62.186,80.777A28,28 0,1 1,80.777 62.186"
|
||||
android:strokeColor="#FF1E8A31"
|
||||
android:strokeWidth="4"
|
||||
android:strokeLineCap="round" />
|
||||
<path
|
||||
android:pathData="M56.972,72.766A19,19 0,1 1,72.766 56.972"
|
||||
android:strokeColor="#FF32D74B"
|
||||
android:strokeWidth="4"
|
||||
android:strokeLineCap="round" />
|
||||
<path
|
||||
android:fillColor="#FF32D74B"
|
||||
android:pathData="M49,44H59A5,5 0,0 1,64 49V54.5A5,5 0,0 1,59 59.5H49A5,5 0,0 1,44 54.5V49A5,5 0,0 1,49 44ZM61.5,57L65.5,65.5L54,59.5Z" />
|
||||
</vector>
|
||||
|
||||
@ -4,14 +4,17 @@
|
||||
android:height="108dp"
|
||||
android:viewportWidth="108"
|
||||
android:viewportHeight="108">
|
||||
<group
|
||||
android:translateX="26.8"
|
||||
android:translateY="27"
|
||||
android:scaleX="6.8"
|
||||
android:scaleY="6.8">
|
||||
<path
|
||||
android:fillColor="#FF000000"
|
||||
android:fillType="evenOdd"
|
||||
android:pathData="M2,0L6,0L6,1L7,1L7,2L8,2L8,5L7,5L7,6L6,6L6,8L5,8L5,7L3,7L3,6L1,6L1,5L0,5L0,2L1,2L1,1L2,1ZM1.8,1.95h0.4v0.4h-0.4zM2.2,1.95h0.4v0.4h-0.4zM1.8,2.35h0.4v0.4h-0.4zM2.6,2.35h0.4v0.4h-0.4zM1.8,2.75h0.4v0.4h-0.4zM2.2,2.75h0.4v0.4h-0.4zM1.8,3.15h0.4v0.4h-0.4zM2.6,3.15h0.4v0.4h-0.4zM1.8,3.55h0.4v0.4h-0.4zM2.2,3.55h0.4v0.4h-0.4zM3.4,1.95h0.4v0.4h-0.4zM3.8,1.95h0.4v0.4h-0.4zM4.2,1.95h0.4v0.4h-0.4zM3.8,2.35h0.4v0.4h-0.4zM3.8,2.75h0.4v0.4h-0.4zM3.8,3.15h0.4v0.4h-0.4zM3.4,3.55h0.4v0.4h-0.4zM3.8,3.55h0.4v0.4h-0.4zM4.2,3.55h0.4v0.4h-0.4zM5,1.95h0.4v0.4h-0.4zM5.4,1.95h0.4v0.4h-0.4zM5.8,1.95h0.4v0.4h-0.4zM5.4,2.35h0.4v0.4h-0.4zM5.4,2.75h0.4v0.4h-0.4zM5.4,3.15h0.4v0.4h-0.4zM5.4,3.55h0.4v0.4h-0.4z" />
|
||||
</group>
|
||||
<path
|
||||
android:pathData="M62.186,80.777A28,28 0,1 1,80.777 62.186"
|
||||
android:strokeColor="#FF000000"
|
||||
android:strokeWidth="4"
|
||||
android:strokeLineCap="round" />
|
||||
<path
|
||||
android:pathData="M56.972,72.766A19,19 0,1 1,72.766 56.972"
|
||||
android:strokeColor="#FF000000"
|
||||
android:strokeWidth="4"
|
||||
android:strokeLineCap="round" />
|
||||
<path
|
||||
android:fillColor="#FF000000"
|
||||
android:pathData="M49,44H59A5,5 0,0 1,64 49V54.5A5,5 0,0 1,59 59.5H49A5,5 0,0 1,44 54.5V49A5,5 0,0 1,49 44ZM61.5,57L65.5,65.5L54,59.5Z" />
|
||||
</vector>
|
||||
|
||||
@ -4,7 +4,28 @@
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
<path
|
||||
android:fillColor="@android:color/white"
|
||||
android:pathData="M4,3h16c1.1,0 2,0.9 2,2v11c0,1.1 -0.9,2 -2,2H7l-5,4V5c0,-1.1 0.9,-2 2,-2z" />
|
||||
<!--
|
||||
Radar bubble glyph for the notification small icon and the ongoing
|
||||
activity. Reuses the launcher's 108-unit geometry scaled to 24dp; strokes
|
||||
are thickened so they stay about 1.6dp wide after scaling.
|
||||
-->
|
||||
<group
|
||||
android:scaleX="0.33"
|
||||
android:scaleY="0.33"
|
||||
android:translateX="-5.82"
|
||||
android:translateY="-5.82">
|
||||
<path
|
||||
android:pathData="M62.186,80.777A28,28 0,1 1,80.777 62.186"
|
||||
android:strokeColor="@android:color/white"
|
||||
android:strokeWidth="4.8"
|
||||
android:strokeLineCap="round" />
|
||||
<path
|
||||
android:pathData="M56.972,72.766A19,19 0,1 1,72.766 56.972"
|
||||
android:strokeColor="@android:color/white"
|
||||
android:strokeWidth="4.8"
|
||||
android:strokeLineCap="round" />
|
||||
<path
|
||||
android:fillColor="@android:color/white"
|
||||
android:pathData="M49,44H59A5,5 0,0 1,64 49V54.5A5,5 0,0 1,59 59.5H49A5,5 0,0 1,44 54.5V49A5,5 0,0 1,49 44ZM61.5,57L65.5,65.5L54,59.5Z" />
|
||||
</group>
|
||||
</vector>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user