Fix Colemak layout

Bug: 13535305
Change-Id: I48c42d4cdc5e991873cbdd1eb8abe5428b850dcf
main
Tadashi G. Takaoka 2014-03-19 10:50:38 +09:00
parent b58b529c9a
commit 505d3247bb
5 changed files with 17 additions and 74 deletions

View File

@ -1,29 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
**
** Copyright 2012, 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.
*/
-->
<merge
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
>
<Key
latin:keySpec=":"
latin:keyHintLabel=";"
latin:moreKeys=";"
latin:keyStyle="hasShiftedLetterHintStyle" />
</merge>

View File

@ -28,8 +28,6 @@
> >
<include <include
latin:keyboardLayout="@xml/rowkeys_colemak1" /> latin:keyboardLayout="@xml/rowkeys_colemak1" />
<include
latin:keyboardLayout="@xml/key_colemak_colon" />
<Key <Key
latin:keyStyle="deleteKeyStyle" latin:keyStyle="deleteKeyStyle"
latin:keyWidth="fillRight" /> latin:keyWidth="fillRight" />

View File

@ -1,41 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
**
** Copyright 2012, 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.
*/
-->
<merge
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
>
<switch>
<case
latin:keyboardLayoutSetElement="alphabetManualShifted|alphabetShiftLockShifted"
>
<Key
latin:keySpec=";"
latin:keyHintLabel="0"
latin:additionalMoreKeys="0" />
</case>
<default>
<Key
latin:keySpec=":"
latin:keyHintLabel="0"
latin:additionalMoreKeys="0"
latin:moreKeys=";" />
</default>
</switch>
</merge>

View File

@ -63,4 +63,21 @@
latin:keyHintLabel="9" latin:keyHintLabel="9"
latin:additionalMoreKeys="9" latin:additionalMoreKeys="9"
latin:moreKeys="!text/more_keys_for_y" /> latin:moreKeys="!text/more_keys_for_y" />
<switch>
<case
latin:keyboardLayoutSetElement="alphabetManualShifted|alphabetShiftLockShifted"
>
<Key
latin:keySpec=":"
latin:keyHintLabel="0"
latin:additionalMoreKeys="0" />
</case>
<default>
<Key
latin:keySpec=";"
latin:keyHintLabel="0"
latin:additionalMoreKeys="0"
latin:moreKeys=":" />
</default>
</switch>
</merge> </merge>

View File

@ -28,8 +28,6 @@
> >
<include <include
latin:keyboardLayout="@xml/rowkeys_colemak1" /> latin:keyboardLayout="@xml/rowkeys_colemak1" />
<include
latin:keyboardLayout="@xml/key_colemak_colon" />
</Row> </Row>
<Row <Row
latin:keyWidth="10%p" latin:keyWidth="10%p"