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: Ib40d2111f56d8f38007e37c6c47536db3f0bef75main
parent
b8d764772b
commit
1a1c5e0f60
|
@ -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" />
|
||||||
|
|
Loading…
Reference in New Issue