mirror of
https://github.com/SimpleMobileTools/Simple-Draw.git
synced 2025-06-05 21:59:17 +02:00
allow drawing a bitmap as the canvas background
This commit is contained in:
@@ -117,7 +117,7 @@ class MainActivity : SimpleActivity(), MyCanvas.PathsChangedListener {
|
||||
if (path.endsWith(".svg")) {
|
||||
Svg.loadSvg(this, File(path), my_canvas)
|
||||
} else if (File(path).isImageSlow()) {
|
||||
|
||||
my_canvas.drawBitmap(path)
|
||||
} else {
|
||||
toast(R.string.invalid_file_format)
|
||||
}
|
||||
|
Reference in New Issue
Block a user