// Create a new ImageView ImageView imageView = new ImageView(this); // Set the background color to white imageView.setBackgroundColor(Color.WHITE); // Parse the SVG file from the resource SVG svg = SVGParser.getSVGFromResource(getResources(), R.raw.android); // Get a drawable from the parsed SVG and set it as the drawable for the ImageView imageView.setImageDrawable(svg.createPictureDrawable()); // Set the ImageView as the content view for the Activity setContentView(imageView);Click on each of the words in red and press Alt + Enter. Run the application and see the result. The SVG file was successfully integrated. Download here the project with all files. Download here the application for mobile phone. Watch the video tutorial to integrate SVG file in Android Studio:
For further questions leave a message.