From 9c31e8f863ae76e293baa38207ccddfa93edfb80 Mon Sep 17 00:00:00 2001 From: Sandeep Siddhartha Date: Tue, 9 Sep 2014 16:21:35 +0900 Subject: [PATCH] Initial split QWERTY layout Change [2/3] Add an attribute that's used in layout xmls for specifying the split-keyboard layout. This attribute will be checked/set by the KeyboardBuilder which knows about the "splittability" of the keyboard. Bug: 4968173 Change-Id: I5d792e570b9648e09022e9b7e92a972a161009ee --- java/res/values/attrs.xml | 2 + java/res/xml-sw600dp-land/key_space_3kw.xml | 69 ++++++++++ java/res/xml-sw600dp-land/row_qwerty4.xml | 74 +++++++++++ java/res/xml-sw600dp-land/rows_qwerty.xml | 133 +++++++++++++++++++ java/res/xml-sw600dp/key_space_3kw.xml | 67 ++++++++++ java/res/xml-sw600dp/row_qwerty4.xml | 69 +++++++--- java/res/xml-sw600dp/rows_qwerty.xml | 135 +++++++++++++++----- java/res/xml/rowkeys_qwerty1.xml | 55 +------- java/res/xml/rowkeys_qwerty1_left5.xml | 49 +++++++ java/res/xml/rowkeys_qwerty1_right5.xml | 48 +++++++ java/res/xml/rowkeys_qwerty2.xml | 32 +---- java/res/xml/rowkeys_qwerty2_left5.xml | 38 ++++++ java/res/xml/rowkeys_qwerty2_right4.xml | 36 ++++++ java/res/xml/rowkeys_qwerty3.xml | 25 +--- java/res/xml/rowkeys_qwerty3_left4.xml | 36 ++++++ java/res/xml/rowkeys_qwerty3_right3.xml | 31 +++++ 16 files changed, 756 insertions(+), 143 deletions(-) create mode 100644 java/res/xml-sw600dp-land/key_space_3kw.xml create mode 100644 java/res/xml-sw600dp-land/row_qwerty4.xml create mode 100644 java/res/xml-sw600dp-land/rows_qwerty.xml create mode 100644 java/res/xml-sw600dp/key_space_3kw.xml create mode 100644 java/res/xml/rowkeys_qwerty1_left5.xml create mode 100644 java/res/xml/rowkeys_qwerty1_right5.xml create mode 100644 java/res/xml/rowkeys_qwerty2_left5.xml create mode 100644 java/res/xml/rowkeys_qwerty2_right4.xml create mode 100644 java/res/xml/rowkeys_qwerty3_left4.xml create mode 100644 java/res/xml/rowkeys_qwerty3_right3.xml diff --git a/java/res/values/attrs.xml b/java/res/values/attrs.xml index c5c632683..8ee859bc7 100644 --- a/java/res/values/attrs.xml +++ b/java/res/values/attrs.xml @@ -483,6 +483,8 @@ + + diff --git a/java/res/xml-sw600dp-land/key_space_3kw.xml b/java/res/xml-sw600dp-land/key_space_3kw.xml new file mode 100644 index 000000000..47c4e4809 --- /dev/null +++ b/java/res/xml-sw600dp-land/key_space_3kw.xml @@ -0,0 +1,69 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/java/res/xml-sw600dp-land/row_qwerty4.xml b/java/res/xml-sw600dp-land/row_qwerty4.xml new file mode 100644 index 000000000..0fdb5c6f5 --- /dev/null +++ b/java/res/xml-sw600dp-land/row_qwerty4.xml @@ -0,0 +1,74 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/java/res/xml-sw600dp-land/rows_qwerty.xml b/java/res/xml-sw600dp-land/rows_qwerty.xml new file mode 100644 index 000000000..b580dcf6a --- /dev/null +++ b/java/res/xml-sw600dp-land/rows_qwerty.xml @@ -0,0 +1,133 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/java/res/xml-sw600dp/key_space_3kw.xml b/java/res/xml-sw600dp/key_space_3kw.xml new file mode 100644 index 000000000..9932d342e --- /dev/null +++ b/java/res/xml-sw600dp/key_space_3kw.xml @@ -0,0 +1,67 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/java/res/xml-sw600dp/row_qwerty4.xml b/java/res/xml-sw600dp/row_qwerty4.xml index ed7150de4..bcfd2cb7f 100644 --- a/java/res/xml-sw600dp/row_qwerty4.xml +++ b/java/res/xml-sw600dp/row_qwerty4.xml @@ -21,23 +21,54 @@ - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/java/res/xml-sw600dp/rows_qwerty.xml b/java/res/xml-sw600dp/rows_qwerty.xml index 58ba1d713..51df4b0cc 100644 --- a/java/res/xml-sw600dp/rows_qwerty.xml +++ b/java/res/xml-sw600dp/rows_qwerty.xml @@ -23,39 +23,114 @@ > - - - + + + + + + + + + + + + + + + + + - - - + + + + + + + + + + + + + + + + - - - - - + + + + + + + + + + + + + + + + + + + + + diff --git a/java/res/xml/rowkeys_qwerty1.xml b/java/res/xml/rowkeys_qwerty1.xml index 8f3b160fe..b8e4a4c78 100644 --- a/java/res/xml/rowkeys_qwerty1.xml +++ b/java/res/xml/rowkeys_qwerty1.xml @@ -21,53 +21,10 @@ - - - - - - - - - - + + + + diff --git a/java/res/xml/rowkeys_qwerty1_left5.xml b/java/res/xml/rowkeys_qwerty1_left5.xml new file mode 100644 index 000000000..ff9f1b2b5 --- /dev/null +++ b/java/res/xml/rowkeys_qwerty1_left5.xml @@ -0,0 +1,49 @@ + + + + + + + + + + diff --git a/java/res/xml/rowkeys_qwerty1_right5.xml b/java/res/xml/rowkeys_qwerty1_right5.xml new file mode 100644 index 000000000..2b3cae2e8 --- /dev/null +++ b/java/res/xml/rowkeys_qwerty1_right5.xml @@ -0,0 +1,48 @@ + + + + + + + + + + diff --git a/java/res/xml/rowkeys_qwerty2.xml b/java/res/xml/rowkeys_qwerty2.xml index 4077beaf6..550db3b3f 100644 --- a/java/res/xml/rowkeys_qwerty2.xml +++ b/java/res/xml/rowkeys_qwerty2.xml @@ -21,30 +21,10 @@ - - - - - - - - - + + + + diff --git a/java/res/xml/rowkeys_qwerty2_left5.xml b/java/res/xml/rowkeys_qwerty2_left5.xml new file mode 100644 index 000000000..1803bf203 --- /dev/null +++ b/java/res/xml/rowkeys_qwerty2_left5.xml @@ -0,0 +1,38 @@ + + + + + + + + + + diff --git a/java/res/xml/rowkeys_qwerty2_right4.xml b/java/res/xml/rowkeys_qwerty2_right4.xml new file mode 100644 index 000000000..99936b7a2 --- /dev/null +++ b/java/res/xml/rowkeys_qwerty2_right4.xml @@ -0,0 +1,36 @@ + + + + + + + + + diff --git a/java/res/xml/rowkeys_qwerty3.xml b/java/res/xml/rowkeys_qwerty3.xml index 8562003d2..7a523f1f6 100644 --- a/java/res/xml/rowkeys_qwerty3.xml +++ b/java/res/xml/rowkeys_qwerty3.xml @@ -21,23 +21,10 @@ - - - - - - - + + + + diff --git a/java/res/xml/rowkeys_qwerty3_left4.xml b/java/res/xml/rowkeys_qwerty3_left4.xml new file mode 100644 index 000000000..6043c3bba --- /dev/null +++ b/java/res/xml/rowkeys_qwerty3_left4.xml @@ -0,0 +1,36 @@ + + + + + + + + + diff --git a/java/res/xml/rowkeys_qwerty3_right3.xml b/java/res/xml/rowkeys_qwerty3_right3.xml new file mode 100644 index 000000000..f69910344 --- /dev/null +++ b/java/res/xml/rowkeys_qwerty3_right3.xml @@ -0,0 +1,31 @@ + + + + + + + +