mukeshsolanki / android-otpview-pinview

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

I can't write to the otpView view #122

Closed Andromeda606 closed 3 years ago

Andromeda606 commented 3 years ago

Subject of the issue

I added OtpView view, but when I try to write, I cannot write, setText etc works.

Steps to reproduce

otpView.setEnabled(true); otpView.setAnimationEnable(true); otpView.setItemCount(6); <com.mukesh.OtpView android:id="@+id/otp_view" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center" android:fontFamily="@font/montserrat_black" android:itemBackground="@drawable/bloob_social" android:textColor="@android:color/white" />

lsuski commented 3 years ago

Could be related with https://github.com/mukeshsolanki/android-otpview-pinview/issues/111

Andromeda606 commented 3 years ago

# 111 ile ilgili olabilir

no, didn't work

knakul853 commented 3 years ago

Hi, i am using this library for my project here i am getting the same issue. i can copy paste but can't write. i tried changing input type but that too didn't work. Is it fixed ?

lsuski commented 3 years ago

Check this https://github.com/mukeshsolanki/android-otpview-pinview/issues/90

Andromeda606 commented 3 years ago

I addedandroid:focusableInTouchMode="true" and it worked for me too