From cae106e3106d26742d94e74f96c0295270c1620e Mon Sep 17 00:00:00 2001 From: lookshe Date: Sun, 12 Apr 2015 17:22:42 +0200 Subject: whatsapp-like smiley implementation --- src/main/res/layout/fragment_conversation.xml | 11 ++++++++++- src/main/res/layout/message_received.xml | 9 ++++++--- src/main/res/layout/message_sent.xml | 9 ++++++--- 3 files changed, 22 insertions(+), 7 deletions(-) (limited to 'src/main/res/layout') diff --git a/src/main/res/layout/fragment_conversation.xml b/src/main/res/layout/fragment_conversation.xml index f9aae10a..b343781b 100644 --- a/src/main/res/layout/fragment_conversation.xml +++ b/src/main/res/layout/fragment_conversation.xml @@ -33,8 +33,8 @@ android:id="@+id/textinput" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_alignParentLeft="true" android:layout_toLeftOf="@+id/textSendButton" + android:layout_toRightOf="@+id/emoji_btn" android:background="@color/primarybackground" android:ems="10" android:imeOptions="flagNoExtractUi|actionSend" @@ -58,6 +58,15 @@ android:layout_centerVertical="true" android:background="?android:selectableItemBackground" android:src="@drawable/ic_action_send_now_offline" /> + + - - + android:textSize="?attr/TextSizeBody" + emojicon:emojiconSize="28sp" />