Render themes: SVG resources, closes #60
This commit is contained in:
@@ -55,6 +55,16 @@ public final class AndroidGraphics extends CanvasAdapter {
|
||||
return new AndroidBitmap(inputStream);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Bitmap decodeSvgBitmapImpl(InputStream inputStream) {
|
||||
try {
|
||||
return new AndroidSvgBitmap(inputStream);
|
||||
} catch (IOException e) {
|
||||
e.printStackTrace();
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public Bitmap loadBitmapAssetImpl(String relativePathPrefix, String src) {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user