Comments (3)
You want to make impossible for the user to draw on the FreeDrawView right?
@hardz
from freedrawview.
Yes ! I achieved it by simple trick mFreeDrawView.setEnabled(true); for allowing to draw and mFreeDrawView.setEnabled(false); for stop drawing(impossible for user to draw) .
from freedrawview.
That's the right way to do it, not a trick :)
Those listener are meant to notify you about changes, not disable the View
Thanks, closing!
from freedrawview.
Related Issues (16)
- getCurrentViewStateAsSerializable() returns soft copy (dynamic mutable state) HOT 1
- getting mSignatureView.getDrawingCache() as null
- Is it possible to record the path points of line?
- Is it possible to have a transparent background? HOT 1
- Detect User stopped drawing HOT 8
- Add possibility to restore Bitmap from a file. HOT 3
- Idea for draw mode HOT 1
- Set bitmap as background in DrawView HOT 1
- Upgrade target sdk and support library versions to API 28
- width and height must be > 0
- Set a BitmapShader to the Paint
- Possible enchancement HOT 1
- Support eraser? HOT 8
- Error if setOnPathDrawnListener() is not called HOT 3
- Make possible to add a Bitmap to FreeDrawView HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from freedrawview.