I'm having trouble using an SVG file a source file for an imageView. I'm building an app with thousands of SVG drawing. it works when i save them in the drawable folder, but i don't want to end up with a huge APK. When I download them from a server as a file i can't set them as a source for the Image view (i try to to do something similiar to this, but with SVG)
Bitmap temp = BitmapFactory.decodeFile("file path");
centerImage.setImageBitmap(temp);
but with an SVG file (that is saved as XML). I looked all over Stackoverflow but the only solution I saw was to save it as resources, which i prefer to avoid.