aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorAmith Yamasani <yamasani@google.com>2010-06-25 16:25:41 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2010-06-25 16:25:41 -0700
commitc9e24b80ab80b808b72a3f65dcab4e271436f67b (patch)
tree0c6ef67418d8511a7681ec36dfd29ee08673b8ce /java
parent74f20f4054e098d878cce9bf24aecfa12a5a0736 (diff)
parent578096b6881270ccb4f28e30277dd148cda5dbef (diff)
downloadlatinime-c9e24b80ab80b808b72a3f65dcab4e271436f67b.tar.gz
latinime-c9e24b80ab80b808b72a3f65dcab4e271436f67b.tar.xz
latinime-c9e24b80ab80b808b72a3f65dcab4e271436f67b.zip
Merge "Quick adjustment to keyboard size on xlarge screens."
Diffstat (limited to 'java')
-rw-r--r--java/res/layout-xlarge/input.xml31
-rwxr-xr-xjava/res/layout-xlarge/input_trans.xml31
-rw-r--r--java/res/values-xlarge/dimens.xml25
3 files changed, 87 insertions, 0 deletions
diff --git a/java/res/layout-xlarge/input.xml b/java/res/layout-xlarge/input.xml
new file mode 100644
index 000000000..6b0bb12a6
--- /dev/null
+++ b/java/res/layout-xlarge/input.xml
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+/*
+**
+** Copyright 2010, The Android Open Source Project
+**
+** Licensed under the Apache License, Version 2.0 (the "License");
+** you may not use this file except in compliance with the License.
+** You may obtain a copy of the License at
+**
+** http://www.apache.org/licenses/LICENSE-2.0
+**
+** Unless required by applicable law or agreed to in writing, software
+** distributed under the License is distributed on an "AS IS" BASIS,
+** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+** See the License for the specific language governing permissions and
+** limitations under the License.
+*/
+-->
+
+<com.android.inputmethod.latin.LatinKeyboardView
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@android:id/keyboardView"
+ android:layout_alignParentBottom="true"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:background="@drawable/keyboard_background"
+ android:keyBackground="@drawable/btn_keyboard_key"
+ android:keyTextSize="32sp"
+ android:verticalCorrection="0dip"
+ />
diff --git a/java/res/layout-xlarge/input_trans.xml b/java/res/layout-xlarge/input_trans.xml
new file mode 100755
index 000000000..1dfdc1555
--- /dev/null
+++ b/java/res/layout-xlarge/input_trans.xml
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+/*
+**
+** Copyright 2010, The Android Open Source Project
+**
+** Licensed under the Apache License, Version 2.0 (the "License");
+** you may not use this file except in compliance with the License.
+** You may obtain a copy of the License at
+**
+** http://www.apache.org/licenses/LICENSE-2.0
+**
+** Unless required by applicable law or agreed to in writing, software
+** distributed under the License is distributed on an "AS IS" BASIS,
+** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+** See the License for the specific language governing permissions and
+** limitations under the License.
+*/
+-->
+
+<com.android.inputmethod.latin.LatinKeyboardView
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@android:id/keyboardView"
+ android:layout_alignParentBottom="true"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:background="@color/latinkeyboard_extension_background"
+ android:verticalCorrection="0dip"
+ android:keyTextSize="32sp"
+ android:keyBackground="@drawable/btn_keyboard_key_fulltrans"
+ />
diff --git a/java/res/values-xlarge/dimens.xml b/java/res/values-xlarge/dimens.xml
new file mode 100644
index 000000000..433176274
--- /dev/null
+++ b/java/res/values-xlarge/dimens.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+/*
+**
+** Copyright 2010, The Android Open Source Project
+**
+** Licensed under the Apache License, Version 2.0 (the "License");
+** you may not use this file except in compliance with the License.
+** You may obtain a copy of the License at
+**
+** http://www.apache.org/licenses/LICENSE-2.0
+**
+** Unless required by applicable law or agreed to in writing, software
+** distributed under the License is distributed on an "AS IS" BASIS,
+** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+** See the License for the specific language governing permissions and
+** limitations under the License.
+*/
+-->
+
+<resources>
+ <dimen name="key_height">72dip</dimen>
+ <dimen name="candidate_strip_height">46dip</dimen>
+ <dimen name="spacebar_vertical_correction">0dip</dimen>
+</resources>