We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I tried to set otp view in the fragment, but the keyboard was not open
I follow these codes: <com.mukeshsolanki.OtpView android:id="@+id/otpView" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="@dimen/_12sdp" android:inputType="text" android:itemBackground="@drawable/shape_import_contact" android:text="@={vm.shareToText}" android:textAllCaps="false" android:textSize="@dimen/_14ssp" app:OtpHideLineWhenFilled="true" app:OtpItemCount="5" app:OtpItemHeight="@dimen/_28sdp" app:OtpItemSpacing="@dimen/_7sdp" app:OtpItemWidth="@dimen/_35sdp" app:OtpState_filled="true" app:OtpViewType="none" tools:text="1Xce9" />
<com.mukeshsolanki.OtpView android:id="@+id/otpView" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="@dimen/_12sdp" android:inputType="text" android:itemBackground="@drawable/shape_import_contact" android:text="@={vm.shareToText}" android:textAllCaps="false" android:textSize="@dimen/_14ssp" app:OtpHideLineWhenFilled="true" app:OtpItemCount="5" app:OtpItemHeight="@dimen/_28sdp" app:OtpItemSpacing="@dimen/_7sdp" app:OtpItemWidth="@dimen/_35sdp" app:OtpState_filled="true" app:OtpViewType="none" tools:text="1Xce9" />
When I tap on Otp view at that time opens the keyboard
When I tap on Otp view at that time keyboard was not open
The text was updated successfully, but these errors were encountered:
yeahhh
Sorry, something went wrong.
add android:focusable="true" android:focusableInTouchMode="true" in your xml code
android:focusable="true" android:focusableInTouchMode="true"
mukeshsolanki
No branches or pull requests
Subject of the issue
I tried to set otp view in the fragment, but the keyboard was not open
Steps to reproduce
I follow these codes:
<com.mukeshsolanki.OtpView android:id="@+id/otpView" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="@dimen/_12sdp" android:inputType="text" android:itemBackground="@drawable/shape_import_contact" android:text="@={vm.shareToText}" android:textAllCaps="false" android:textSize="@dimen/_14ssp" app:OtpHideLineWhenFilled="true" app:OtpItemCount="5" app:OtpItemHeight="@dimen/_28sdp" app:OtpItemSpacing="@dimen/_7sdp" app:OtpItemWidth="@dimen/_35sdp" app:OtpState_filled="true" app:OtpViewType="none" tools:text="1Xce9" />
Expected behavior
When I tap on Otp view at that time opens the keyboard
Actual behavior
When I tap on Otp view at that time keyboard was not open
The text was updated successfully, but these errors were encountered: