aboutsummaryrefslogtreecommitdiffstats
path: root/java/res/layout
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2014-05-30 15:03:10 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-05-30 15:03:10 +0000
commit509d07c76446bc7d6db3067897834629ade92855 (patch)
tree5dce3aec12e6748825c21e14c613f721d6fc327b /java/res/layout
parentdc1d4455fef88e022e160f60fa07cfa86900d737 (diff)
parent61a8a66ccac1de7e146344dd77c8be84aa8daf33 (diff)
downloadlatinime-509d07c76446bc7d6db3067897834629ade92855.tar.gz
latinime-509d07c76446bc7d6db3067897834629ade92855.tar.xz
latinime-509d07c76446bc7d6db3067897834629ade92855.zip
am 61a8a66c: Merge "Workaround to draw spacebar icon of emoji palettes" into lmp-preview-dev
* commit '61a8a66ccac1de7e146344dd77c8be84aa8daf33': Workaround to draw spacebar icon of emoji palettes
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 68fd37261..06a937bff 100644
--- a/java/res/layout/emoji_palettes_view.xml
+++ b/java/res/layout/emoji_palettes_view.xml
@@ -61,6 +61,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"
@@ -83,18 +84,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"