mirror of
https://github.com/Monkopedia/rouse-context.git
synced 2026-11-23 13:50:09 +00:00
Fix #103: Replace status bar icon PNGs with vector + alpha gradient
Regenerate ic_stat_rouse as a vector drawable (24dp viewport) with a solid circle path and vertical alpha gradient (40% -> 100% opacity). The alpha gradient survives Android's status-bar tinting (which flattens color gradients) and evokes the halftone-density feel of the brand icon at notification-shade size. Deletes five PNG density variants in favor of the single vector — the previous PNG conversion from #55 quantized the halftone dot pattern into an unrecognizable silhouette at 24dp. No code changes: AuthRequestNotifier, SessionSummaryPoster, NotificationAdapter, and ForegroundNotification continue to reference ApiR.drawable.ic_stat_rouse, which now resolves to the vector. Launcher monochrome variant (for Android 13+ themed icons) deferred as a follow-up — requires a matching foreground silhouette asset.
This commit is contained in:
parent
f4ca20d1de
commit
2e9eee6908
6 changed files with 20 additions and 0 deletions
Binary file not shown.
|
Before Width: | Height: | Size: 640 B |
Binary file not shown.
|
Before Width: | Height: | Size: 518 B |
Binary file not shown.
|
Before Width: | Height: | Size: 636 B |
Binary file not shown.
|
Before Width: | Height: | Size: 1.2 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 1.6 KiB |
20
api/src/main/res/drawable/ic_stat_rouse.xml
Normal file
20
api/src/main/res/drawable/ic_stat_rouse.xml
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
<?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="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
<path android:pathData="M12,3 a9,9 0 1,0 0,18 a9,9 0 1,0 0,-18">
|
||||
<aapt:attr name="android:fillColor">
|
||||
<gradient
|
||||
android:type="linear"
|
||||
android:startX="0"
|
||||
android:startY="3"
|
||||
android:endX="0"
|
||||
android:endY="21"
|
||||
android:startColor="#66FFFFFF"
|
||||
android:endColor="#FFFFFFFF" />
|
||||
</aapt:attr>
|
||||
</path>
|
||||
</vector>
|
||||
Loading…
Add table
Add a link
Reference in a new issue