diff options
author | 2014-08-16 12:28:13 +0900 | |
---|---|---|
committer | 2014-08-16 12:28:13 +0900 | |
commit | 16a43d2bd9c5d80f8e50f5a7682b657ee10621e1 (patch) | |
tree | f819e431270a12e8d66506a82d8963db1bb6ffb7 /java/src/com/android/inputmethod/latin/LatinIME.java | |
parent | b8d764772b174cbd37354ffd0009bda56f223dc4 (diff) | |
download | latinime-16a43d2bd9c5d80f8e50f5a7682b657ee10621e1.tar.gz latinime-16a43d2bd9c5d80f8e50f5a7682b657ee10621e1.tar.xz latinime-16a43d2bd9c5d80f8e50f5a7682b657ee10621e1.zip |
Let the backing view cover the entire content area
With this CL, the backing view starts covering the content area
entirely. This allows the IME to render its UI elements at an
arbitrary position on the screen.
Change-Id: I8b4173410931b776964dddf66de2fe247e51d9de
Diffstat (limited to 'java/src/com/android/inputmethod/latin/LatinIME.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/LatinIME.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java index 71fd10e83..258f21f7c 100644 --- a/java/src/com/android/inputmethod/latin/LatinIME.java +++ b/java/src/com/android/inputmethod/latin/LatinIME.java @@ -1089,7 +1089,10 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen - keyboardHeight; final LayoutParams params = mKeyPreviewBackingView.getLayoutParams(); - params.height = mSuggestionStripView.setMoreSuggestionsHeight(remainingHeight); + mSuggestionStripView.setMoreSuggestionsHeight(remainingHeight); + + // Let the backing cover the remaining region entirely. + params.height = remainingHeight; mKeyPreviewBackingView.setLayoutParams(params); return params.height; } |