Project

General

Profile

Feature #367

Switch About and Guide icons from PNG to SVG

Added by Soren Stoutner 11 months ago. Updated 5 months ago.

Status:
New
Priority:
3.x
Start date:
01/04/2019
Due date:
% Done:

0%

Estimated time:

Description

This should save a little bit of space. It should also be possible to use one icon for both light and dark themes and use a tint control.

History

#1

Updated by Soren Stoutner 7 months ago

  • Priority changed from 3.x to Next Release
#2

Updated by Soren Stoutner 5 months ago

  • Priority changed from Next Release to 3.x

It is possible to display SVG images in WebView using <img class="icon" src="../shared_images/add.svg">, which works all the way back to API 19, but it isn't possible to modify the fill of the SVG file using this method.

Other methods, like <svg><use hfre="../shared_images/add.svg"></use></svg>, just paint an empty box in WebView.

I think I will wait and see what happens with WebView's new dark mode before proceeding. https://9to5google.com/2019/02/19/android-chrome-webview-web-dark-mode/

Also available in: Atom PDF