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

关于表情的初始化的问题 #7

Open
burgessjp opened this issue Jul 10, 2017 · 6 comments
Open

关于表情的初始化的问题 #7

burgessjp opened this issue Jul 10, 2017 · 6 comments

Comments

@burgessjp
Copy link

burgessjp commented Jul 10, 2017

ChatKeyboardLayout.initEmoticonsDB(this, true, entities)

这里如果第一次运行时,第二个参数为 true ,有默认表情,这个是正常的,但是当我改成 false,再运行还是存在默认表情。

看了你的源码你是否初始化成功的处理,不知道你是怎么考虑的,但是实际开发还是存在有的地方需要有的地方不需要。

@CPPAlien
Copy link
Owner

这里的initEmoticonsDB作用是把表情资源加载进数据库中,具体的显示表情与否你可以设定 键盘 风格,如果你不需要表情可以设置为text_only的风格。

@burgessjp
Copy link
Author

burgessjp commented Jul 10, 2017

嗯。这个我知道。我说的是那个默认表情。

@CPPAlien
Copy link
Owner

目前表情模块是统一处理的,一旦初始化了表情,默认以后有用到表情的地方都会显示出这些表情,这一块以后会考虑做得更灵活些。谢谢你的反馈

@capfyu
Copy link

capfyu commented Aug 3, 2017

我点击编辑框,然后自带的输入法编辑器,就会把打开的表情图和输入框,一起顶到上面去了,请问为什么会出现这种情况呢?

@CPPAlien
Copy link
Owner

@capfyu Do you use the latest the version of the lib? Can you tell me your phone info which has the problem, like android version, phone name.

@barrywb
Copy link

barrywb commented Mar 7, 2019

我点击编辑框,然后自带的输入法编辑器,就会把打开的表情图和输入框,一起顶到上面去了,请问为什么会出现这种情况呢?我的情况出现在我将控件放置在dialog中或者是全屏情况,都会出现这个情况

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

4 participants