aboutsummaryrefslogtreecommitdiffstats
path: root/java/res/layout
diff options
context:
space:
mode:
authorYohei Yukawa <yukawa@google.com>2014-08-16 12:34:01 +0900
committerYohei Yukawa <yukawa@google.com>2014-08-16 12:34:01 +0900
commit1a1c5e0f605f275166467420cbce2290f468ab26 (patch)
treef7e0d8687a9dd7a613b84cbf5dbe0bbbdda2d765 /java/res/layout
parentb8d764772b174cbd37354ffd0009bda56f223dc4 (diff)
downloadlatinime-1a1c5e0f605f275166467420cbce2290f468ab26.tar.gz
latinime-1a1c5e0f605f275166467420cbce2290f468ab26.tar.xz
latinime-1a1c5e0f605f275166467420cbce2290f468ab26.zip
Use RelativeLayout for the backing view
RelativeLayout allows the IME to place its UI element at an arbitrary position on the backing view. Change-Id: Ib40d2111f56d8f38007e37c6c47536db3f0bef75
Diffstat (limited to 'java/res/layout')
-rw-r--r--java/res/layout/input_view.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/res/layout/input_view.xml b/java/res/layout/input_view.xml
index ff0b403d1..7bfda3ae2 100644
--- a/java/res/layout/input_view.xml
+++ b/java/res/layout/input_view.xml
@@ -25,7 +25,7 @@
android:gravity="bottom|center_horizontal"
android:orientation="vertical" >
<!-- The height of key_preview_backing view will automatically be determined by code. -->
- <View
+ <RelativeLayout
android:id="@+id/key_preview_backing"
android:layout_width="match_parent"
android:layout_height="0dp" />