aboutsummaryrefslogtreecommitdiffstats
path: root/java/res/layout/input_view.xml
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2012-03-07 15:30:16 +0900
committerTadashi G. Takaoka <takaoka@google.com>2012-03-07 20:33:17 +0900
commitc8b0e5797e20d3fa25d319a9709aabc9149f8ff9 (patch)
tree9f0beb5472241cec7df7bd8e9aeb71709127af18 /java/res/layout/input_view.xml
parent65fe7f7994af97233f0b8b53f63bc89825d4c058 (diff)
downloadlatinime-c8b0e5797e20d3fa25d319a9709aabc9149f8ff9.tar.gz
latinime-c8b0e5797e20d3fa25d319a9709aabc9149f8ff9.tar.xz
latinime-c8b0e5797e20d3fa25d319a9709aabc9149f8ff9.zip
Dynamically determine key preview backing view height
Bug: 6023947 Change-Id: I53a5c0eb99100a0dfe3e025808f5dc55747d1287
Diffstat (limited to 'java/res/layout/input_view.xml')
-rw-r--r--java/res/layout/input_view.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/java/res/layout/input_view.xml b/java/res/layout/input_view.xml
index b9451f8ae..0a8d71f30 100644
--- a/java/res/layout/input_view.xml
+++ b/java/res/layout/input_view.xml
@@ -20,15 +20,15 @@
<com.android.inputmethod.latin.InputView
xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="wrap_content"
>
+ <!-- The height of key_preview_backing view will automatically be determined by code. -->
<View
android:id="@+id/key_preview_backing"
android:layout_width="match_parent"
- android:layout_height="@dimen/key_preview_backing_height" />
+ android:layout_height="0dip" />
<!-- On tablets, the suggestions strip is centered with horizontal paddings on both sides
because width of the landscape mode is too long for the suggestions strip. This