mukeshsolanki / android-otpview-pinview

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

Soft Keyboard not showing #106

Closed phineas-in closed 4 years ago

phineas-in commented 4 years ago

OTP view is not having the focus, when we did all programmatically and imply force soft keyboard then keyboard is working but the text entered is not getting entered in textbox

yemyatthu1990 commented 4 years ago

@Phineas019 you need to add @style/OtpWidget.OtpView to the app theme.

phineas-in commented 4 years ago

Hey @yemyatthu1990 I did the thing is working in Emulator not on a physical device

vishalvishvakarma commented 4 years ago

add this line in xml this work for me android:focusable="true"

PembaTamang commented 4 years ago

not working on my samsung a50s running one ui 2.0 based on android 10

udhayab2q commented 4 years ago

keyboard Not Working

udhayab2q commented 4 years ago

@Phineas019 you need to add @style/OtpWidget.OtpView to the app theme.

Yes is it working thank you @Phineas019

pratikbutani commented 4 years ago

Add following line to your style.xml

    <item name="otpViewStyle">@style/OtpWidget.OtpView</item>