Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
AloqaIM-Android
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
AloqaIM-Android
Commits
a4d34519
Commit
a4d34519
authored
Dec 08, 2016
by
Yusuke Iwaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add Emojione
parent
893a2153
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1668 additions
and
1 deletion
+1668
-1
RocketChatMessageLayout.java
...ocket/android/widget/message/RocketChatMessageLayout.java
+2
-1
Emojione.java
...-android-widgets/src/main/java/com/emojione/Emojione.java
+1666
-0
No files found.
rocket-chat-android-widgets/src/main/java/chat/rocket/android/widget/message/RocketChatMessageLayout.java
View file @
a4d34519
...
...
@@ -9,6 +9,7 @@ import android.widget.LinearLayout;
import
android.widget.TextView
;
import
chat.rocket.android.widget.R
;
import
chat.rocket.android.widget.helper.Linkify
;
import
com.emojione.Emojione
;
/**
*/
...
...
@@ -49,7 +50,7 @@ public class RocketChatMessageLayout extends LinearLayout {
private
void
appendTextView
(
String
text
)
{
TextView
textView
=
(
TextView
)
inflater
.
inflate
(
R
.
layout
.
message_body
,
this
,
false
);
textView
.
setText
(
text
);
textView
.
setText
(
Emojione
.
shortnameToUnicode
(
text
,
false
)
);
Linkify
.
markup
(
textView
);
InlineHightlighter
.
highlight
(
textView
);
...
...
rocket-chat-android-widgets/src/main/java/com/emojione/Emojione.java
0 → 100644
View file @
a4d34519
This source diff could not be displayed because it is too large. You can
view the blob
instead.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment