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

Stay on the keyboard #14

Open
smartmob021 opened this issue Sep 20, 2017 · 5 comments
Open

Stay on the keyboard #14

smartmob021 opened this issue Sep 20, 2017 · 5 comments

Comments

@smartmob021
Copy link

hello tnx for this library
i have problem
me after initialise keyboard in my activity , The keyboard is in the open mode
What do you need to solve this problem?

thank you

@CPPAlien
Copy link
Owner

Can you paste your code? the default keyboard action is not showing, except you call keyboard.popKeyboard() or touch the input area

@smartmob021
Copy link
Author

This my Codes

keyboardLayout = (ChatKeyboardLayout) findViewById(R.id.kv_barrr); keyboardLayout.setKeyboardStyle(ChatKeyboardLayout.Style.TEXT_EMOTICON); keyboardLayout.setShowRightIcon(true); ArrayList<MediaBean> popupModels = new ArrayList<>(); popupModels.add(new MediaBean(0, R.drawable.attach_gallery, getResources().getString(R.string.send_picture), this)); popupModels.add(new MediaBean(1, R.drawable.attach_document, R.string.send_picture, this)); keyboardLayout.initMediaContents(popupModels); keyboardLayout.setOnChatKeyBoardListener(this); list_messages.setOnTouchListener(new View.OnTouchListener() { @Override public boolean onTouch(View view, MotionEvent motionEvent) { keyboardLayout.hideKeyboard(); return false; } });

@smartmob021
Copy link
Author

Also, when I open and close the keyboard, the emoticon keyboard opens automatically
If you want i record video from my screen

@CPPAlien
Copy link
Owner

Is it demo running correctly on your phone? you can send the video to my email [email protected].

@smartmob021
Copy link
Author

Sended
Sry for Take action soon

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