1. 如何使用emoji, 可参考Demo
Demo中添加了MyAndroidFrameWork依赖, 里面有一个ChatLayout聊天控件, 见 build.gradle
2. 在Application中初始化
参考: MyApplication.java
3. 布局文件中xml
参考: activity_main.xml
4. Activity中
参考: MainActivity.java
To get a Git project into your build:
Step 1. Add the JitPack repository to your build file
Add it in your root build.gradle at the end of repositories:
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
Step 2. Add the dependency, the last version(最新版本):
Github: Gitee:
dependencies {
implementation 'com.google.android.material:material:your_version'
//https://gitee.com/actor20170211030627/ChatLayout
implementation 'com.gitee.actor20170211030627:ChatLayout:the_last_gitee_version'
}
- keyboard from: 604982372/InputConflict
- emoji from: tencentyun/TIMSDK

