Comments (5)
Hi EJosef,
That was an issue, i am not done code changes to support visibility changes.If parent layout visibility set to GONE it will give 0 width for the CapthaImageView. I fixed the issue,Please use the new CaptchaImageView.
from captchaimageview.
Thanks for your response,i fixed the issue.Please check the changes made in CaptchaImageView
from captchaimageview.
Hi jinesh,
I tried using the new class, but still i am getting the same error. :(
from captchaimageview.
Are you sure,you have changed the file.Because your same layout i tried.It's working for me
from captchaimageview.
Hi jinesh,
It is too funny that i am able now to use your class, but i don't know why it's happening, maybe it's a bug or not. On my layout, the view(CaptchaImageView) was inside a LinearLayout where the visibility was set to 'gone', i tried showing the LinearLayout and set it to 'visible', and now it works. I cannot conclude what was the issue there, maybe the view was not able to plot it's position/dimension/x,y so that when CaptchaImageView execute it's regenerate function, it doesn't know what exactly the position/dimension/x,y because of it's parent being hidden. This is just guess, sorry but thank you for your support!
from captchaimageview.
Related Issues (6)
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 captchaimageview.