androidsvg
androidsvg copied to clipboard
Issue with Edittext
I convert svg to PictureDrawable and use with Edittext but not working
try{
SVG svg = SVG.getFromResource(act, R.raw.svgfile);
EditText etxt = (EditText) findViewById(R.id.etxt);
etxt.setCompoundDrawables(new PictureDrawable(svg.renderToPicture(80, 80)), null, null, null);
}catch(SVGParseException e){
e.printStackTrace();
}
Thanks for your report. What does "not working" mean exactly?
What does "not working" mean exactly?
Image not show on Edittext and same Button. But now i use ImageView above it http://www.mx7.com/view2/znn271GCvrfat2gW