aboutsummaryrefslogtreecommitdiffstats
path: root/java/res
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2013-08-09 04:53:48 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2013-08-09 04:53:48 -0700
commit3f75c04144e0ea7a24164fc91257b51a4f93a37b (patch)
treebe6ce019c01e94183b595d84ba6864b6861d1f94 /java/res
parent119258153e08a4b61e29ac71599419410a014507 (diff)
parentf76264dcf4942a0e2685a9f816f7581b3d9d76fb (diff)
downloadlatinime-3f75c04144e0ea7a24164fc91257b51a4f93a37b.tar.gz
latinime-3f75c04144e0ea7a24164fc91257b51a4f93a37b.tar.xz
latinime-3f75c04144e0ea7a24164fc91257b51a4f93a37b.zip
am f76264dc: Merge "Remove key preview backing view"
* commit 'f76264dcf4942a0e2685a9f816f7581b3d9d76fb': Remove key preview backing view
Diffstat (limited to 'java/res')
-rw-r--r--java/res/layout/input_view.xml12
1 files changed, 2 insertions, 10 deletions
diff --git a/java/res/layout/input_view.xml b/java/res/layout/input_view.xml
index 1ffb8a32a..78217b01a 100644
--- a/java/res/layout/input_view.xml
+++ b/java/res/layout/input_view.xml
@@ -23,13 +23,8 @@
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="wrap_content"
+ android:gravity="bottom|center_horizontal"
>
- <!-- 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="0dp" />
-
<!-- To ensure that key preview popup is correctly placed when the current system locale is
one of RTL locales, layoutDirection="ltr" is needed in the SDK version 17+. -->
<com.android.inputmethod.latin.suggestions.SuggestionStripView
@@ -37,17 +32,14 @@
android:layoutDirection="ltr"
android:layout_width="match_parent"
android:layout_height="@dimen/suggestions_strip_height"
- android:gravity="center_vertical"
android:paddingRight="@dimen/suggestions_strip_padding"
android:paddingLeft="@dimen/suggestions_strip_padding"
style="?attr/suggestionStripViewStyle" />
-
<!-- To ensure that key preview popup is correctly placed when the current system locale is
one of RTL locales, layoutDirection="ltr" is needed in the SDK version 17+. -->
<com.android.inputmethod.keyboard.MainKeyboardView
android:id="@+id/keyboard_view"
android:layoutDirection="ltr"
- android:layout_alignParentBottom="true"
- android:layout_width="match_parent"
+ android:layout_width="wrap_content"
android:layout_height="wrap_content" />
</com.android.inputmethod.latin.InputView>