Skip to content

Latest commit

 

History

History
26 lines (23 loc) · 596 Bytes

README.md

File metadata and controls

26 lines (23 loc) · 596 Bytes

DrawingView

A simple view to draw on supporting:

  • undo, redo, eraser, clear
  • set brush color and size
  • set callback listeners for drawing and canvas state changes

Simply create view in your code or in xml and you're good to go.

Nice! How do I get started?

Make sure root build.gradle repositories include JitPack

allprojects {
    repositories {
        maven { url 'https://jitpack.io' }
    }
}

And DrawingView dependency is added to app build.gradle

dependencies {
    implementation 'com.github.mvojtkovszky:DrawingView:$latest_version'
}