Giter VIP home page Giter VIP logo

Comments (16)

kaushik-mota avatar kaushik-mota commented on September 7, 2024

Same thing happened with me.

from emojicon.

surajnavkudkarpersonal avatar surajnavkudkarpersonal commented on September 7, 2024

I have same issue on some devices
device-2015-07-16-163459

from emojicon.

cristiano939 avatar cristiano939 commented on September 7, 2024

Same issue here!
But only when the activity is going to background

from emojicon.

remon avatar remon commented on September 7, 2024

did any one fix this problem ?

from emojicon.

remon avatar remon commented on September 7, 2024

if anyone fixed it please tell me

from emojicon.

pdee2131 avatar pdee2131 commented on September 7, 2024

Hi oh okay will do that ASAP

Divine Pdee Asiedu
P.O.Box STC 73,
Accra-North,
00233273772879
@pdee2131 pdee asiedu

On Wed, Nov 25, 2015 at 3:31 AM, Reymond [email protected] wrote:

if anyone fixed it please tell me


Reply to this email directly or view it on GitHub
#20 (comment)
.

from emojicon.

remon avatar remon commented on September 7, 2024

@pdee2131 ,I hope so

from emojicon.

remon avatar remon commented on September 7, 2024

@tuhin10 , @kaushik-m , @suraj9781 ,did you fix it cause I am struggling with the same problem for 2 months now

from emojicon.

pdee2131 avatar pdee2131 commented on September 7, 2024

Hi Reymond ,

I have still not figured it out so i just released the app, but it
currently supports android emoji's for now, which is compatible for devices
KITKAT and above since those devices already have their own emoji's
keyboard....You can contact me if you still need any help

Divine Pdee Asiedu
P.O.Box STC 73,
Accra-North,
00233273772879
@pdee2131 pdee asiedu

On Wed, Dec 2, 2015 at 7:08 PM, Reymond [email protected] wrote:

@tuhin10 https://github.com/tuhin10 , @kaushik-m
https://github.com/Kaushik-M , @suraj9781 https://github.com/suraj9781
,did you fix it cause I am struggling with the same problem for 2 months now


Reply to this email directly or view it on GitHub
#20 (comment)
.

from emojicon.

mansoorahmadsamar avatar mansoorahmadsamar commented on September 7, 2024

I'm having the same problem, if anyone figure it out please let me know

from emojicon.

pdee2131 avatar pdee2131 commented on September 7, 2024

Yhh the problem is still there for me too but i have seen that Whatsapp
implemented it and it works so am still trying to figure it out

Divine Pdee Asiedu
P.O.Box STC 73,
Accra-North,
00233273772879
@pdee2131 pdee asiedu

On Wed, Jan 6, 2016 at 9:59 AM, mansoorahmadsamar [email protected]
wrote:

I'm having the same problem, if anyone figure it out please let me know


Reply to this email directly or view it on GitHub
#20 (comment)
.

from emojicon.

VishalJogiya avatar VishalJogiya commented on September 7, 2024

5> Use EmojiconEdittext insted of EditText and EmojiconTextView in place of TextView, thats it. And a button to show emoji popup.

6> changes that have to made at this lib are ,MainActiviy.java

emojiButton.setOnClickListener(new View.OnClickListener() {

        @Override
        public void onClick(View v) {

            //If popup is not showing => emoji keyboard is not visible, we need to show it

//
//IF POPUP IS SHOWING, SIMPLY DISMISS IT TO SHOW THE UNDELYING TEXT KEYBOARD
if (popup.isShowing()) {
popup.dismiss();
final InputMethodManager inputMethodManager = (InputMethodManager) getSystemService(Context.INPUT_METHOD_SERVICE);
inputMethodManager.showSoftInputFromInputMethod(emojiconEditText.getWindowToken(), InputMethodManager.SHOW_IMPLICIT);

            } else {

                final InputMethodManager inputMethodManager = (InputMethodManager) getSystemService(Context.INPUT_METHOD_SERVICE);
                inputMethodManager.hideSoftInputFromWindow(emojiconEditText.getWindowToken(), InputMethodManager.HIDE_IMPLICIT_ONLY);

                changeEmojiKeyboardIcon(emojiButton, R.drawable.ic_action_keyboard);
                popup.showAtBottom();

// emojiconEditText.setFocusableInTouchMode(true);
// emojiconEditText.requestFocus();

            }
        }
    });

b> Add This code into onCreate method of mainactivity.java

popup.setOutsideTouchable(true);
popup.setFocusable(true);
popup.getContentView().setFocusableInTouchMode(true);
popup.getContentView().setOnKeyListener(new View.OnKeyListener() {
@OverRide
public boolean onKey(View v, int keyCode, KeyEvent event) {
if (keyCode == KeyEvent.KEYCODE_BACK) {
popup.dismiss();
return true;
}
return false;
}
});

c> delete onSoftKeyboardListener method implementation from EmojiPopup in mainactivity.java.

d> Inside EmojiconPopup.java constructor change

I>setSoftInputMode(LayoutParams.SOFT_INPUT_STATE_ALWAYS_HIDDEN);
II>public void showAtBottom(){
showAtLocation(rootView, Gravity.BOTTOM, 0, -1);
}

from emojicon.

ankush19902 avatar ankush19902 commented on September 7, 2024

i dont think it worked as the editext gets hidden. It position itself at the bottom and pop cover that view. So its just pop up which align itself to bottom. @VishalJogiya

from emojicon.

pdee2131 avatar pdee2131 commented on September 7, 2024

Woow that's soo great to hear will try and implement it soon

Divine Pdee Asiedu
P.O.Box STC 73,
Accra-North,
00233273772879
@pdee2131 pdee asiedu

On Thu, Feb 4, 2016 at 2:24 PM, ankush19902 [email protected]
wrote:

i dont think it worked as the editext gets hidden. It position itself at
the bottom and pop cover that view. So its just pop up which align itself
to bottom. @VishalJogiya https://github.com/VishalJogiya


Reply to this email directly or view it on GitHub
#20 (comment)
.

from emojicon.

gitbiraz avatar gitbiraz commented on September 7, 2024

its not working. please provide another solution

from emojicon.

ductranit avatar ductranit commented on September 7, 2024

This issue is fixed on my side by change
setSoftInputMode(LayoutParams.SOFT_INPUT_STATE_ALWAYS_VISIBLE);
to
setSoftInputMode(LayoutParams.SOFT_INPUT_STATE_ALWAYS_HIDDEN)
in EmojiconsPopup

from emojicon.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.