diff options
author | 2012-03-07 15:30:16 +0900 | |
---|---|---|
committer | 2012-03-21 11:21:34 +0900 | |
commit | 710c69fc82c172f802d2e06276b61e7e077ae094 (patch) | |
tree | 2b59010b194162fea31efd335082ea46003fb635 /java/res/layout | |
parent | c85dde47e89f19aad3a29de08c11ae97f79be618 (diff) | |
download | latinime-710c69fc82c172f802d2e06276b61e7e077ae094.tar.gz latinime-710c69fc82c172f802d2e06276b61e7e077ae094.tar.xz latinime-710c69fc82c172f802d2e06276b61e7e077ae094.zip |
Dynamically determine key preview backing view height
Bug: 6023947
Change-Id: I53a5c0eb99100a0dfe3e025808f5dc55747d1287
Diffstat (limited to 'java/res/layout')
-rw-r--r-- | java/res/layout/input_view.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/java/res/layout/input_view.xml b/java/res/layout/input_view.xml index 2e0cddc28..198e4ca4a 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 |