CPPAlien / ChatKeyboard

ChatKeyboard is a powerful and easy using keyboard lib for Android, includes emoticons selection, audio recording, multi media functions, etc.
Apache License 2.0
576 stars 81 forks source link

Stay on the keyboard #14

Open developercrazy021 opened 7 years ago

developercrazy021 commented 7 years ago

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 commented 7 years ago

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

developercrazy021 commented 7 years ago

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; } });

developercrazy021 commented 7 years ago

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

CPPAlien commented 7 years ago

Is it demo running correctly on your phone? you can send the video to my email creaspan@gmail.com.

developercrazy021 commented 7 years ago

Sended Sry for Take action soon