diff options
author | Christian Schneppe <christian@pix-art.de> | 2017-11-20 20:02:12 +0100 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2017-11-20 20:02:12 +0100 |
commit | 66683bc17d86f3d05a2e882fc09b5b2a5932cb25 (patch) | |
tree | e532950195eda22407f321cd9c182966f20c0481 /src/main/java/de/pixart/messenger/ui/ConversationFragment.java | |
parent | 8e4781059a898f6db656765609d60839ac3d33de (diff) |
support for basic IM styling
Diffstat (limited to '')
-rw-r--r-- | src/main/java/de/pixart/messenger/ui/ConversationFragment.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/de/pixart/messenger/ui/ConversationFragment.java b/src/main/java/de/pixart/messenger/ui/ConversationFragment.java index d1a007e3b..f76c8a56d 100644 --- a/src/main/java/de/pixart/messenger/ui/ConversationFragment.java +++ b/src/main/java/de/pixart/messenger/ui/ConversationFragment.java @@ -74,6 +74,7 @@ import de.pixart.messenger.ui.adapter.MessageAdapter.OnContactPictureClicked; import de.pixart.messenger.ui.adapter.MessageAdapter.OnContactPictureLongClicked; import de.pixart.messenger.ui.widget.ListSelectionManager; import de.pixart.messenger.utils.NickValidityChecker; +import de.pixart.messenger.utils.StylingHelper; import de.pixart.messenger.utils.UIHelper; import de.pixart.messenger.xmpp.XmppConnection; import de.pixart.messenger.xmpp.chatstate.ChatState; @@ -475,6 +476,7 @@ public class ConversationFragment extends Fragment implements EditMessage.Keyboa } } }); + mEditMessage.addTextChangedListener(new StylingHelper.MessageEditorStyler(mEditMessage)); mEditMessage.setOnEditorActionListener(mEditorActionListener); mEditMessage.setRichContentListener(new String[]{"image/*"}, mEditorContentListener); |