-
Notifications
You must be signed in to change notification settings - Fork 114
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 appears after tapping editText twice. #84
Comments
I'm also facing the same issue |
I updated the following code in the TextFieldBoxes.java, now its working fine
|
I have this issue as well. |
Thanks to @rohitshahane93 for the workaround. It's also possible to extend class FixedTextFieldBoxes @JvmOverloads constructor(
context: Context,
attrs: AttributeSet? = null
) : TextFieldBoxes(context, attrs) {
override fun onFinishInflate() {
super.onFinishInflate()
editText.setOnFocusChangeListener { view, hasFocus ->
setHasFocus(hasFocus)
if (hasFocus) {
inputMethodManager.showSoftInput(editText, InputMethodManager.SHOW_IMPLICIT)
this@FixedTextFieldBoxes.performClick()
}
}
}
} |
Hello i have same problem and i can't change the source code, could you write your example in java please? |
<studio.carbonylgroup.textfieldboxes.TextFieldBoxes
android:id="@+id/text_field_boxes1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:labelText="Title"
app:maxCharacters="20">
The text was updated successfully, but these errors were encountered: