nachos icon indicating copy to clipboard operation
nachos copied to clipboard

Wrap content is not working

Open ADTLabs opened this issue 5 years ago • 2 comments

Only one line content is showing ,until you tab on it.

ADTLabs avatar Mar 27 '19 06:03 ADTLabs

Facing the Same Problem

yatindeokar avatar Aug 29 '19 16:08 yatindeokar

I found a workaround for this if anyone facing the same problem makes edit text focusable.

use this: `public void showSoftKeyboard(View view, boolean isShow) { InputMethodManager inputMethodManager = (InputMethodManager) getActivity().getSystemService(Activity.INPUT_METHOD_SERVICE); view.requestFocus();

    if (isShow) {

        inputMethodManager.toggleSoftInput(InputMethodManager.SHOW_IMPLICIT, 0);
    } else {

        inputMethodManager.toggleSoftInput(InputMethodManager.HIDE_IMPLICIT_ONLY, 0);
    }
}`

**and Call: **showSoftKeyboard(getBinding().createSkillsEt, true); showSoftKeyboard(getBinding().createSkillsEt, false);

Now it will show perfectly. (It's not the proper solution)

yatindeokar avatar Aug 29 '19 17:08 yatindeokar