diff options
author | 2014-09-16 03:05:46 +0000 | |
---|---|---|
committer | 2014-09-16 03:05:46 +0000 | |
commit | 23f38149c6d83e10f9b60fa1e6653f421df3f539 (patch) | |
tree | 4c3a15db5115b24d4fe80880ecd14742cb9c0136 /java/res | |
parent | dcfbbe1eb92f980968d543919ef536fc03ade5a0 (diff) | |
parent | 3939455c1dde7023c2f404b5702a23485defc942 (diff) | |
download | latinime-23f38149c6d83e10f9b60fa1e6653f421df3f539.tar.gz latinime-23f38149c6d83e10f9b60fa1e6653f421df3f539.tar.xz latinime-23f38149c6d83e10f9b60fa1e6653f421df3f539.zip |
Merge "Add a canSplitKeyboard attribute for specifying split keyboard layouts"
Diffstat (limited to 'java/res')
-rw-r--r-- | java/res/values/attrs.xml | 2 | ||||
-rw-r--r-- | java/res/xml/keyboard_layout_set_qwerty.xml | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/java/res/values/attrs.xml b/java/res/values/attrs.xml index f1253b40c..c5c632683 100644 --- a/java/res/values/attrs.xml +++ b/java/res/values/attrs.xml @@ -514,6 +514,8 @@ <attr name="elementKeyboard" format="reference"/> <!-- Enable proximity characters correction. Disabled by default. --> <attr name="enableProximityCharsCorrection" format="boolean" /> + <!-- Indicates if the keyboard layout supports being split or not. false by default --> + <attr name="supportsSplitLayout" format="boolean" /> </declare-styleable> <declare-styleable name="KeyboardLayoutSet_Feature"> diff --git a/java/res/xml/keyboard_layout_set_qwerty.xml b/java/res/xml/keyboard_layout_set_qwerty.xml index 821517081..1aa6f010a 100644 --- a/java/res/xml/keyboard_layout_set_qwerty.xml +++ b/java/res/xml/keyboard_layout_set_qwerty.xml @@ -23,7 +23,8 @@ <Element latin:elementName="alphabet" latin:elementKeyboard="@xml/kbd_qwerty" - latin:enableProximityCharsCorrection="true" /> + latin:enableProximityCharsCorrection="true" + latin:supportsSplitLayout="false" /> <Element latin:elementName="symbols" latin:elementKeyboard="@xml/kbd_symbols" /> |