Fix Greek tablet layout aligned with phone layout

Bug: 13406008
Change-Id: Iba5bd757c5874e426d5d4fcb8c404c21d259b833
main
Tadashi G. Takaoka 2014-03-11 12:48:35 +09:00
parent f247b171ce
commit 709acaa9e9
5 changed files with 18 additions and 75 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

@ -26,8 +26,6 @@
<Row
latin:keyWidth="9.0%p"
>
<include
latin:keyboardLayout="@xml/key_greek_semicolon" />
<include
latin:keyboardLayout="@xml/rowkeys_greek1" />
<Key

View File

@ -1,42 +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="1"
latin:moreKeys=";"
latin:additionalMoreKeys="1" />
</case>
<default>
<Key
latin:keySpec=";"
latin:keyHintLabel="1"
latin:moreKeys=":"
latin:additionalMoreKeys="1" />
</default>
</switch>
</merge>

View File

@ -21,6 +21,24 @@
<merge
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
>
<switch>
<case
latin:keyboardLayoutSetElement="alphabetManualShifted|alphabetShiftLockShifted"
>
<Key
latin:keySpec=":"
latin:keyHintLabel="1"
latin:moreKeys=";"
latin:additionalMoreKeys="1" />
</case>
<default>
<Key
latin:keySpec=";"
latin:keyHintLabel="1"
latin:moreKeys=":"
latin:additionalMoreKeys="1" />
</default>
</switch>
<!-- TODO: Should find a way to compound Greek dialytika tonos and other Greek letters. -->
<!--
<switch>

View File

@ -26,8 +26,6 @@
<Row
latin:keyWidth="10%p"
>
<include
latin:keyboardLayout="@xml/key_greek_semicolon" />
<include
latin:keyboardLayout="@xml/rowkeys_greek1" />
</Row>