aboutsummaryrefslogtreecommitdiffstats
path: root/java/res/layout
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2014-05-30 14:59:20 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-05-30 14:59:22 +0000
commit61a8a66ccac1de7e146344dd77c8be84aa8daf33 (patch)
treedc2e8800f53fed13c633e6fd7332e4a452480a13 /java/res/layout
parentee4cc67e260a1d2397abd83820f72906c1871751 (diff)
parent3558505bee4c5254ee31cb0101b0a5d8d44a46cd (diff)
downloadlatinime-61a8a66ccac1de7e146344dd77c8be84aa8daf33.tar.gz
latinime-61a8a66ccac1de7e146344dd77c8be84aa8daf33.tar.xz
latinime-61a8a66ccac1de7e146344dd77c8be84aa8daf33.zip
Merge "Workaround to draw spacebar icon of emoji palettes" into lmp-preview-dev
Diffstat (limited to 'java/res/layout')
-rw-r--r--java/res/layout/emoji_palettes_view.xml17
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"