I\'m trying to use an SVG image (created using Inkscape and saved as plain SVG) as a background for my application. I\'m trying to do this using the svg-android
lib
I tried an example using the following code and it is shows the background correctly:
LinearLayout root = (LinearLayout) findViewById(R.id.background);
SVG svg = SVGParser.getSVGFromResource(getResources(),
R.raw.android_body);
Drawable pictureDrawable = svg.createPictureDrawable();
root.setBackgroundDrawable(pictureDrawable);
Have you tried with another svg?