diff options
author | 2014-05-29 23:24:08 +0900 | |
---|---|---|
committer | 2014-05-30 22:53:24 +0900 | |
commit | 3558505bee4c5254ee31cb0101b0a5d8d44a46cd (patch) | |
tree | 6efcb267cd12849182c89c028e93682d0cef51ea /java/res/layout | |
parent | ba8836a926a566a1c9f8a11c79dd0e06d0fb0485 (diff) | |
download | latinime-3558505bee4c5254ee31cb0101b0a5d8d44a46cd.tar.gz latinime-3558505bee4c5254ee31cb0101b0a5d8d44a46cd.tar.xz latinime-3558505bee4c5254ee31cb0101b0a5d8d44a46cd.zip |
Workaround to draw spacebar icon of emoji palettes
Bug: 15321822
Change-Id: Iab7cef83ffdf91c877c3ed2e59d412496b516e1c
Diffstat (limited to 'java/res/layout')
-rw-r--r-- | java/res/layout/emoji_palettes_view.xml | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/java/res/layout/emoji_palettes_view.xml b/java/res/layout/emoji_palettes_view.xml index e2933f96f..43d8edd44 100644 --- a/java/res/layout/emoji_palettes_view.xml +++ b/java/res/layout/emoji_palettes_view.xml @@ -63,6 +63,7 @@ android:layout_width="2dip" android:layout_height="match_parent" android:background="@drawable/suggestions_strip_divider" /> + <!-- TODO: Implement KeyView and replace this. --> <ImageButton android:id="@+id/emoji_keyboard_delete" android:layout_width="0dip" @@ -86,18 +87,30 @@ android:layout_height="0dip" android:layout_weight="1" > + <!-- TODO: Implement a KeyView and replace this. --> <TextView android:id="@+id/emoji_keyboard_alphabet_left" android:layout_width="0dip" android:layout_weight="0.15" android:gravity="center" android:layout_height="match_parent" /> - <ImageButton + <!-- TODO: Implement KeyView and replace this. --> + <RelativeLayout android:id="@+id/emoji_keyboard_space" android:layout_width="0dip" android:layout_weight="0.70" android:layout_height="match_parent" - android:contentDescription="@string/spoken_description_space"/> + android:contentDescription="@string/spoken_description_space"> + <!-- WORKAROUND: Show the spacebar icon as a bacground of this View. --> + <View + android:id="@+id/emoji_keyboard_space_icon" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_marginLeft="12dp" + android:layout_marginRight="12dp" + android:layout_centerInParent="true" /> + </RelativeLayout> + <!-- TODO: Implement KeyView and replace this. --> <TextView android:id="@+id/emoji_keyboard_alphabet_right" android:layout_width="0dip" |