Comments (6)
Can you provide the crash log?
from pinview.
Caused by: java.lang.IllegalArgumentException: The itemRadius can not be greater than lineWidth when viewType is line
at com.chaos.view.PinView.checkItemRadius(PinView.java:250)
E: at com.chaos.view.PinView.<init>(PinView.java:170)
at com.chaos.view.PinView.<init>(PinView.java:126)
... 28 more
from pinview.
@dima-ko My fault, in fact, the itemRadius
must less than or equals half of lineWidth
. Take a look at PinView#checkItemRadius()
from pinview.
on https://github.com/ChaosLeung/PinView page in XML example if you change app:viewType from rectangle to line, app will crash. I don't think it should be like this
from pinview.
Because PinView allow use rounded corners for rectangle or line (actually the line is also drawn by a rectangle path). So, if you specify a radius, PinView does not allow the radius greater than half of the width.
from pinview.
Thank you so much @ChaosLeung My problem is solved with your guide , I will close issue
from pinview.
Related Issues (20)
- Enable Similar softkeyboard for Pin and Password HOT 3
- How to change echo character for password? HOT 2
- Feature request
- JCenter is shutting down, are there plans to migrate? HOT 3
- How to set value with Java? HOT 8
- Text is invisible on some devices HOT 2
- Error inflating class com.chaos.view.PinView HOT 2
- How to set background invisible when text was inputed?
- Getting IndexOutOfBoundsException HOT 7
- PinView cursor shape not changing
- keyboard HOT 3
- The keyboard does not show up automatically HOT 1
- is there a way to add elevation and translationZ to single item ? HOT 2
- XIAOMI device cursor visibility does not get hidden
- How to get value using databinding in viewmodel
- How to get text from the pinView for verification ?
- Illegal char <:> in auto-generated values.xml HOT 2
- text color in dark mode
- PinView.java line 339 HOT 1
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 pinview.