question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Replace PNG with SVG icons

See original GitHub issue

Context

  • In earlier versions of Android only PNG images could be used which required to provide the same images in different resolutions.
  • At some point support for SVG images was added and backported to older Android versions.

Current state

  • Menu and alarm icons are still implemented as PNG files.
  • See drawable, drawable-*dpi, mipmap-*dpi folders.

Target state

  • Menu and alarm icons are implemented as SVG files.
  • If needed new SVG icons have to be found or designed. New icons should be proposed to be discussed up-front.
  • Users should not notice a difference (if the same icons are used).
  • SVGs are stored in the assets folder
  • SVG files are prepared so they can be tinted in the future if needed.

Hints

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:13 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
isikocommented, Oct 6, 2022

Oh. I just saw that you (found? and) added the SVGs to the assets folder already.

I Just Recreated them 👍

1reaction
johnjohndoecommented, Oct 5, 2022

I found the “feedback_thumb_up” SVG file: feedback_thumb_up <—

Read more comments on GitHub >

github_iconTop Results From Across the Web

Replace icon PNG and SVG Free Download - UXWing
Replace icon PNG and SVG with transparent background image. It is free to download and use any commercial projects no attribution required.
Read more >
Replace Icons – Download for Free in PNG and SVG - Icons8
Free Replace icons in various UI design styles for web, mobile. Download static and animated Replace vector icons for free in PNG, SVG,...
Read more >
Replacing images in HTML with SVG - Leighton
Down to business, this is done by simply swapping out the PNG file for your SVG file in the src="" attribute. HTML. <img...
Read more >
How to turn PNG icons into editable SVGs - sharpn
Go to Convertio · Add the file you just saved · For the 'to' dropdown select Vector and then SVG · Click Convert,...
Read more >
Find And Replace Vector SVG Icon - SVG Repo
Find And Replace SVG Vector ; COLLECTION: Basic Application ; LICENSE: CC0 License ; PNG: Get this icon in PNG format.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found