mukeshsolanki / android-otpview-pinview

A custom view to enter otp of different sizes used usually in cases of authentication.
MIT License
707 stars 207 forks source link

Support Rounded Rectangles #80

Closed sdoward closed 4 years ago

sdoward commented 4 years ago

Subject of the issue

Allow for a new type of RoundedRect

Steps to reproduce

Tell us how to reproduce this issue. Please provide a working demo.

Expected behaviour

Tell us what should happen

Actual behaviour

Tell us what happens instead

josephvijayandroiddev commented 4 years ago

did you finished Round type....???

aabhasr1 commented 4 years ago

Hi you can use https://github.com/aabhasr1/OtpView for rounded rectangles as I made a similar library taking inspiration from here

josmilan commented 4 years ago

Just create background resources with a rounded background. And set it as the itemBackground.

mukeshsolanki commented 4 years ago

thank you @josmilan