https://github.com/mvojtkovszky/drawingview
A simple view to draw on supporting undo, redo, eraser, clear; change brush color and size; callback listeners for draw and canvas state changes
https://github.com/mvojtkovszky/drawingview
android android-library android-ui androidlibrary androidview
Last synced: 24 days ago
JSON representation
A simple view to draw on supporting undo, redo, eraser, clear; change brush color and size; callback listeners for draw and canvas state changes
- Host: GitHub
- URL: https://github.com/mvojtkovszky/drawingview
- Owner: mvojtkovszky
- License: apache-2.0
- Created: 2020-05-26T10:09:42.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-11-04T10:22:53.000Z (7 months ago)
- Last Synced: 2024-11-04T11:25:53.800Z (7 months ago)
- Topics: android, android-library, android-ui, androidlibrary, androidview
- Language: Kotlin
- Homepage:
- Size: 172 KB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# 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
``` gradle
allprojects {
repositories {
maven { url 'https://jitpack.io' }
}
}
```And DrawingView dependency is added to app build.gradle
``` gradle
dependencies {
implementation 'com.github.mvojtkovszky:DrawingView:$latest_version'
}
```