Separate Hebrew row4 on tablet
Change-Id: Iea17aa7cae60e131d4b5bfeb78d287915fd04164
This commit is contained in:
parent
5f1d71fbc8
commit
4849634c70
6 changed files with 95 additions and 31 deletions
44
java/res/xml-sw600dp/row_hebrew4.xml
Normal file
44
java/res/xml-sw600dp/row_hebrew4.xml
Normal file
|
@ -0,0 +1,44 @@
|
|||
<?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"
|
||||
>
|
||||
<Row
|
||||
latin:keyWidth="8.9%p"
|
||||
>
|
||||
<Key
|
||||
latin:keyStyle="toSymbolKeyStyle"
|
||||
latin:keyWidth="13.0%p" />
|
||||
<Key
|
||||
latin:keyStyle="tabKeyStyle" />
|
||||
<include
|
||||
latin:keyboardLayout="@xml/key_f1" />
|
||||
<include
|
||||
latin:keyboardLayout="@xml/key_space" />
|
||||
<include
|
||||
latin:keyboardLayout="@xml/keys_comma_period" />
|
||||
<Spacer
|
||||
latin:keyXPos="-10.00%p"
|
||||
latin:keyWidth="0%p" />
|
||||
<include
|
||||
latin:keyboardLayout="@xml/key_shortcut" />
|
||||
</Row>
|
||||
</merge>
|
|
@ -33,21 +33,10 @@
|
|||
latin:keyboardLayout="@xml/key_f1" />
|
||||
<include
|
||||
latin:keyboardLayout="@xml/key_space" />
|
||||
<switch>
|
||||
<case
|
||||
latin:languageCode="iw"
|
||||
>
|
||||
<include
|
||||
latin:keyboardLayout="@xml/keys_comma_period" />
|
||||
</case>
|
||||
<!-- not languageCode="iw" -->
|
||||
<default>
|
||||
<include
|
||||
latin:keyboardLayout="@xml/key_apostrophe" />
|
||||
<include
|
||||
latin:keyboardLayout="@xml/key_dash" />
|
||||
</default>
|
||||
</switch>
|
||||
<include
|
||||
latin:keyboardLayout="@xml/key_apostrophe" />
|
||||
<include
|
||||
latin:keyboardLayout="@xml/key_dash" />
|
||||
<Spacer
|
||||
latin:keyXPos="-10.00%p"
|
||||
latin:keyWidth="0%p" />
|
||||
|
|
|
@ -58,5 +58,5 @@
|
|||
latin:keyWidth="fillRight" />
|
||||
</Row>
|
||||
<include
|
||||
latin:keyboardLayout="@xml/row_qwerty4" />
|
||||
latin:keyboardLayout="@xml/row_hebrew4" />
|
||||
</merge>
|
||||
|
|
41
java/res/xml-sw768dp/row_hebrew4.xml
Normal file
41
java/res/xml-sw768dp/row_hebrew4.xml
Normal file
|
@ -0,0 +1,41 @@
|
|||
<?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"
|
||||
>
|
||||
<Row
|
||||
latin:keyWidth="8.047%p"
|
||||
>
|
||||
<include
|
||||
latin:keyboardLayout="@xml/key_settings" />
|
||||
<Spacer
|
||||
latin:keyXPos="15.157%p"
|
||||
latin:keyWidth="0%p" />
|
||||
<include
|
||||
latin:keyboardLayout="@xml/keys_f1f2" />
|
||||
<include
|
||||
latin:keyboardLayout="@xml/key_space" />
|
||||
<include
|
||||
latin:keyboardLayout="@xml/keys_comma_period" />
|
||||
<include
|
||||
latin:keyboardLayout="@xml/key_shortcut" />
|
||||
</Row>
|
||||
</merge>
|
|
@ -33,20 +33,10 @@
|
|||
latin:keyboardLayout="@xml/keys_f1f2" />
|
||||
<include
|
||||
latin:keyboardLayout="@xml/key_space" />
|
||||
<switch>
|
||||
<case
|
||||
latin:languageCode="iw"
|
||||
>
|
||||
<include
|
||||
latin:keyboardLayout="@xml/keys_comma_period" />
|
||||
</case>
|
||||
<default>
|
||||
<include
|
||||
latin:keyboardLayout="@xml/key_apostrophe" />
|
||||
<include
|
||||
latin:keyboardLayout="@xml/key_dash" />
|
||||
</default>
|
||||
</switch>
|
||||
<include
|
||||
latin:keyboardLayout="@xml/key_apostrophe" />
|
||||
<include
|
||||
latin:keyboardLayout="@xml/key_dash" />
|
||||
<include
|
||||
latin:keyboardLayout="@xml/key_shortcut" />
|
||||
</Row>
|
||||
|
|
|
@ -61,5 +61,5 @@
|
|||
latin:keyXPos="13.829%p" />
|
||||
</Row>
|
||||
<include
|
||||
latin:keyboardLayout="@xml/row_qwerty4" />
|
||||
latin:keyboardLayout="@xml/row_hebrew4" />
|
||||
</merge>
|
||||
|
|
Loading…
Reference in a new issue