diff options
author | lookshe <github@lookshe.org> | 2015-04-12 17:22:42 +0200 |
---|---|---|
committer | lookshe <github@lookshe.org> | 2015-04-12 17:22:53 +0200 |
commit | cae106e3106d26742d94e74f96c0295270c1620e (patch) | |
tree | d1c251ffe6a8162efca5082056f93a91ce8c5bef /src/main/res/layout/message_received.xml | |
parent | 972c65b775b2191ee5b54472e24958f3c87dbb21 (diff) |
whatsapp-like smiley implementation
Diffstat (limited to 'src/main/res/layout/message_received.xml')
-rw-r--r-- | src/main/res/layout/message_received.xml | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/main/res/layout/message_received.xml b/src/main/res/layout/message_received.xml index 39bb842a..23997028 100644 --- a/src/main/res/layout/message_received.xml +++ b/src/main/res/layout/message_received.xml @@ -1,5 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" +<RelativeLayout + xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:emojicon="http://schemas.android.com/apk/res-auto" android:layout_width="fill_parent" android:layout_height="wrap_content" android:orientation="vertical" @@ -38,13 +40,14 @@ android:paddingBottom="2dp" android:scaleType="centerCrop" /> - <TextView + <github.ankushsachdeva.emojicon.EmojiconTextView android:id="@+id/message_body" android:layout_width="wrap_content" android:layout_height="wrap_content" android:autoLink="web" android:textColor="@color/primarytext" - android:textSize="?attr/TextSizeBody" /> + android:textSize="?attr/TextSizeBody" + emojicon:emojiconSize="28sp" /> <Button android:id="@+id/download_button" |