antoxa2584x / pincodeview Goto Github PK
View Code? Open in Web Editor NEWPretty PinCode view
Pretty PinCode view
I don't know if it is the right behavior, but i got a weird behavior here. InnerPinView drawable is seems to be smaller than OuterPinView drawable on device with 320dpi screen. The behavior is not happens for device with 480dpi or higher screen. Actually the images used for InnerPinView and OuterPinView has the same size.
Here is my XML:
<com.goldenpie.devs.pincodeview.PinCodeView
android:id="@+id/pcv_pass_code"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
app:pcv_pin_inner_alpha="0"
app:pcv_pin_inner_color="@color/primary"
app:pcv_pin_inner_drawable="@drawable/ic_pin_star"
app:pcv_pin_outer_drawable="@drawable/ic_pin_line"
app:pcv_pin_tint_inner="false"
app:pcv_pin_tint_outer="false"
app:pcv_pin_type="unlock"
/>
Hello
I have my own button to enter the pin. please help me how to use those button to enter the pin in pincodeview.
Currently i am using
InputMethodManager imm = (InputMethodManager) context.getSystemService(Activity.INPUT_METHOD_SERVICE);
imm.hideSoftInputFromWindow(view.getWindowToken(), 0);
To hide soft keyboard from the screen.
It actually hide the "number" keyboard, but will leave the "letter" keyboard open.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.