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

Wrap content is not working #80

Open
ADTLabs opened this issue Mar 27, 2019 · 2 comments
Open

Wrap content is not working #80

ADTLabs opened this issue Mar 27, 2019 · 2 comments

Comments

@ADTLabs
Copy link

ADTLabs commented Mar 27, 2019

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

@yatindeokar
Copy link

Facing the Same Problem

@yatindeokar
Copy link

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)

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

No branches or pull requests

2 participants