Update icons and move remaining to Material Symbols (#4057)
* Update Simple Icons to 16.34.0 The brand paths are unchanged; only the version in the headers moves. * Use the current Material Symbols names Several symbols were renamed after the Valkyrie migration. people_alt, new_releases, screen_lock_*, screen_rotation and stay_current_* are only aliases in the font now, for group, verified and the mobile_* symbols. done, push_pin and expand_less/expand_more become check, keep and keyboard_arrow_up/down, which draw the same or an almost identical glyph. * Use filled icons where the Material Symbols migration dropped the fill The migration mapped Filled and Default references to the outline symbols, but the classic glyph was often solid, and Outlined Warning, Error and Pause were solid as well. Each call site was compared against the rendered classic glyph, and the solid ones now use RoundedFilled. view_list needs an auto-mirrored filled pack. The outline SVGs this leaves unused are removed. * Show a compact grid icon for the compact display modes Compact and cover-only grids showed the same view_module icon as the comfortable grid. * Generate notification and layout drawables from Material Symbols Notifications and XML layouts can't use ImageVectors, so they relied on hand-kept copies of classic Material drawables. A build-logic task now converts an opt-in list of the module's SVGs with AGP's Svg2Vector into generated resources. sdk-common is taken from AGP's own dependency metadata, so its version always matches AGP. Compose call sites that only needed a drawable (tab close, crop) use the ImageVectors instead. The icons module's R class must be imported as MaterialSymbolsR, enforced by spotless, so it isn't mistaken for the app's R. * Redraw custom icons in the Material Symbols style The reading mode, crop off, mark previous as read and chapter download icons were drawn in the classic style. They are rebuilt from Material Symbols shapes (mobile_gear, mobile_arrow_right/down, crop, arrow_circle_down, downloading) in a new custom-material-symbols module; each SVG header lists where its parts come from. The default reading mode and incognito use mobile_gear and eyeglasses_2 as they are. ReadingMode holds an ImageVector now, and the module's R class follows the same alias rule as MaterialSymbolsR. * Use Material Symbols for the launcher shortcuts Updates uses release_alert because the symbol named new_releases is now a check badge. * Rename the animated icon drawables anim_*_enter no longer fits now that the icons play in both directions. This is a pure rename so the following commits show only content changes. * Use Material Symbols for the bottom navigation icons The library, updates, history and browse animations are rebuilt from the outline and filled symbols but keep their original motion: the white inside is pushed into the ribbon, the "!" and the needle, and the history ring still spins. Updates uses release_alert, like the shortcut. More already matches more_horiz and is unchanged. * Use rounded bars for the manga description caret The animation is unchanged; the bars get rounded ends to match the Material Symbols stroke. * Settle the browse tab icon when selecting and deselecting The compass turns a full turn and settles with overshoot both ways, instead of deselecting by playing the select animation backwards. A rememberAnimatedVectorPainter overload takes separate enter and exit animations and doesn't animate on the first composition.
@@ -0,0 +1,8 @@
|
||||
<!--
|
||||
Custom Material Symbols Rounded 'crop_off'.
|
||||
Crop from Material Symbols Rounded 'crop'.
|
||||
Off slash drawn at the Material Symbols stroke weight; it joins the lower-left arms and is cut clear on its upper-right side.
|
||||
Copyright (C) Google LLC
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 -960 960 960" width="24"><path d="M240 -920Q223 -920 211.5 -908.5Q200 -897 200 -880L200 -873.1L280 -793.1L280 -880Q280 -897 268.5 -908.5Q257 -920 240 -920ZM280 -793.1L280 -793.1L280 -793.1L280 -793.1ZM360 -760L360 -713.1L360 -713.1L393.1 -680L680 -680L680 -393.1L713.1 -360L760 -360L760 -680Q760 -713 736.5 -736.5Q713 -760 680 -760ZM280 -623.4L623.4 -280L280 -280L280 -623.4ZM793.1 -280L873.1 -200L880 -200Q897 -200 908.5 -211.5Q920 -223 920 -240Q920 -257 908.5 -268.5Q897 -280 880 -280ZM120 -880C109.8 -880 99.5 -876.1 91.7 -868.3C76.1 -852.7 76.1 -827.3 91.7 -811.7L143.4 -760L80 -760Q63 -760 51.5 -748.5Q40 -737 40 -720Q40 -703 51.5 -691.5Q63 -680 80 -680L200 -680L200 -280Q200 -247 223.5 -223.5Q247 -200 280 -200L680 -200L680 -80Q680 -63 691.5 -51.5Q703 -40 720 -40Q737 -40 748.5 -51.5Q760 -63 760 -80L760 -143.4L811.7 -91.7C819.5 -83.9 829.8 -80 840 -80C850.2 -80 860.5 -83.9 868.3 -91.7C883.9 -107.3 883.9 -132.7 868.3 -148.3L148.3 -868.3C140.5 -876.1 130.2 -880 120 -880Z"/></svg>
|
||||
|
After Width: | Height: | Size: 1.3 KiB |
@@ -0,0 +1,7 @@
|
||||
<!--
|
||||
Custom Material Symbols Rounded 'done_previous'.
|
||||
Check and arrow drawn at the Material Symbols stroke weight, following the layout of the former ic_done_prev icon.
|
||||
Copyright (C) Google LLC
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 -960 960 960" width="24"><path d="M790 -730C779.8 -730 769.5 -726.1 761.7 -718.3L360 -316.6L360 -316.6L198.3 -478.3C190.5 -486.1 180.2 -490 170 -490C159.8 -490 149.5 -486.1 141.7 -478.3C126.1 -462.7 126.1 -437.3 141.7 -421.7L331.7 -231.7C339.5 -223.9 349.8 -220 360 -220C370.2 -220 380.5 -223.9 388.3 -231.7L818.3 -661.7C833.9 -677.3 833.9 -702.7 818.3 -718.3C810.5 -726.1 800.2 -730 790 -730ZM720 -420C697.9 -420 680 -402.1 680 -380L680 -226.6L628.3 -278.3C620.5 -286.1 610.2 -290 600 -290C589.8 -290 579.5 -286.1 571.7 -278.3C556.1 -262.7 556.1 -237.3 571.7 -221.7L691.7 -101.7L691.7 -101.7C691.8 -101.7 691.8 -101.6 691.8 -101.6L691.8 -101.6C695.6 -97.8 700 -95 704.7 -93L704.7 -93C709.4 -91.1 714.6 -90 720 -90C725.4 -90 730.6 -91.1 735.3 -93L735.3 -93C740 -95 744.4 -97.8 748.2 -101.6L748.2 -101.6C748.2 -101.6 748.2 -101.7 748.3 -101.7L748.3 -101.7L868.3 -221.7C883.9 -237.3 883.9 -262.7 868.3 -278.3C860.5 -286.1 850.2 -290 840 -290C829.8 -290 819.5 -286.1 811.7 -278.3L760 -226.6L760 -380C760 -402.1 742.1 -420 720 -420Z"/></svg>
|
||||
|
After Width: | Height: | Size: 1.3 KiB |
@@ -0,0 +1,7 @@
|
||||
<!--
|
||||
Custom Material Symbols Rounded 'download_arrow'.
|
||||
Arrow from Material Symbols Rounded 'downloading'.
|
||||
Copyright (C) Google LLC
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 -960 960 960" width="24"><path d="M479 -680Q462 -680 450.5 -668.5Q439 -657 439 -640L439 -435L364 -511Q352 -523 335.5 -523Q319 -523 307 -511Q295 -499 294.5 -482.5Q294 -466 306 -454L451 -308Q462 -297 479 -297Q496 -297 507 -308L650 -451Q662 -463 662.5 -480Q663 -497 651 -509Q639 -521 622 -521Q605 -521 593 -509L519 -435L519 -640Q519 -657 507.5 -668.5Q496 -680 479 -680Z"/></svg>
|
||||
|
After Width: | Height: | Size: 618 B |
@@ -0,0 +1,8 @@
|
||||
<!--
|
||||
Custom Material Symbols Rounded 'download_circle'.
|
||||
Ring from Material Symbols Rounded 'arrow_circle_down'.
|
||||
Arrow from Material Symbols Rounded 'downloading'.
|
||||
Copyright (C) Google LLC
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 -960 960 960" width="24"><path d="M479 -680Q462 -680 450.5 -668.5Q439 -657 439 -640L439 -435L364 -511Q352 -523 335.5 -523Q319 -523 307 -511Q295 -499 294.5 -482.5Q294 -466 306 -454L451 -308Q462 -297 479 -297Q496 -297 507 -308L650 -451Q662 -463 662.5 -480Q663 -497 651 -509Q639 -521 622 -521Q605 -521 593 -509L519 -435L519 -640Q519 -657 507.5 -668.5Q496 -680 479 -680ZM480 -810C662.3 -810 810 -662.3 810 -480C810 -297.7 662.3 -150 480 -150C297.7 -150 150 -297.7 150 -480C150 -662.3 297.7 -810 480 -810ZM480 -880Q397 -880 324 -848.5Q251 -817 197 -763Q143 -709 111.5 -636Q80 -563 80 -480Q80 -397 111.5 -324Q143 -251 197 -197Q251 -143 324 -111.5Q397 -80 480 -80Q563 -80 636 -111.5Q709 -143 763 -197Q817 -251 848.5 -324Q880 -397 880 -480Q880 -563 848.5 -636Q817 -709 763 -763Q709 -817 636 -848.5Q563 -880 480 -880Z"/></svg>
|
||||
|
After Width: | Height: | Size: 1.1 KiB |
@@ -0,0 +1,9 @@
|
||||
<!--
|
||||
Custom Material Symbols Rounded 'reader_left_to_right'.
|
||||
Frame from Material Symbols Rounded 'mobile_gear'.
|
||||
Arrow from Material Symbols Rounded 'mobile_arrow_right', moved left so its tail runs into the frame.
|
||||
Page edge drawn at the Material Symbols stroke weight.
|
||||
Copyright (C) Google LLC
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 -960 960 960" width="24"><path d="M600 -660C577.9 -660 560 -642.1 560 -620L560 -340C560 -317.9 577.9 -300 600 -300C622.1 -300 640 -317.9 640 -340L640 -620C640 -642.1 622.1 -660 600 -660ZM680 -840L680 -120L280 -120L280 -440L383 -440L348 -404Q337 -393 337 -376.5Q337 -360 349 -348Q360 -337 377 -337Q394 -337 405 -348L509 -452Q515 -458 517.5 -465Q520 -472 520 -480Q520 -488 517.5 -495Q515 -502 509 -508L405 -612Q394 -623 377.5 -623.5Q376.8 -623.5 376.2 -623.5Q360.5 -623.5 349 -612Q338 -601 337.5 -584.5Q337 -568 348 -556L383 -520L280 -520L280 -840ZM280 -920Q247 -920 223.5 -896.5Q200 -873 200 -840L200 -120Q200 -87 223.5 -63.5Q247 -40 280 -40L680 -40Q713 -40 736.5 -63.5Q760 -87 760 -120L760 -524Q778 -531 789 -546Q800 -561 800 -580L800 -660Q800 -679 789 -694Q778 -709 760 -716L760 -840Q760 -873 736.5 -896.5Q713 -920 680 -920Z"/></svg>
|
||||
|
After Width: | Height: | Size: 1.2 KiB |
@@ -0,0 +1,8 @@
|
||||
<!--
|
||||
Custom Material Symbols Rounded 'reader_long_strip'.
|
||||
Frame from Material Symbols Rounded 'mobile_gear'.
|
||||
Full-height arrow drawn at the Material Symbols stroke weight.
|
||||
Copyright (C) Google LLC
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 -960 960 960" width="24"><path d="M480 -800C457.9 -800 440 -782.1 440 -760L440 -316.6L440 -316.6L440 -316.6L440 -316.6L408.3 -348.3C400.5 -356.1 390.2 -360 380 -360C369.8 -360 359.5 -356.1 351.7 -348.3C336.1 -332.7 336.1 -307.3 351.7 -291.7L451.7 -191.7C451.7 -191.7 451.8 -191.7 451.8 -191.6L451.8 -191.6C455.6 -187.8 460 -185 464.7 -183L464.7 -183C469.4 -181.1 474.6 -180 480 -180C485.4 -180 490.6 -181.1 495.3 -183L495.3 -183C500 -185 504.4 -187.8 508.2 -191.6L508.2 -191.6C508.2 -191.7 508.3 -191.7 508.3 -191.7L608.3 -291.7C623.9 -307.3 623.9 -332.7 608.3 -348.3C600.5 -356.1 590.2 -360 580 -360C569.8 -360 559.5 -356.1 551.7 -348.3L520 -316.6L520 -760C520 -782.1 502.1 -800 480 -800ZM680 -840L680 -120L280 -120L280 -840ZM280 -920Q247 -920 223.5 -896.5Q200 -873 200 -840L200 -120Q200 -87 223.5 -63.5Q247 -40 280 -40L680 -40Q713 -40 736.5 -63.5Q760 -87 760 -120L760 -524Q778 -531 789 -546Q800 -561 800 -580L800 -660Q800 -679 789 -694Q778 -709 760 -716L760 -840Q760 -873 736.5 -896.5Q713 -920 680 -920Z"/></svg>
|
||||
|
After Width: | Height: | Size: 1.3 KiB |
@@ -0,0 +1,8 @@
|
||||
<!--
|
||||
Custom Material Symbols Rounded 'reader_long_strip_gaps'.
|
||||
Frame from Material Symbols Rounded 'mobile_gear'.
|
||||
Full-height arrow with a gap, drawn at the Material Symbols stroke weight.
|
||||
Copyright (C) Google LLC
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 -960 960 960" width="24"><path d="M480 -800C457.9 -800 440 -782.1 440 -760L440 -600C440 -577.9 457.9 -560 480 -560C502.1 -560 520 -577.9 520 -600L520 -760C520 -782.1 502.1 -800 480 -800ZM480 -510C457.9 -510 440 -492.1 440 -470L440 -316.6L408.3 -348.3C400.5 -356.1 390.2 -360 380 -360C369.8 -360 359.5 -356.1 351.7 -348.3C336.1 -332.7 336.1 -307.3 351.7 -291.7L451.7 -191.7C451.7 -191.7 451.8 -191.7 451.8 -191.6L451.8 -191.6C455.6 -187.8 460 -185 464.7 -183L464.7 -183C469.4 -181.1 474.6 -180 480 -180C485.4 -180 490.6 -181.1 495.3 -183L495.3 -183C500 -185 504.4 -187.8 508.2 -191.6L508.2 -191.6C508.2 -191.7 508.3 -191.7 508.3 -191.7L608.3 -291.7C623.9 -307.3 623.9 -332.7 608.3 -348.3C600.5 -356.1 590.2 -360 580 -360C569.8 -360 559.5 -356.1 551.7 -348.3L520 -316.6L520 -470C520 -492.1 502.1 -510 480 -510ZM680 -840L680 -120L280 -120L280 -840ZM280 -920Q247 -920 223.5 -896.5Q200 -873 200 -840L200 -120Q200 -87 223.5 -63.5Q247 -40 280 -40L680 -40Q713 -40 736.5 -63.5Q760 -87 760 -120L760 -524Q778 -531 789 -546Q800 -561 800 -580L800 -660Q800 -679 789 -694Q778 -709 760 -716L760 -840Q760 -873 736.5 -896.5Q713 -920 680 -920Z"/></svg>
|
||||
|
After Width: | Height: | Size: 1.4 KiB |
@@ -0,0 +1,10 @@
|
||||
<!--
|
||||
Custom Material Symbols Rounded 'reader_right_to_left'.
|
||||
Mirror of 'reader_left_to_right' inside the frame; the frame keeps its side button on the right.
|
||||
Frame from Material Symbols Rounded 'mobile_gear'.
|
||||
Arrow from Material Symbols Rounded 'mobile_arrow_right', mirrored.
|
||||
Page edge drawn at the Material Symbols stroke weight.
|
||||
Copyright (C) Google LLC
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 -960 960 960" width="24"><path d="M360 -660C337.9 -660 320 -642.1 320 -620L320 -340C320 -317.9 337.9 -300 360 -300C382.1 -300 400 -317.9 400 -340L400 -620C400 -642.1 382.1 -660 360 -660ZM680 -840L680 -520L577 -520L612 -556Q623 -568 622.5 -584.5Q622 -601 611 -612Q599.5 -623.5 583.8 -623.5Q583.2 -623.5 582.5 -623.5Q566 -623 555 -612L451 -508Q445 -502 442.5 -495Q440 -488 440 -480Q440 -472 442.5 -465Q445 -458 451 -452L555 -348Q566 -337 583 -337Q600 -337 611 -348Q623 -360 623 -376.5Q623 -393 612 -404L577 -440L680 -440L680 -120L280 -120L280 -840ZM280 -920Q247 -920 223.5 -896.5Q200 -873 200 -840L200 -120Q200 -87 223.5 -63.5Q247 -40 280 -40L680 -40Q713 -40 736.5 -63.5Q760 -87 760 -120L760 -524Q778 -531 789 -546Q800 -561 800 -580L800 -660Q800 -679 789 -694Q778 -709 760 -716L760 -840Q760 -873 736.5 -896.5Q713 -920 680 -920Z"/></svg>
|
||||
|
After Width: | Height: | Size: 1.3 KiB |
@@ -0,0 +1,9 @@
|
||||
<!--
|
||||
Custom Material Symbols Rounded 'reader_vertical'.
|
||||
Frame from Material Symbols Rounded 'mobile_gear'.
|
||||
Arrow from Material Symbols Rounded 'mobile_arrow_down', moved up.
|
||||
Page edge drawn at the Material Symbols stroke weight.
|
||||
Copyright (C) Google LLC
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 -960 960 960" width="24"><path d="M480 -700Q463 -700 451.5 -688.5Q440 -677 440 -660L440 -534L404 -569Q393 -580 376.5 -580Q360 -580 348 -568Q337 -557 337 -540Q337 -523 348 -512L452 -408Q458 -402 465 -399.5Q472 -397 480 -397Q488 -397 495 -399.5Q502 -402 508 -408L612 -512Q623 -523 623.5 -539.5Q624 -556 612 -568Q601 -579 584.5 -579.5Q583.8 -579.5 583.1 -579.5Q567.5 -579.5 556 -569L520 -534L520 -660Q520 -677 508.5 -688.5Q497 -700 480 -700ZM360 -240C337.9 -240 320 -222.1 320 -200C320 -177.9 337.9 -160 360 -160L600 -160C622.1 -160 640 -177.9 640 -200C640 -222.1 622.1 -240 600 -240ZM680 -840L680 -120L280 -120L280 -840ZM280 -920Q247 -920 223.5 -896.5Q200 -873 200 -840L200 -120Q200 -87 223.5 -63.5Q247 -40 280 -40L680 -40Q713 -40 736.5 -63.5Q760 -87 760 -120L760 -524Q778 -531 789 -546Q800 -561 800 -580L800 -660Q800 -679 789 -694Q778 -709 760 -716L760 -840Q760 -873 736.5 -896.5Q713 -920 680 -920Z"/></svg>
|
||||
|
After Width: | Height: | Size: 1.2 KiB |