Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- val picture = SVG.getFromString(svgString).renderToPicture()
- val bm = Bitmap.createBitmap(picture.width,
- picture.height,
- Bitmap.Config.RGB_565)
- val c = Canvas(bm)
- picture.draw(c)
- icon_currency.setImageBitmap(bm)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement