From 2d3d415826fab9e8ebde0f752f4fb1508bb307da Mon Sep 17 00:00:00 2001 From: Satoshi Kataoka Date: Tue, 10 Sep 2013 17:55:44 +0900 Subject: [PATCH] Change space key height in Emoji keyboard view bug: 10538430 Change-Id: I724a8c92b49a64196c7da2af40f3d20758e0dbae --- java/res/layout/emoji_keyboard_view.xml | 12 ++- java/res/values/attrs.xml | 2 + java/res/values/themes-ics.xml | 2 +- .../keyboard/EmojiKeyboardView.java | 35 +++++---- .../keyboard/EmojiLayoutParams.java | 76 +++++++++++++++++++ 5 files changed, 109 insertions(+), 18 deletions(-) create mode 100644 java/src/com/android/inputmethod/keyboard/EmojiLayoutParams.java diff --git a/java/res/layout/emoji_keyboard_view.xml b/java/res/layout/emoji_keyboard_view.xml index ccbcfdc6f..5fee419d0 100644 --- a/java/res/layout/emoji_keyboard_view.xml +++ b/java/res/layout/emoji_keyboard_view.xml @@ -76,18 +76,24 @@ android:id="@+id/emoji_action_bar" android:orientation="horizontal" android:layout_width="match_parent" - android:layout_height="@dimen/suggestions_strip_height" + android:layout_height="0dip" + android:layout_weight="1" > + diff --git a/java/res/values/attrs.xml b/java/res/values/attrs.xml index 2a5334f95..09782143f 100644 --- a/java/res/values/attrs.xml +++ b/java/res/values/attrs.xml @@ -45,6 +45,8 @@ possible states: normal, pressed, checkable, checkable+pressed, checkable+checked, checkable+checked+pressed. --> + + diff --git a/java/res/values/themes-ics.xml b/java/res/values/themes-ics.xml index f3b6b1321..19fb4fd27 100644 --- a/java/res/values/themes-ics.xml +++ b/java/res/values/themes-ics.xml @@ -103,7 +103,7 @@ name="EmojiKeyboardView.ICS" parent="KeyboardView.ICS" > - @drawable/btn_keyboard_key_functional_ics + @drawable/btn_keyboard_key_functional_ics @color/emoji_tab_label_color_ics