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
main
Yohei Yukawa 2014-08-16 12:34:01 +09:00
parent b8d764772b
commit 1a1c5e0f60
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@
android:gravity="bottom|center_horizontal" android:gravity="bottom|center_horizontal"
android:orientation="vertical" > android:orientation="vertical" >
<!-- The height of key_preview_backing view will automatically be determined by code. --> <!-- The height of key_preview_backing view will automatically be determined by code. -->
<View <RelativeLayout
android:id="@+id/key_preview_backing" android:id="@+id/key_preview_backing"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="0dp" /> android:layout_height="0dp" />