# FaceTextView **Repository Path**: wangzhenyu90/FaceTextView ## Basic Information - **Project Name**: FaceTextView - **Description**: 可以显示自定义表情图片的TextView - **Primary Language**: Android - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2016-05-28 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # FaceTextView _可以显示自定义表情图片、自动识别URL并增加点击跳转浏览器_ ------ ### 特别注意: FaceTextView在setText后一定要加这句,否则无法点击 faceTextView.setMovementMethod(LinkMovementMethod.getInstance()); 对用户在私信聊天中发的内容识别是否是链接,链接则添加链接样式和点击功能,使用浏览器打开。最主要的是对对话内容的处理,由于对话内容可能是各种字符、表情、URL组合的,需要一一匹配并作相应处理,具体流程图如下: ![输入图片说明](http://git.oschina.net/uploads/images/2016/0528/183221_0a7d8379_818771.png "在这里输入图片标题")