aboutsummaryrefslogtreecommitdiffstats
path: root/java/res/layout/input_view.xml
diff options
context:
space:
mode:
authorAndy Wang <andywang@google.com>2014-12-02 13:01:11 +0900
committerAndy Wang <andywang@google.com>2014-12-05 16:21:20 +0900
commit8584db1461d286f8eb966c40eb0bc76e8c9df76a (patch)
tree702f83d695aa9d3e4e4ee319d66ad8453c08b022 /java/res/layout/input_view.xml
parentd21db3cf617ce3f3d05bfb7d555338994d3c8c3c (diff)
downloadlatinime-8584db1461d286f8eb966c40eb0bc76e8c9df76a.tar.gz
latinime-8584db1461d286f8eb966c40eb0bc76e8c9df76a.tar.xz
latinime-8584db1461d286f8eb966c40eb0bc76e8c9df76a.zip
Add keyboard margin options to place the keyboard dynamically.
Keyboard location and location can now be set in the debug options section. Change-Id: I87c5a1d679489e12dccf26632c399af28087629e
Diffstat (limited to 'java/res/layout/input_view.xml')
-rw-r--r--java/res/layout/input_view.xml20
1 files changed, 14 insertions, 6 deletions
diff --git a/java/res/layout/input_view.xml b/java/res/layout/input_view.xml
index ae3c19db5..98ef02b25 100644
--- a/java/res/layout/input_view.xml
+++ b/java/res/layout/input_view.xml
@@ -23,10 +23,18 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
style="?attr/inputViewStyle">
- <include
- android:id="@+id/main_keyboard_frame"
- layout="@layout/main_keyboard_frame" />
- <include
- android:id="@+id/emoji_palettes_view"
- layout="@layout/emoji_palettes_view" />
+ <LinearLayout
+ android:id="@+id/horizontal_keyboard_frame"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="bottom"
+ android:gravity="bottom"
+ android:orientation="horizontal">
+ <include
+ android:id="@+id/main_keyboard_frame"
+ layout="@layout/main_keyboard_frame" />
+ <include
+ android:id="@+id/emoji_palettes_view"
+ layout="@layout/emoji_palettes_view" />
+ </LinearLayout>
</com.android.inputmethod.latin.InputView>