diff options
Diffstat (limited to 'libs/emojicon/src/main/res')
51 files changed, 150 insertions, 209 deletions
diff --git a/libs/emojicon/src/main/res/drawable-hdpi/ic_launcher.png b/libs/emojicon/src/main/res/drawable-hdpi/ic_launcher.png Binary files differdeleted file mode 100644 index 96a442e5..00000000 --- a/libs/emojicon/src/main/res/drawable-hdpi/ic_launcher.png +++ /dev/null diff --git a/libs/emojicon/src/main/res/drawable-hdpi/keyboard_background_holo.9.png b/libs/emojicon/src/main/res/drawable-hdpi/keyboard_background_holo.9.png Binary files differindex 73868751..87972f06 100644 --- a/libs/emojicon/src/main/res/drawable-hdpi/keyboard_background_holo.9.png +++ b/libs/emojicon/src/main/res/drawable-hdpi/keyboard_background_holo.9.png diff --git a/libs/emojicon/src/main/res/drawable-mdpi/ic_launcher.png b/libs/emojicon/src/main/res/drawable-mdpi/ic_launcher.png Binary files differdeleted file mode 100644 index 359047df..00000000 --- a/libs/emojicon/src/main/res/drawable-mdpi/ic_launcher.png +++ /dev/null diff --git a/libs/emojicon/src/main/res/drawable-mdpi/keyboard_background_holo.9.png b/libs/emojicon/src/main/res/drawable-mdpi/keyboard_background_holo.9.png Binary files differindex fbe97f7a..6bbf7206 100644 --- a/libs/emojicon/src/main/res/drawable-mdpi/keyboard_background_holo.9.png +++ b/libs/emojicon/src/main/res/drawable-mdpi/keyboard_background_holo.9.png diff --git a/libs/emojicon/src/main/res/drawable-nodpi/emoji_1f4bd.png b/libs/emojicon/src/main/res/drawable-nodpi/emoji_1f4bd.png Binary files differindex a4ede2fe..c955947f 100644 --- a/libs/emojicon/src/main/res/drawable-nodpi/emoji_1f4bd.png +++ b/libs/emojicon/src/main/res/drawable-nodpi/emoji_1f4bd.png diff --git a/libs/emojicon/src/main/res/drawable-nodpi/emoji_1f555.png b/libs/emojicon/src/main/res/drawable-nodpi/emoji_1f555.png Binary files differindex 279c7f3f..e95f923c 100644 --- a/libs/emojicon/src/main/res/drawable-nodpi/emoji_1f555.png +++ b/libs/emojicon/src/main/res/drawable-nodpi/emoji_1f555.png diff --git a/libs/emojicon/src/main/res/drawable-xhdpi/ic_launcher.png b/libs/emojicon/src/main/res/drawable-xhdpi/ic_launcher.png Binary files differdeleted file mode 100644 index 71c6d760..00000000 --- a/libs/emojicon/src/main/res/drawable-xhdpi/ic_launcher.png +++ /dev/null diff --git a/libs/emojicon/src/main/res/drawable-xhdpi/keyboard_background_holo.9.png b/libs/emojicon/src/main/res/drawable-xhdpi/keyboard_background_holo.9.png Binary files differindex f5c9df3e..2d0dc1fb 100644 --- a/libs/emojicon/src/main/res/drawable-xhdpi/keyboard_background_holo.9.png +++ b/libs/emojicon/src/main/res/drawable-xhdpi/keyboard_background_holo.9.png diff --git a/libs/emojicon/src/main/res/drawable-xhdpi/orca_attach_camera_normal.png b/libs/emojicon/src/main/res/drawable-xhdpi/orca_attach_camera_normal.png Binary files differdeleted file mode 100644 index d1c02cf6..00000000 --- a/libs/emojicon/src/main/res/drawable-xhdpi/orca_attach_camera_normal.png +++ /dev/null diff --git a/libs/emojicon/src/main/res/drawable-xhdpi/orca_attach_camera_pressed.png b/libs/emojicon/src/main/res/drawable-xhdpi/orca_attach_camera_pressed.png Binary files differdeleted file mode 100644 index 9bb11a42..00000000 --- a/libs/emojicon/src/main/res/drawable-xhdpi/orca_attach_camera_pressed.png +++ /dev/null diff --git a/libs/emojicon/src/main/res/drawable-xhdpi/orca_attach_location_normal.png b/libs/emojicon/src/main/res/drawable-xhdpi/orca_attach_location_normal.png Binary files differdeleted file mode 100644 index af8a2fda..00000000 --- a/libs/emojicon/src/main/res/drawable-xhdpi/orca_attach_location_normal.png +++ /dev/null diff --git a/libs/emojicon/src/main/res/drawable-xhdpi/orca_attach_location_pressed.png b/libs/emojicon/src/main/res/drawable-xhdpi/orca_attach_location_pressed.png Binary files differdeleted file mode 100644 index 12b8608a..00000000 --- a/libs/emojicon/src/main/res/drawable-xhdpi/orca_attach_location_pressed.png +++ /dev/null diff --git a/libs/emojicon/src/main/res/drawable-xhdpi/orca_attach_photo_normal.png b/libs/emojicon/src/main/res/drawable-xhdpi/orca_attach_photo_normal.png Binary files differdeleted file mode 100644 index 86f17352..00000000 --- a/libs/emojicon/src/main/res/drawable-xhdpi/orca_attach_photo_normal.png +++ /dev/null diff --git a/libs/emojicon/src/main/res/drawable-xhdpi/orca_attach_photo_pressed.png b/libs/emojicon/src/main/res/drawable-xhdpi/orca_attach_photo_pressed.png Binary files differdeleted file mode 100644 index d6d1869b..00000000 --- a/libs/emojicon/src/main/res/drawable-xhdpi/orca_attach_photo_pressed.png +++ /dev/null diff --git a/libs/emojicon/src/main/res/drawable-xhdpi/orca_attachments_arrow.png b/libs/emojicon/src/main/res/drawable-xhdpi/orca_attachments_arrow.png Binary files differdeleted file mode 100644 index b339725e..00000000 --- a/libs/emojicon/src/main/res/drawable-xhdpi/orca_attachments_arrow.png +++ /dev/null diff --git a/libs/emojicon/src/main/res/drawable-xhdpi/orca_attachments_arrow_reversed.png b/libs/emojicon/src/main/res/drawable-xhdpi/orca_attachments_arrow_reversed.png Binary files differdeleted file mode 100644 index 918d0baf..00000000 --- a/libs/emojicon/src/main/res/drawable-xhdpi/orca_attachments_arrow_reversed.png +++ /dev/null diff --git a/libs/emojicon/src/main/res/drawable-xhdpi/orca_composer_divider_horizontal.9.png b/libs/emojicon/src/main/res/drawable-xhdpi/orca_composer_divider_horizontal.9.png Binary files differdeleted file mode 100644 index f10e37bf..00000000 --- a/libs/emojicon/src/main/res/drawable-xhdpi/orca_composer_divider_horizontal.9.png +++ /dev/null diff --git a/libs/emojicon/src/main/res/drawable-xhdpi/orca_composer_divider_vertical.9.png b/libs/emojicon/src/main/res/drawable-xhdpi/orca_composer_divider_vertical.9.png Binary files differdeleted file mode 100644 index 523493ca..00000000 --- a/libs/emojicon/src/main/res/drawable-xhdpi/orca_composer_divider_vertical.9.png +++ /dev/null diff --git a/libs/emojicon/src/main/res/drawable-xhdpi/orca_composer_popup_active_normal.png b/libs/emojicon/src/main/res/drawable-xhdpi/orca_composer_popup_active_normal.png Binary files differdeleted file mode 100644 index 08ccb0fc..00000000 --- a/libs/emojicon/src/main/res/drawable-xhdpi/orca_composer_popup_active_normal.png +++ /dev/null diff --git a/libs/emojicon/src/main/res/drawable-xhdpi/orca_composer_popup_active_pressed.png b/libs/emojicon/src/main/res/drawable-xhdpi/orca_composer_popup_active_pressed.png Binary files differdeleted file mode 100644 index b91b2063..00000000 --- a/libs/emojicon/src/main/res/drawable-xhdpi/orca_composer_popup_active_pressed.png +++ /dev/null diff --git a/libs/emojicon/src/main/res/drawable-xhdpi/orca_composer_popup_normal.png b/libs/emojicon/src/main/res/drawable-xhdpi/orca_composer_popup_normal.png Binary files differdeleted file mode 100644 index d5f15ac1..00000000 --- a/libs/emojicon/src/main/res/drawable-xhdpi/orca_composer_popup_normal.png +++ /dev/null diff --git a/libs/emojicon/src/main/res/drawable-xhdpi/orca_composer_popup_pressed.png b/libs/emojicon/src/main/res/drawable-xhdpi/orca_composer_popup_pressed.png Binary files differdeleted file mode 100644 index ddb6e9b7..00000000 --- a/libs/emojicon/src/main/res/drawable-xhdpi/orca_composer_popup_pressed.png +++ /dev/null diff --git a/libs/emojicon/src/main/res/drawable-xhdpi/orca_composer_tab.9.png b/libs/emojicon/src/main/res/drawable-xhdpi/orca_composer_tab.9.png Binary files differdeleted file mode 100644 index 1a6c0fed..00000000 --- a/libs/emojicon/src/main/res/drawable-xhdpi/orca_composer_tab.9.png +++ /dev/null diff --git a/libs/emojicon/src/main/res/drawable-xhdpi/orca_composer_tab_active.9.png b/libs/emojicon/src/main/res/drawable-xhdpi/orca_composer_tab_active.9.png Binary files differdeleted file mode 100644 index c636c870..00000000 --- a/libs/emojicon/src/main/res/drawable-xhdpi/orca_composer_tab_active.9.png +++ /dev/null diff --git a/libs/emojicon/src/main/res/drawable-xhdpi/orca_composer_tab_dark.9.png b/libs/emojicon/src/main/res/drawable-xhdpi/orca_composer_tab_dark.9.png Binary files differdeleted file mode 100644 index 33d4b909..00000000 --- a/libs/emojicon/src/main/res/drawable-xhdpi/orca_composer_tab_dark.9.png +++ /dev/null diff --git a/libs/emojicon/src/main/res/drawable-xhdpi/orca_composer_tab_pressed.9.png b/libs/emojicon/src/main/res/drawable-xhdpi/orca_composer_tab_pressed.9.png Binary files differdeleted file mode 100644 index fa7c6809..00000000 --- a/libs/emojicon/src/main/res/drawable-xhdpi/orca_composer_tab_pressed.9.png +++ /dev/null diff --git a/libs/emojicon/src/main/res/drawable-xhdpi/orca_composer_top_divider.9.png b/libs/emojicon/src/main/res/drawable-xhdpi/orca_composer_top_divider.9.png Binary files differdeleted file mode 100644 index c80da27e..00000000 --- a/libs/emojicon/src/main/res/drawable-xhdpi/orca_composer_top_divider.9.png +++ /dev/null diff --git a/libs/emojicon/src/main/res/drawable-xhdpi/orca_emoji_backspace_back_normal.png b/libs/emojicon/src/main/res/drawable-xhdpi/orca_emoji_backspace_back_normal.png Binary files differdeleted file mode 100644 index 861ce7ba..00000000 --- a/libs/emojicon/src/main/res/drawable-xhdpi/orca_emoji_backspace_back_normal.png +++ /dev/null diff --git a/libs/emojicon/src/main/res/drawable-xhdpi/orca_emoji_backspace_front_normal.png b/libs/emojicon/src/main/res/drawable-xhdpi/orca_emoji_backspace_front_normal.png Binary files differdeleted file mode 100644 index d1d49c41..00000000 --- a/libs/emojicon/src/main/res/drawable-xhdpi/orca_emoji_backspace_front_normal.png +++ /dev/null diff --git a/libs/emojicon/src/main/res/drawable-xhdpi/orca_emoji_backspace_front_pressed.png b/libs/emojicon/src/main/res/drawable-xhdpi/orca_emoji_backspace_front_pressed.png Binary files differdeleted file mode 100644 index 807a000e..00000000 --- a/libs/emojicon/src/main/res/drawable-xhdpi/orca_emoji_backspace_front_pressed.png +++ /dev/null diff --git a/libs/emojicon/src/main/res/drawable-xhdpi/orca_emoji_category_cars.png b/libs/emojicon/src/main/res/drawable-xhdpi/orca_emoji_category_cars.png Binary files differdeleted file mode 100644 index 91a51df4..00000000 --- a/libs/emojicon/src/main/res/drawable-xhdpi/orca_emoji_category_cars.png +++ /dev/null diff --git a/libs/emojicon/src/main/res/drawable-xhdpi/orca_emoji_category_nature.png b/libs/emojicon/src/main/res/drawable-xhdpi/orca_emoji_category_nature.png Binary files differdeleted file mode 100644 index 52b9003f..00000000 --- a/libs/emojicon/src/main/res/drawable-xhdpi/orca_emoji_category_nature.png +++ /dev/null diff --git a/libs/emojicon/src/main/res/drawable-xhdpi/orca_emoji_category_objects.png b/libs/emojicon/src/main/res/drawable-xhdpi/orca_emoji_category_objects.png Binary files differdeleted file mode 100644 index e5965e81..00000000 --- a/libs/emojicon/src/main/res/drawable-xhdpi/orca_emoji_category_objects.png +++ /dev/null diff --git a/libs/emojicon/src/main/res/drawable-xhdpi/orca_emoji_category_people.png b/libs/emojicon/src/main/res/drawable-xhdpi/orca_emoji_category_people.png Binary files differdeleted file mode 100644 index 437692e7..00000000 --- a/libs/emojicon/src/main/res/drawable-xhdpi/orca_emoji_category_people.png +++ /dev/null diff --git a/libs/emojicon/src/main/res/drawable-xhdpi/orca_emoji_category_punctuation.png b/libs/emojicon/src/main/res/drawable-xhdpi/orca_emoji_category_punctuation.png Binary files differdeleted file mode 100644 index cef75d77..00000000 --- a/libs/emojicon/src/main/res/drawable-xhdpi/orca_emoji_category_punctuation.png +++ /dev/null diff --git a/libs/emojicon/src/main/res/drawable-xhdpi/orca_emoji_more_back_normal.png b/libs/emojicon/src/main/res/drawable-xhdpi/orca_emoji_more_back_normal.png Binary files differdeleted file mode 100644 index 57a22ee0..00000000 --- a/libs/emojicon/src/main/res/drawable-xhdpi/orca_emoji_more_back_normal.png +++ /dev/null diff --git a/libs/emojicon/src/main/res/drawable-xhdpi/orca_emoji_more_front_normal.png b/libs/emojicon/src/main/res/drawable-xhdpi/orca_emoji_more_front_normal.png Binary files differdeleted file mode 100644 index 2fe38cc0..00000000 --- a/libs/emojicon/src/main/res/drawable-xhdpi/orca_emoji_more_front_normal.png +++ /dev/null diff --git a/libs/emojicon/src/main/res/drawable-xhdpi/orca_emoji_more_front_pressed.png b/libs/emojicon/src/main/res/drawable-xhdpi/orca_emoji_more_front_pressed.png Binary files differdeleted file mode 100644 index 57b04f8d..00000000 --- a/libs/emojicon/src/main/res/drawable-xhdpi/orca_emoji_more_front_pressed.png +++ /dev/null diff --git a/libs/emojicon/src/main/res/drawable/orca_composer_attach_camera_button.xml b/libs/emojicon/src/main/res/drawable/orca_composer_attach_camera_button.xml deleted file mode 100644 index 0b255fb2..00000000 --- a/libs/emojicon/src/main/res/drawable/orca_composer_attach_camera_button.xml +++ /dev/null @@ -1,6 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<selector - xmlns:android="http://schemas.android.com/apk/res/android"> - <item android:state_pressed="true" android:drawable="@drawable/orca_attach_camera_pressed" /> - <item android:drawable="@drawable/orca_attach_camera_normal" /> -</selector>
\ No newline at end of file diff --git a/libs/emojicon/src/main/res/drawable/orca_composer_attach_location_button.xml b/libs/emojicon/src/main/res/drawable/orca_composer_attach_location_button.xml deleted file mode 100644 index 4971113a..00000000 --- a/libs/emojicon/src/main/res/drawable/orca_composer_attach_location_button.xml +++ /dev/null @@ -1,21 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2013 Klamr. All rights reserved. - ~ - ~ This software is the confidential and proprietary information of Klamr or one of its - ~ subsidiaries. You shall not disclose this confidential information and shall use it only in - ~ accordance with the terms of the license agreement or other applicable agreement you entered into - ~ with Klamr. - ~ - ~ KLAMR MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF THE SOFTWARE, EITHER - ~ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY, - ~ FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT. KLAMR SHALL NOT BE LIABLE FOR ANY LOSSES - ~ OR DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR DISTRIBUTING THIS SOFTWARE OR - ~ ITS DERIVATIVES. - --> - -<selector - xmlns:android="http://schemas.android.com/apk/res/android"> - <item android:state_pressed="true" android:drawable="@drawable/orca_attach_location_pressed"/> - <item android:drawable="@drawable/orca_attach_location_normal"/> -</selector>
\ No newline at end of file diff --git a/libs/emojicon/src/main/res/drawable/orca_composer_attach_photo_button.xml b/libs/emojicon/src/main/res/drawable/orca_composer_attach_photo_button.xml deleted file mode 100644 index ca7508dd..00000000 --- a/libs/emojicon/src/main/res/drawable/orca_composer_attach_photo_button.xml +++ /dev/null @@ -1,6 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<selector - xmlns:android="http://schemas.android.com/apk/res/android"> - <item android:state_pressed="true" android:drawable="@drawable/orca_attach_photo_pressed" /> - <item android:drawable="@drawable/orca_attach_photo_normal" /> -</selector>
\ No newline at end of file diff --git a/libs/emojicon/src/main/res/drawable/orca_composer_popup_button.xml b/libs/emojicon/src/main/res/drawable/orca_composer_popup_button.xml deleted file mode 100644 index d43dc26e..00000000 --- a/libs/emojicon/src/main/res/drawable/orca_composer_popup_button.xml +++ /dev/null @@ -1,6 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<selector - xmlns:android="http://schemas.android.com/apk/res/android"> - <item android:state_pressed="true" android:drawable="@drawable/orca_composer_popup_pressed" /> - <item android:drawable="@drawable/orca_composer_popup_normal" /> -</selector>
\ No newline at end of file diff --git a/libs/emojicon/src/main/res/drawable/orca_composer_popup_button_active.xml b/libs/emojicon/src/main/res/drawable/orca_composer_popup_button_active.xml deleted file mode 100644 index f5e40ef8..00000000 --- a/libs/emojicon/src/main/res/drawable/orca_composer_popup_button_active.xml +++ /dev/null @@ -1,6 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<selector - xmlns:android="http://schemas.android.com/apk/res/android"> - <item android:state_pressed="true" android:drawable="@drawable/orca_composer_popup_active_pressed" /> - <item android:drawable="@drawable/orca_composer_popup_active_normal" /> -</selector>
\ No newline at end of file diff --git a/libs/emojicon/src/main/res/drawable/orca_emoji_backspace_front_button.xml b/libs/emojicon/src/main/res/drawable/orca_emoji_backspace_front_button.xml deleted file mode 100644 index a2d2f5b6..00000000 --- a/libs/emojicon/src/main/res/drawable/orca_emoji_backspace_front_button.xml +++ /dev/null @@ -1,5 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<selector xmlns:android="http://schemas.android.com/apk/res/android"> - <item android:state_pressed="true" android:drawable="@drawable/orca_emoji_backspace_front_pressed"/> - <item android:drawable="@drawable/orca_emoji_backspace_front_normal"/> -</selector>
\ No newline at end of file diff --git a/libs/emojicon/src/main/res/drawable/orca_emoji_more_front_button.xml b/libs/emojicon/src/main/res/drawable/orca_emoji_more_front_button.xml deleted file mode 100644 index a799d56d..00000000 --- a/libs/emojicon/src/main/res/drawable/orca_emoji_more_front_button.xml +++ /dev/null @@ -1,5 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<selector xmlns:android="http://schemas.android.com/apk/res/android"> - <item android:state_pressed="true" android:drawable="@drawable/orca_emoji_more_front_pressed"/> - <item android:drawable="@drawable/orca_emoji_more_front_normal"/> -</selector>
\ No newline at end of file diff --git a/libs/emojicon/src/main/res/drawable/orca_emoji_tab_background.xml b/libs/emojicon/src/main/res/drawable/orca_emoji_tab_background.xml deleted file mode 100644 index f68e6212..00000000 --- a/libs/emojicon/src/main/res/drawable/orca_emoji_tab_background.xml +++ /dev/null @@ -1,7 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<selector - xmlns:android="http://schemas.android.com/apk/res/android"> - <item android:state_selected="true" android:drawable="@drawable/orca_composer_tab_pressed" /> - <item android:state_pressed="true" android:drawable="@drawable/orca_composer_tab_active" /> - <item android:drawable="@drawable/orca_composer_tab" /> -</selector>
\ No newline at end of file diff --git a/libs/emojicon/src/main/res/drawable/orca_emoji_tab_dark_background.xml b/libs/emojicon/src/main/res/drawable/orca_emoji_tab_dark_background.xml deleted file mode 100644 index 07ff608c..00000000 --- a/libs/emojicon/src/main/res/drawable/orca_emoji_tab_dark_background.xml +++ /dev/null @@ -1,22 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2013 Klamr. All rights reserved. - ~ - ~ This software is the confidential and proprietary information of Klamr or one of its - ~ subsidiaries. You shall not disclose this confidential information and shall use it only in - ~ accordance with the terms of the license agreement or other applicable agreement you entered into - ~ with Klamr. - ~ - ~ KLAMR MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF THE SOFTWARE, EITHER - ~ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY, - ~ FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT. KLAMR SHALL NOT BE LIABLE FOR ANY LOSSES - ~ OR DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR DISTRIBUTING THIS SOFTWARE OR - ~ ITS DERIVATIVES. - --> - -<selector - xmlns:android="http://schemas.android.com/apk/res/android"> - <item android:state_pressed="true" android:drawable="@drawable/orca_composer_tab_pressed" /> - <item android:drawable="@drawable/orca_composer_tab_active" android:state_checked="true" /> - <item android:drawable="@drawable/orca_composer_tab_dark" /> -</selector>
\ No newline at end of file diff --git a/libs/emojicon/src/main/res/layout/emojicon_item.xml b/libs/emojicon/src/main/res/layout/emojicon_item.xml index ed11041a..bdf521a4 100644 --- a/libs/emojicon/src/main/res/layout/emojicon_item.xml +++ b/libs/emojicon/src/main/res/layout/emojicon_item.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- - ~ Copyright 2014 Ankush Sachdeva + ~ Copyright 2014 Hieu Rocker ~ ~ Licensed under the Apache License, Version 2.0 (the "License"); ~ you may not use this file except in compliance with the License. @@ -20,13 +20,11 @@ xmlns:emojicon="http://schemas.android.com/apk/res-auto" android:layout_width="wrap_content" android:layout_height="wrap_content"> - <github.ankushsachdeva.emojicon.EmojiconTextView + <com.rockerhieu.emojicon.EmojiconTextView android:layout_gravity="center" android:id="@+id/emojicon_icon" android:layout_width="36dip" android:layout_height="36dip" emojicon:emojiconSize="30dip" - android:focusable="false" - android:focusableInTouchMode="false" android:gravity="center"/> </FrameLayout>
\ No newline at end of file diff --git a/libs/emojicon/src/main/res/layout/emojicons.xml b/libs/emojicon/src/main/res/layout/emojicons.xml index 287923d1..888a9459 100644 --- a/libs/emojicon/src/main/res/layout/emojicons.xml +++ b/libs/emojicon/src/main/res/layout/emojicons.xml @@ -1,6 +1,5 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright 2014 Ankush Sachdeva +<?xml version="1.0" encoding="utf-8"?><!-- + ~ Copyright 2014 Hieu Rocker ~ ~ Licensed under the Apache License, Version 2.0 (the "License"); ~ you may not use this file except in compliance with the License. @@ -16,104 +15,120 @@ --> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:background="@drawable/keyboard_background_holo" - android:layout_width="match_parent" - android:layout_height="match_parent"> - <LinearLayout - android:id="@+id/emojis_tab" - android:layout_width="match_parent" - android:layout_height="50dip" - android:layout_alignParentTop="true" - android:orientation="horizontal"> - <ImageButton - android:background="@null" - android:layout_width="0dip" - android:layout_height="match_parent" - android:layout_weight="1" - android:scaleType="center" - android:id="@+id/emojis_tab_0_recents" - android:src="@drawable/ic_emoji_recent_light"/> - <View - android:layout_width="1px" - android:layout_height="match_parent" - android:background="#888888"/> - <ImageButton - android:background="@null" - android:layout_width="0dip" - android:layout_height="match_parent" - android:layout_weight="1" - android:scaleType="center" - android:id="@+id/emojis_tab_1_people" - android:src="@drawable/ic_emoji_people_light"/> - <View - android:layout_width="1px" - android:layout_height="match_parent" - android:background="#888888"/> - <ImageButton - android:background="@null" - android:layout_width="0dip" - android:layout_height="match_parent" - android:layout_weight="1" - android:scaleType="center" - android:id="@+id/emojis_tab_2_nature" - android:src="@drawable/ic_emoji_nature_light"/> - <View - android:layout_width="1px" - android:layout_height="match_parent" - android:background="#888888"/> - <ImageButton - android:background="@null" - android:layout_width="0dip" - android:layout_height="match_parent" - android:layout_weight="1" - android:scaleType="center" - android:id="@+id/emojis_tab_3_objects" - android:src="@drawable/ic_emoji_objects_light"/> - <View - android:layout_width="1px" - android:layout_height="match_parent" - android:background="#888888"/> - <ImageButton - android:background="@null" - android:layout_width="0dip" - android:layout_height="match_parent" - android:layout_weight="1" - android:scaleType="center" - android:id="@+id/emojis_tab_4_cars" - android:src="@drawable/ic_emoji_places_light"/> - <View - android:layout_width="1px" - android:layout_height="match_parent" - android:background="#888888"/> - <ImageButton - android:background="@null" - android:layout_width="0dip" - android:layout_height="match_parent" - android:layout_weight="1" - android:scaleType="center" - android:id="@+id/emojis_tab_5_punctuation" - android:src="@drawable/ic_emoji_symbols_light"/> - <View - android:layout_width="1px" - android:layout_height="match_parent" - android:background="#888888"/> - <ImageButton - android:background="@null" - android:layout_width="0dip" - android:layout_height="match_parent" - android:layout_weight="1" - android:id="@+id/emojis_backspace" - android:src="@drawable/sym_keyboard_delete_holo_dark"/> - </LinearLayout> - <android.support.v4.view.ViewPager - android:layout_below="@id/emojis_tab" - android:id="@+id/emojis_pager" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:layout_alignParentBottom="true"/> + android:background="@drawable/keyboard_background_holo" + android:layout_width="match_parent" + android:layout_height="match_parent"> + + <LinearLayout + android:id="@+id/emojis_tab" + android:layout_width="match_parent" + android:layout_height="50dip" + android:layout_alignParentTop="true" + android:orientation="horizontal"> + + <ImageButton + android:background="@null" + android:layout_width="0dip" + android:layout_height="match_parent" + android:layout_weight="1" + android:scaleType="center" + android:id="@+id/emojis_tab_0_recents" + android:src="@drawable/ic_emoji_recent_light" /> + + <View + android:layout_width="1px" + android:layout_height="match_parent" + android:background="@color/horizontal_vertical" /> + + <ImageButton + android:background="@null" + android:layout_width="0dip" + android:layout_height="match_parent" + android:layout_weight="1" + android:scaleType="center" + android:id="@+id/emojis_tab_1_people" + android:src="@drawable/ic_emoji_people_light" /> + <View - android:layout_width="match_parent" - android:layout_height="1px" - android:layout_below="@id/emojis_tab" - android:background="#8f8f8f"/> + android:layout_width="1px" + android:layout_height="match_parent" + android:background="@color/horizontal_vertical" /> + + <ImageButton + android:background="@null" + android:layout_width="0dip" + android:layout_height="match_parent" + android:layout_weight="1" + android:scaleType="center" + android:id="@+id/emojis_tab_2_nature" + android:src="@drawable/ic_emoji_nature_light" /> + + <View + android:layout_width="1px" + android:layout_height="match_parent" + android:background="@color/horizontal_vertical" /> + + <ImageButton + android:background="@null" + android:layout_width="0dip" + android:layout_height="match_parent" + android:layout_weight="1" + android:scaleType="center" + android:id="@+id/emojis_tab_3_objects" + android:src="@drawable/ic_emoji_objects_light" /> + + <View + android:layout_width="1px" + android:layout_height="match_parent" + android:background="@color/horizontal_vertical" /> + + <ImageButton + android:background="@null" + android:layout_width="0dip" + android:layout_height="match_parent" + android:layout_weight="1" + android:scaleType="center" + android:id="@+id/emojis_tab_4_cars" + android:src="@drawable/ic_emoji_places_light" /> + + <View + android:layout_width="1px" + android:layout_height="match_parent" + android:background="@color/horizontal_vertical" /> + + <ImageButton + android:background="@null" + android:layout_width="0dip" + android:layout_height="match_parent" + android:layout_weight="1" + android:scaleType="center" + android:id="@+id/emojis_tab_5_punctuation" + android:src="@drawable/ic_emoji_symbols_light" /> + + <View + android:layout_width="1px" + android:layout_height="match_parent" + android:background="@color/horizontal_vertical" /> + + <ImageButton + android:background="@null" + android:layout_width="0dip" + android:layout_height="match_parent" + android:layout_weight="1" + android:id="@+id/emojis_backspace" + android:src="@drawable/sym_keyboard_delete_holo_dark" /> + </LinearLayout> + + <android.support.v4.view.ViewPager + android:layout_below="@id/emojis_tab" + android:id="@+id/emojis_pager" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_alignParentBottom="true" /> + + <View + android:layout_width="match_parent" + android:layout_height="1px" + android:layout_below="@id/emojis_tab" + android:background="@color/horizontal_divider" /> </RelativeLayout> diff --git a/libs/emojicon/src/main/res/values/attrs.xml b/libs/emojicon/src/main/res/values/attrs.xml index 9810158d..30e8aed5 100644 --- a/libs/emojicon/src/main/res/values/attrs.xml +++ b/libs/emojicon/src/main/res/values/attrs.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- - ~ Copyright 2014 Ankush Sachdeva + ~ Copyright 2014 Hieu Rocker ~ ~ Licensed under the Apache License, Version 2.0 (the "License"); ~ you may not use this file except in compliance with the License. @@ -13,27 +13,19 @@ ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ~ See the License for the specific language governing permissions and ~ limitations under the License. ---> + --> <resources> - <declare-styleable name="Emojicon"> - <attr name="emojiconSize" format="dimension" /> - <attr name="emojiconTextStart" format="integer" /> - <attr name="emojiconTextLength" format="integer" /> + <attr name="emojiconSize" format="dimension"/> + <attr name="emojiconAlignment" format="enum"> + <enum name="bottom" value="0"/> + <enum name="baseline" value="1"/> + </attr> + <attr name="emojiconTextStart" format="integer"/> + <attr name="emojiconTextLength" format="integer"/> + <attr name="emojiconUseSystemDefault" format="boolean"/> </declare-styleable> <dimen name="keyboard_height">250dp</dimen> - - <style name="emojiDialog" parent="@android:style/Theme.Dialog"> - <item name="android:layout_width">fill_parent</item> - <item name="android:layout_height">fill_parent</item> - - <!-- No backgrounds, titles or window float --> - <item name="android:windowFrame">@null</item> - <item name="android:windowBackground">@null</item> - <item name="android:windowNoTitle">true</item> - <item name="android:windowIsFloating">false</item> - </style> - -</resources>
\ No newline at end of file +</resources> diff --git a/libs/emojicon/src/main/res/values/colors.xml b/libs/emojicon/src/main/res/values/colors.xml new file mode 100644 index 00000000..39e5a477 --- /dev/null +++ b/libs/emojicon/src/main/res/values/colors.xml @@ -0,0 +1,20 @@ +<!-- + ~ Copyright 2014 Hieu Rocker + ~ + ~ Licensed under the Apache License, Version 2.0 (the "License"); + ~ you may not use this file except in compliance with the License. + ~ You may obtain a copy of the License at + ~ + ~ http://www.apache.org/licenses/LICENSE-2.0 + ~ + ~ Unless required by applicable law or agreed to in writing, software + ~ distributed under the License is distributed on an "AS IS" BASIS, + ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + ~ See the License for the specific language governing permissions and + ~ limitations under the License. + --> + +<resources> + <color name="horizontal_divider">#8f8f8f</color> + <color name="horizontal_vertical">#8f8f8f</color> +</resources> |