Skip to content
New issue

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

Keyboard not open #168

Open
PiyushMangukiya03 opened this issue Dec 19, 2024 · 2 comments
Open

Keyboard not open #168

PiyushMangukiya03 opened this issue Dec 19, 2024 · 2 comments
Assignees
Labels

Comments

@PiyushMangukiya03
Copy link

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

@mbasirzadeh
Copy link

yeahhh

@T-Shamspour
Copy link

add
android:focusable="true" android:focusableInTouchMode="true"
in your xml code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants