v1.0.27: knot-inspired icon, fix media-not-found on photo open
Icon: two thick tube-style arcs with 3D glossy highlights.
Arc 1 (left side): coral #E8665A to orange #E8A040
Arc 2 (right side): steel blue #4A7FD4 to deep purple #7B5EA7
Arrowheads: orange and purple. Background: dark purple-black.
Inspired by the braided knot color palette.
Fix "media not found" when opening photos:
- Intent now sets ClipData alongside FLAG_GRANT_READ_URI_PERMISSION
so the permission correctly propagates through the system chooser
to whichever app the user picks.
- openFile() and downloadToCache() both call MediaScannerConnection
so newly synced/downloaded files appear in gallery MediaStore index
before the viewer launches.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -6,30 +6,14 @@
|
||||
android:viewportWidth="108"
|
||||
android:viewportHeight="108">
|
||||
|
||||
<!-- Deep blue-to-teal gradient background matching reference icon -->
|
||||
<path
|
||||
android:pathData="M0,0 H108 V108 H0 Z">
|
||||
<!-- Deep purple-black base, matching the knot reference icon's dark background -->
|
||||
<path android:pathData="M0,0 H108 V108 H0 Z">
|
||||
<aapt:attr name="android:fillColor">
|
||||
<gradient
|
||||
android:type="linear"
|
||||
android:startX="0" android:startY="0"
|
||||
android:endX="108" android:endY="108"
|
||||
android:startColor="#1565C0"
|
||||
android:endColor="#00897B"/>
|
||||
</aapt:attr>
|
||||
</path>
|
||||
|
||||
<!-- Subtle radial highlight in upper-right -->
|
||||
<path
|
||||
android:pathData="M108,0 A90,90 0 0,1 108,90 Z"
|
||||
android:fillAlpha="0.18">
|
||||
<aapt:attr name="android:fillColor">
|
||||
<gradient
|
||||
android:type="radial"
|
||||
android:gradientRadius="80"
|
||||
android:centerX="85" android:centerY="23"
|
||||
android:startColor="#80DEEA"
|
||||
android:endColor="#00000000"/>
|
||||
<gradient android:type="radial"
|
||||
android:gradientRadius="76"
|
||||
android:centerX="54" android:centerY="44"
|
||||
android:startColor="#1E1628"
|
||||
android:endColor="#080610"/>
|
||||
</aapt:attr>
|
||||
</path>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user