am 08323cd5: Add _gb to Gingerbread resources
* commit '08323cd597cd2c85eaf1ade9c98ee5fe9d8ecea2': Add _gb to Gingerbread resourcesmain
Before Width: | Height: | Size: 207 B |
Before Width: | Height: | Size: 210 B After Width: | Height: | Size: 210 B |
Before Width: | Height: | Size: 227 B After Width: | Height: | Size: 227 B |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 248 B After Width: | Height: | Size: 248 B |
Before Width: | Height: | Size: 557 B After Width: | Height: | Size: 557 B |
Before Width: | Height: | Size: 214 B |
Before Width: | Height: | Size: 196 B After Width: | Height: | Size: 196 B |
Before Width: | Height: | Size: 204 B After Width: | Height: | Size: 204 B |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 205 B After Width: | Height: | Size: 205 B |
Before Width: | Height: | Size: 365 B After Width: | Height: | Size: 365 B |
Before Width: | Height: | Size: 222 B |
Before Width: | Height: | Size: 241 B After Width: | Height: | Size: 241 B |
Before Width: | Height: | Size: 267 B After Width: | Height: | Size: 267 B |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 289 B After Width: | Height: | Size: 289 B |
Before Width: | Height: | Size: 617 B After Width: | Height: | Size: 617 B |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
|
@ -33,4 +33,4 @@
|
||||||
android:clickable="false"
|
android:clickable="false"
|
||||||
android:singleLine="true"
|
android:singleLine="true"
|
||||||
android:ellipsize="none"
|
android:ellipsize="none"
|
||||||
style="?attr/suggestionBackgroundStyle" />
|
android:background="?attr/suggestionBackground" />
|
||||||
|
|
|
@ -34,6 +34,7 @@
|
||||||
android:layout_height="@dimen/suggestions_strip_height"
|
android:layout_height="@dimen/suggestions_strip_height"
|
||||||
android:paddingRight="@dimen/suggestions_strip_padding"
|
android:paddingRight="@dimen/suggestions_strip_padding"
|
||||||
android:paddingLeft="@dimen/suggestions_strip_padding"
|
android:paddingLeft="@dimen/suggestions_strip_padding"
|
||||||
|
android:background="?attr/suggestionStripBackground"
|
||||||
style="?attr/suggestionStripViewStyle" />
|
style="?attr/suggestionStripViewStyle" />
|
||||||
<!-- To ensure that key preview popup is correctly placed when the current system locale is
|
<!-- To ensure that key preview popup is correctly placed when the current system locale is
|
||||||
one of RTL locales, layoutDirection="ltr" is needed in the SDK version 17+. -->
|
one of RTL locales, layoutDirection="ltr" is needed in the SDK version 17+. -->
|
||||||
|
|
|
@ -17,17 +17,17 @@
|
||||||
** limitations under the License.
|
** limitations under the License.
|
||||||
*/
|
*/
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
style="?attr/moreKeysKeyboardPanelStyle"
|
android:background="?attr/moreKeysKeyboardBackground"
|
||||||
>
|
>
|
||||||
<com.android.inputmethod.keyboard.MoreKeysKeyboardView
|
<com.android.inputmethod.keyboard.MoreKeysKeyboardView
|
||||||
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
||||||
android:id="@+id/more_keys_keyboard_view"
|
android:id="@+id/more_keys_keyboard_view"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content" />
|
||||||
/>
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
|
@ -17,13 +17,14 @@
|
||||||
** limitations under the License.
|
** limitations under the License.
|
||||||
*/
|
*/
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
style="?attr/moreKeysKeyboardPanelStyle"
|
android:background="?attr/moreKeysKeyboardBackground"
|
||||||
>
|
>
|
||||||
<com.android.inputmethod.latin.suggestions.MoreSuggestionsView
|
<com.android.inputmethod.latin.suggestions.MoreSuggestionsView
|
||||||
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
||||||
android:id="@+id/more_suggestions_view"
|
android:id="@+id/more_suggestions_view"
|
||||||
|
@ -32,6 +33,5 @@
|
||||||
latin:keyLetterSize="@dimen/suggestion_text_size"
|
latin:keyLetterSize="@dimen/suggestion_text_size"
|
||||||
latin:keyLabelSize="@dimen/suggestion_text_size"
|
latin:keyLabelSize="@dimen/suggestion_text_size"
|
||||||
latin:keyHintLetterRatio="@fraction/more_suggestions_info_ratio"
|
latin:keyHintLetterRatio="@fraction/more_suggestions_info_ratio"
|
||||||
latin:keyHintLetterColor="@android:color/white"
|
latin:keyHintLetterColor="@android:color/white" />
|
||||||
/>
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
|
@ -24,4 +24,4 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="6dp"
|
android:textSize="6dp"
|
||||||
android:textColor="@android:color/white"
|
android:textColor="@android:color/white"
|
||||||
style="?attr/suggestionBackgroundStyle" />
|
android:background="?attr/suggestionBackground" />
|
||||||
|
|
|
@ -36,4 +36,4 @@
|
||||||
android:clickable="false"
|
android:clickable="false"
|
||||||
android:singleLine="true"
|
android:singleLine="true"
|
||||||
android:ellipsize="none"
|
android:ellipsize="none"
|
||||||
style="?attr/suggestionBackgroundStyle" />
|
android:background="?attr/suggestionBackground" />
|
||||||
|
|
|
@ -26,11 +26,8 @@
|
||||||
<!-- key_height + key_bottom_gap = popup_key_height -->
|
<!-- key_height + key_bottom_gap = popup_key_height -->
|
||||||
<dimen name="popup_key_height">44.8dp</dimen>
|
<dimen name="popup_key_height">44.8dp</dimen>
|
||||||
|
|
||||||
<fraction name="keyboard_top_padding">1.818%p</fraction>
|
<fraction name="keyboard_top_padding_gb">1.818%p</fraction>
|
||||||
<fraction name="keyboard_bottom_padding">0.0%p</fraction>
|
<fraction name="keyboard_bottom_padding_gb">0.0%p</fraction>
|
||||||
<fraction name="key_bottom_gap">4.330%p</fraction>
|
|
||||||
<fraction name="key_horizontal_gap">0.405%p</fraction>
|
|
||||||
|
|
||||||
<fraction name="key_bottom_gap_gb">5.941%p</fraction>
|
<fraction name="key_bottom_gap_gb">5.941%p</fraction>
|
||||||
<fraction name="key_horizontal_gap_gb">0.997%p</fraction>
|
<fraction name="key_horizontal_gap_gb">0.997%p</fraction>
|
||||||
|
|
||||||
|
@ -50,7 +47,7 @@
|
||||||
<fraction name="key_uppercase_letter_ratio">40%</fraction>
|
<fraction name="key_uppercase_letter_ratio">40%</fraction>
|
||||||
<fraction name="key_preview_text_ratio">90%</fraction>
|
<fraction name="key_preview_text_ratio">90%</fraction>
|
||||||
<fraction name="spacebar_text_ratio">40.000%</fraction>
|
<fraction name="spacebar_text_ratio">40.000%</fraction>
|
||||||
<dimen name="key_preview_offset">0.0dp</dimen>
|
<dimen name="key_preview_offset_gb">0.0dp</dimen>
|
||||||
|
|
||||||
<!-- For 5-row keyboard -->
|
<!-- For 5-row keyboard -->
|
||||||
<fraction name="key_bottom_gap_5row">3.20%p</fraction>
|
<fraction name="key_bottom_gap_5row">3.20%p</fraction>
|
||||||
|
@ -69,7 +66,7 @@
|
||||||
<!-- popup_key_height x 1.2 -->
|
<!-- popup_key_height x 1.2 -->
|
||||||
<dimen name="more_keys_keyboard_slide_allowance">53.76dp</dimen>
|
<dimen name="more_keys_keyboard_slide_allowance">53.76dp</dimen>
|
||||||
<!-- popup_key_height x -1.0 -->
|
<!-- popup_key_height x -1.0 -->
|
||||||
<dimen name="more_keys_keyboard_vertical_correction">-44.8dp</dimen>
|
<dimen name="more_keys_keyboard_vertical_correction_gb">-44.8dp</dimen>
|
||||||
|
|
||||||
<!-- Gesture floating preview text parameters -->
|
<!-- Gesture floating preview text parameters -->
|
||||||
<dimen name="gesture_floating_preview_text_size">23dp</dimen>
|
<dimen name="gesture_floating_preview_text_size">23dp</dimen>
|
||||||
|
|
|
@ -24,17 +24,15 @@
|
||||||
<dimen name="keyboardHeight">283.5dp</dimen>
|
<dimen name="keyboardHeight">283.5dp</dimen>
|
||||||
<fraction name="minKeyboardHeight">45%p</fraction>
|
<fraction name="minKeyboardHeight">45%p</fraction>
|
||||||
|
|
||||||
<fraction name="keyboard_top_padding">2.444%p</fraction>
|
<fraction name="keyboard_top_padding_gb">2.444%p</fraction>
|
||||||
<fraction name="keyboard_bottom_padding">0.0%p</fraction>
|
<fraction name="keyboard_bottom_padding_gb">0.0%p</fraction>
|
||||||
<fraction name="key_bottom_gap">4.911%p</fraction>
|
|
||||||
<fraction name="key_horizontal_gap">1.284%p</fraction>
|
|
||||||
|
|
||||||
<fraction name="key_bottom_gap_gb">5.200%p</fraction>
|
<fraction name="key_bottom_gap_gb">5.200%p</fraction>
|
||||||
<fraction name="key_horizontal_gap_gb">1.447%p</fraction>
|
<fraction name="key_horizontal_gap_gb">1.447%p</fraction>
|
||||||
|
|
||||||
|
<fraction name="keyboard_top_padding_ics">2.727%p</fraction>
|
||||||
|
<fraction name="keyboard_bottom_padding_ics">0.0%p</fraction>
|
||||||
<fraction name="key_bottom_gap_ics">4.5%p</fraction>
|
<fraction name="key_bottom_gap_ics">4.5%p</fraction>
|
||||||
<fraction name="key_horizontal_gap_ics">0.9%p</fraction>
|
<fraction name="key_horizontal_gap_ics">0.9%p</fraction>
|
||||||
<fraction name="keyboard_bottom_padding_ics">0.0%p</fraction>
|
|
||||||
|
|
||||||
<dimen name="popup_key_height">81.9dp</dimen>
|
<dimen name="popup_key_height">81.9dp</dimen>
|
||||||
|
|
||||||
|
|
|
@ -27,24 +27,22 @@
|
||||||
|
|
||||||
<dimen name="popup_key_height">63.0dp</dimen>
|
<dimen name="popup_key_height">63.0dp</dimen>
|
||||||
|
|
||||||
<fraction name="keyboard_top_padding">2.291%p</fraction>
|
<fraction name="keyboard_top_padding_gb">2.291%p</fraction>
|
||||||
<fraction name="keyboard_bottom_padding">0.0%p</fraction>
|
<fraction name="keyboard_bottom_padding_gb">0.0%p</fraction>
|
||||||
<fraction name="key_bottom_gap">3.750%p</fraction>
|
|
||||||
<fraction name="key_horizontal_gap">1.857%p</fraction>
|
|
||||||
|
|
||||||
<fraction name="key_bottom_gap_gb">4.625%p</fraction>
|
<fraction name="key_bottom_gap_gb">4.625%p</fraction>
|
||||||
<fraction name="key_horizontal_gap_gb">2.113%p</fraction>
|
<fraction name="key_horizontal_gap_gb">2.113%p</fraction>
|
||||||
|
|
||||||
|
<fraction name="keyboard_top_padding_ics">2.335%p</fraction>
|
||||||
|
<fraction name="keyboard_bottom_padding_ics">4.0%p</fraction>
|
||||||
<fraction name="key_bottom_gap_ics">4.5%p</fraction>
|
<fraction name="key_bottom_gap_ics">4.5%p</fraction>
|
||||||
<fraction name="key_horizontal_gap_ics">1.565%p</fraction>
|
<fraction name="key_horizontal_gap_ics">1.565%p</fraction>
|
||||||
<fraction name="keyboard_bottom_padding_ics">4.0%p</fraction>
|
|
||||||
|
|
||||||
<dimen name="more_keys_keyboard_key_horizontal_padding">6dp</dimen>
|
<dimen name="more_keys_keyboard_key_horizontal_padding">6dp</dimen>
|
||||||
<!-- Amount of allowance for selecting keys in a mini popup keyboard by sliding finger. -->
|
<!-- Amount of allowance for selecting keys in a mini popup keyboard by sliding finger. -->
|
||||||
<!-- popup_key_height x 1.2 -->
|
<!-- popup_key_height x 1.2 -->
|
||||||
<dimen name="more_keys_keyboard_slide_allowance">98.3dp</dimen>
|
<dimen name="more_keys_keyboard_slide_allowance">98.3dp</dimen>
|
||||||
<!-- popup_key_height x -1.0 -->
|
<!-- popup_key_height x -1.0 -->
|
||||||
<dimen name="more_keys_keyboard_vertical_correction">-81.9dp</dimen>
|
<dimen name="more_keys_keyboard_vertical_correction_gb">-81.9dp</dimen>
|
||||||
|
|
||||||
<!-- left or right padding of label alignment -->
|
<!-- left or right padding of label alignment -->
|
||||||
<dimen name="key_label_horizontal_padding">6dp</dimen>
|
<dimen name="key_label_horizontal_padding">6dp</dimen>
|
||||||
|
@ -61,7 +59,7 @@
|
||||||
<fraction name="key_preview_text_ratio">50%</fraction>
|
<fraction name="key_preview_text_ratio">50%</fraction>
|
||||||
<fraction name="spacebar_text_ratio">28.0%</fraction>
|
<fraction name="spacebar_text_ratio">28.0%</fraction>
|
||||||
<dimen name="key_preview_height">94.5dp</dimen>
|
<dimen name="key_preview_height">94.5dp</dimen>
|
||||||
<dimen name="key_preview_offset">16.0dp</dimen>
|
<dimen name="key_preview_offset_gb">16.0dp</dimen>
|
||||||
|
|
||||||
<!-- For 5-row keyboard -->
|
<!-- For 5-row keyboard -->
|
||||||
<fraction name="key_bottom_gap_5row">3.20%p</fraction>
|
<fraction name="key_bottom_gap_5row">3.20%p</fraction>
|
||||||
|
|
|
@ -24,12 +24,8 @@
|
||||||
<dimen name="keyboardHeight">365.4dp</dimen>
|
<dimen name="keyboardHeight">365.4dp</dimen>
|
||||||
<fraction name="minKeyboardHeight">45%p</fraction>
|
<fraction name="minKeyboardHeight">45%p</fraction>
|
||||||
|
|
||||||
<fraction name="keyboard_top_padding">1.896%p</fraction>
|
<fraction name="keyboard_top_padding_gb">1.896%p</fraction>
|
||||||
<fraction name="keyboard_bottom_padding">0.0%p</fraction>
|
<fraction name="keyboard_bottom_padding_gb">0.0%p</fraction>
|
||||||
|
|
||||||
<fraction name="key_bottom_gap">4.103%p</fraction>
|
|
||||||
<fraction name="key_horizontal_gap">1.034%p</fraction>
|
|
||||||
|
|
||||||
<fraction name="key_bottom_gap_gb">3.896%p</fraction>
|
<fraction name="key_bottom_gap_gb">3.896%p</fraction>
|
||||||
<fraction name="key_horizontal_gap_gb">1.195%p</fraction>
|
<fraction name="key_horizontal_gap_gb">1.195%p</fraction>
|
||||||
|
|
||||||
|
|
|
@ -25,15 +25,12 @@
|
||||||
<fraction name="maxKeyboardHeight">46%p</fraction>
|
<fraction name="maxKeyboardHeight">46%p</fraction>
|
||||||
<fraction name="minKeyboardHeight">-35.0%p</fraction>
|
<fraction name="minKeyboardHeight">-35.0%p</fraction>
|
||||||
|
|
||||||
<fraction name="keyboard_top_padding">2.291%p</fraction>
|
<fraction name="keyboard_top_padding_gb">2.291%p</fraction>
|
||||||
<fraction name="keyboard_bottom_padding">0.0%p</fraction>
|
<fraction name="keyboard_bottom_padding_gb">0.0%p</fraction>
|
||||||
|
|
||||||
<fraction name="key_bottom_gap">4.270%p</fraction>
|
|
||||||
<fraction name="key_horizontal_gap">1.551%p</fraction>
|
|
||||||
|
|
||||||
<fraction name="key_bottom_gap_gb">4.687%p</fraction>
|
<fraction name="key_bottom_gap_gb">4.687%p</fraction>
|
||||||
<fraction name="key_horizontal_gap_gb">1.272%p</fraction>
|
<fraction name="key_horizontal_gap_gb">1.272%p</fraction>
|
||||||
|
|
||||||
|
<fraction name="keyboard_top_padding_ics">2.335%p</fraction>
|
||||||
<fraction name="keyboard_bottom_padding_ics">0.0%p</fraction>
|
<fraction name="keyboard_bottom_padding_ics">0.0%p</fraction>
|
||||||
<fraction name="key_bottom_gap_ics">3.312%p</fraction>
|
<fraction name="key_bottom_gap_ics">3.312%p</fraction>
|
||||||
<fraction name="key_horizontal_gap_ics">1.066%p</fraction>
|
<fraction name="key_horizontal_gap_ics">1.066%p</fraction>
|
||||||
|
@ -45,7 +42,7 @@
|
||||||
<!-- popup_key_height x 1.2 -->
|
<!-- popup_key_height x 1.2 -->
|
||||||
<dimen name="more_keys_keyboard_slide_allowance">98.3dp</dimen>
|
<dimen name="more_keys_keyboard_slide_allowance">98.3dp</dimen>
|
||||||
<!-- popup_key_height x -1.0 -->
|
<!-- popup_key_height x -1.0 -->
|
||||||
<dimen name="more_keys_keyboard_vertical_correction">-81.9dp</dimen>
|
<dimen name="more_keys_keyboard_vertical_correction_gb">-81.9dp</dimen>
|
||||||
|
|
||||||
<!-- left or right padding of label alignment -->
|
<!-- left or right padding of label alignment -->
|
||||||
<dimen name="key_label_horizontal_padding">6dp</dimen>
|
<dimen name="key_label_horizontal_padding">6dp</dimen>
|
||||||
|
@ -62,7 +59,7 @@
|
||||||
<fraction name="key_preview_text_ratio">50%</fraction>
|
<fraction name="key_preview_text_ratio">50%</fraction>
|
||||||
<fraction name="spacebar_text_ratio">29.03%</fraction>
|
<fraction name="spacebar_text_ratio">29.03%</fraction>
|
||||||
<dimen name="key_preview_height">94.5dp</dimen>
|
<dimen name="key_preview_height">94.5dp</dimen>
|
||||||
<dimen name="key_preview_offset">16.0dp</dimen>
|
<dimen name="key_preview_offset_gb">16.0dp</dimen>
|
||||||
|
|
||||||
<!-- For 5-row keyboard -->
|
<!-- For 5-row keyboard -->
|
||||||
<fraction name="key_bottom_gap_5row">2.95%p</fraction>
|
<fraction name="key_bottom_gap_5row">2.95%p</fraction>
|
||||||
|
|
|
@ -26,11 +26,12 @@
|
||||||
<attr name="moreKeysKeyboardStyle" format="reference" />
|
<attr name="moreKeysKeyboardStyle" format="reference" />
|
||||||
<!-- MoreKeysKeyboardView style -->
|
<!-- MoreKeysKeyboardView style -->
|
||||||
<attr name="moreKeysKeyboardViewStyle" format="reference" />
|
<attr name="moreKeysKeyboardViewStyle" format="reference" />
|
||||||
<attr name="moreKeysKeyboardPanelStyle" format="reference" />
|
|
||||||
<!-- Suggestions strip style -->
|
<!-- Suggestions strip style -->
|
||||||
<attr name="suggestionStripViewStyle" format="reference" />
|
<attr name="suggestionStripViewStyle" format="reference" />
|
||||||
<attr name="moreSuggestionsViewStyle" format="reference" />
|
<!-- Styled attributes for android:background -->
|
||||||
<attr name="suggestionBackgroundStyle" format="reference" />
|
<attr name="moreKeysKeyboardBackground" format="reference" />
|
||||||
|
<attr name="suggestionStripBackground" format="reference" />
|
||||||
|
<attr name="suggestionBackground" format="reference" />
|
||||||
</declare-styleable>
|
</declare-styleable>
|
||||||
|
|
||||||
<declare-styleable name="KeyboardView">
|
<declare-styleable name="KeyboardView">
|
||||||
|
|
|
@ -15,20 +15,20 @@
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<resources xmlns:android="http://schemas.android.com/apk/res/android">
|
<resources xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
<!-- Color resources for default, and Gingerbread theme. -->
|
<!-- Color resources for Gingerbread theme. -->
|
||||||
<color name="highlight_color_default">#FFFCAE00</color>
|
<color name="highlight_color_gb">#FFFCAE00</color>
|
||||||
<color name="highlight_translucent_color_default">#99FCAE00</color>
|
<color name="typed_word_color_gb">@android:color/white</color>
|
||||||
<color name="key_text_color_default">@android:color/white</color>
|
<color name="highlight_translucent_color_gb">#99FCAE00</color>
|
||||||
<color name="key_text_shadow_color_default">#BB000000</color>
|
<color name="key_text_color_gb">@android:color/white</color>
|
||||||
<color name="key_text_inactivated_color_default">#66E0E4E5</color>
|
<color name="key_text_shadow_color_gb">#BB000000</color>
|
||||||
<color name="key_hint_letter_color_default">#80000000</color>
|
<color name="key_text_inactivated_color_gb">#66E0E4E5</color>
|
||||||
<color name="key_hint_label_color_default">#E0E0E4E5</color>
|
<color name="key_hint_letter_color_gb">#80000000</color>
|
||||||
<color name="key_shifted_letter_hint_inactivated_color_default">#66E0E4E5</color>
|
<color name="key_hint_label_color_gb">#E0E0E4E5</color>
|
||||||
<color name="key_shifted_letter_hint_activated_color_default">#CCE0E4E5</color>
|
<color name="key_shifted_letter_hint_inactivated_color_gb">#66E0E4E5</color>
|
||||||
<color name="spacebar_text_color_default">#FFC0C0C0</color>
|
<color name="key_shifted_letter_hint_activated_color_gb">#CCE0E4E5</color>
|
||||||
<color name="spacebar_text_shadow_color_default">#80000000</color>
|
<color name="spacebar_text_color_gb">#FFC0C0C0</color>
|
||||||
<color name="typed_word_color_default">@android:color/white</color>
|
<color name="spacebar_text_shadow_color_gb">#80000000</color>
|
||||||
<color name="gesture_floating_preview_color_default">#C0000000</color>
|
<color name="gesture_floating_preview_color_gb">#C0000000</color>
|
||||||
<!-- Color resources for IceCreamSandwich theme. -->
|
<!-- Color resources for IceCreamSandwich theme. -->
|
||||||
<!-- android:color/holo_blue_light value is #FF33B5E5 -->
|
<!-- android:color/holo_blue_light value is #FF33B5E5 -->
|
||||||
<color name="highlight_color_ics">#FF33B5E5</color>
|
<color name="highlight_color_ics">#FF33B5E5</color>
|
||||||
|
@ -44,6 +44,7 @@
|
||||||
<color name="key_shifted_letter_hint_activated_color_ics">@android:color/white</color>
|
<color name="key_shifted_letter_hint_activated_color_ics">@android:color/white</color>
|
||||||
<color name="spacebar_text_color_ics">#FFC0C0C0</color>
|
<color name="spacebar_text_color_ics">#FFC0C0C0</color>
|
||||||
<color name="spacebar_text_shadow_color_ics">#80000000</color>
|
<color name="spacebar_text_shadow_color_ics">#80000000</color>
|
||||||
|
<color name="gesture_floating_preview_color_ics">#C0000000</color>
|
||||||
<!-- Color resources for setup wizard and tutorial -->
|
<!-- Color resources for setup wizard and tutorial -->
|
||||||
<color name="setup_background">#FFEBEBEB</color>
|
<color name="setup_background">#FFEBEBEB</color>
|
||||||
<color name="setup_text_dark">#FF707070</color>
|
<color name="setup_text_dark">#FF707070</color>
|
||||||
|
|
|
@ -29,13 +29,11 @@
|
||||||
|
|
||||||
<dimen name="more_keys_keyboard_key_horizontal_padding">8dp</dimen>
|
<dimen name="more_keys_keyboard_key_horizontal_padding">8dp</dimen>
|
||||||
|
|
||||||
<fraction name="keyboard_top_padding">1.556%p</fraction>
|
|
||||||
<fraction name="keyboard_bottom_padding">4.669%p</fraction>
|
|
||||||
<fraction name="keyboard_left_padding">0%p</fraction>
|
<fraction name="keyboard_left_padding">0%p</fraction>
|
||||||
<fraction name="keyboard_right_padding">0%p</fraction>
|
<fraction name="keyboard_right_padding">0%p</fraction>
|
||||||
<fraction name="key_bottom_gap">6.250%p</fraction>
|
|
||||||
<fraction name="key_horizontal_gap">1.352%p</fraction>
|
|
||||||
|
|
||||||
|
<fraction name="keyboard_top_padding_gb">1.556%p</fraction>
|
||||||
|
<fraction name="keyboard_bottom_padding_gb">4.669%p</fraction>
|
||||||
<fraction name="key_bottom_gap_gb">6.495%p</fraction>
|
<fraction name="key_bottom_gap_gb">6.495%p</fraction>
|
||||||
<fraction name="key_horizontal_gap_gb">1.971%p</fraction>
|
<fraction name="key_horizontal_gap_gb">1.971%p</fraction>
|
||||||
|
|
||||||
|
@ -43,13 +41,12 @@
|
||||||
<fraction name="keyboard_bottom_padding_ics">4.669%p</fraction>
|
<fraction name="keyboard_bottom_padding_ics">4.669%p</fraction>
|
||||||
<fraction name="key_bottom_gap_ics">6.127%p</fraction>
|
<fraction name="key_bottom_gap_ics">6.127%p</fraction>
|
||||||
<fraction name="key_horizontal_gap_ics">1.739%p</fraction>
|
<fraction name="key_horizontal_gap_ics">1.739%p</fraction>
|
||||||
<dimen name="more_keys_keyboard_horizontal_edges_padding_ics">4dp</dimen>
|
|
||||||
|
|
||||||
<!-- Amount of allowance for selecting keys in a mini popup keyboard by sliding finger. -->
|
<!-- Amount of allowance for selecting keys in a mini popup keyboard by sliding finger. -->
|
||||||
<!-- popup_key_height x 1.2 -->
|
<!-- popup_key_height x 1.2 -->
|
||||||
<dimen name="more_keys_keyboard_slide_allowance">63.36dp</dimen>
|
<dimen name="more_keys_keyboard_slide_allowance">63.36dp</dimen>
|
||||||
<!-- popup_key_height x -1.0 -->
|
<!-- popup_key_height x -1.0 -->
|
||||||
<dimen name="more_keys_keyboard_vertical_correction">-52.8dp</dimen>
|
<dimen name="more_keys_keyboard_vertical_correction_gb">-52.8dp</dimen>
|
||||||
<dimen name="keyboard_vertical_correction">0.0dp</dimen>
|
<dimen name="keyboard_vertical_correction">0.0dp</dimen>
|
||||||
|
|
||||||
<fraction name="key_letter_ratio">55%</fraction>
|
<fraction name="key_letter_ratio">55%</fraction>
|
||||||
|
@ -62,7 +59,7 @@
|
||||||
<fraction name="key_preview_text_ratio">82%</fraction>
|
<fraction name="key_preview_text_ratio">82%</fraction>
|
||||||
<fraction name="spacebar_text_ratio">33.735%</fraction>
|
<fraction name="spacebar_text_ratio">33.735%</fraction>
|
||||||
<dimen name="key_preview_height">80dp</dimen>
|
<dimen name="key_preview_height">80dp</dimen>
|
||||||
<dimen name="key_preview_offset">-8.0dp</dimen>
|
<dimen name="key_preview_offset_gb">-8.0dp</dimen>
|
||||||
|
|
||||||
<dimen name="key_label_horizontal_padding">4dp</dimen>
|
<dimen name="key_label_horizontal_padding">4dp</dimen>
|
||||||
<dimen name="key_hint_letter_padding">1dp</dimen>
|
<dimen name="key_hint_letter_padding">1dp</dimen>
|
||||||
|
|
|
@ -15,13 +15,13 @@
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<resources>
|
<resources>
|
||||||
<style name="KeyboardIcons">
|
<style name="KeyboardIcons.GB">
|
||||||
<!-- Keyboard icons -->
|
<!-- Keyboard icons -->
|
||||||
<item name="iconShiftKey">@drawable/sym_keyboard_shift</item>
|
<item name="iconShiftKey">@drawable/sym_keyboard_shift</item>
|
||||||
<item name="iconDeleteKey">@drawable/sym_keyboard_delete</item>
|
<item name="iconDeleteKey">@drawable/sym_keyboard_delete</item>
|
||||||
<item name="iconSettingsKey">@drawable/sym_keyboard_settings</item>
|
<item name="iconSettingsKey">@drawable/sym_keyboard_settings</item>
|
||||||
<item name="iconSpaceKey">@drawable/sym_keyboard_space</item>
|
<item name="iconSpaceKey">@drawable/sym_keyboard_space</item>
|
||||||
<item name="iconEnterKey">@drawable/sym_keyboard_return</item>ZZ
|
<item name="iconEnterKey">@drawable/sym_keyboard_return</item>
|
||||||
<item name="iconSearchKey">@drawable/sym_keyboard_search</item>
|
<item name="iconSearchKey">@drawable/sym_keyboard_search</item>
|
||||||
<item name="iconTabKey">@drawable/sym_keyboard_tab</item>
|
<item name="iconTabKey">@drawable/sym_keyboard_tab</item>
|
||||||
<item name="iconShortcutKey">@drawable/sym_keyboard_mic</item>
|
<item name="iconShortcutKey">@drawable/sym_keyboard_mic</item>
|
||||||
|
|
|
@ -15,21 +15,17 @@
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<resources xmlns:android="http://schemas.android.com/apk/res/android">
|
<resources xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
|
<style name="KeyboardIcons" />
|
||||||
<!-- Default theme values -->
|
<!-- Default theme values -->
|
||||||
<style name="Keyboard">
|
<style name="Keyboard">
|
||||||
<item name="touchPositionCorrectionData">@array/touch_position_correction_data_default</item>
|
<item name="touchPositionCorrectionData">@array/touch_position_correction_data_default</item>
|
||||||
<item name="rowHeight">25%p</item>
|
<item name="rowHeight">25%p</item>
|
||||||
<item name="moreKeysTemplate">@xml/kbd_more_keys_keyboard_template</item>
|
<item name="moreKeysTemplate">@xml/kbd_more_keys_keyboard_template</item>
|
||||||
<item name="keyboardTopPadding">@fraction/keyboard_top_padding</item>
|
|
||||||
<item name="keyboardBottomPadding">@fraction/keyboard_bottom_padding</item>
|
|
||||||
<item name="keyboardLeftPadding">@fraction/keyboard_left_padding</item>
|
<item name="keyboardLeftPadding">@fraction/keyboard_left_padding</item>
|
||||||
<item name="keyboardRightPadding">@fraction/keyboard_right_padding</item>
|
<item name="keyboardRightPadding">@fraction/keyboard_right_padding</item>
|
||||||
<item name="horizontalGap">@fraction/key_horizontal_gap</item>
|
|
||||||
<item name="verticalGap">@fraction/key_bottom_gap</item>
|
|
||||||
<item name="maxMoreKeysColumn">@integer/config_max_more_keys_column</item>
|
<item name="maxMoreKeysColumn">@integer/config_max_more_keys_column</item>
|
||||||
</style>
|
</style>
|
||||||
<style name="KeyboardView">
|
<style name="KeyboardView">
|
||||||
<item name="android:background">@drawable/keyboard_background</item>
|
|
||||||
<item name="keyLetterSize">@fraction/key_letter_ratio</item>
|
<item name="keyLetterSize">@fraction/key_letter_ratio</item>
|
||||||
<item name="keyLargeLetterRatio">@fraction/key_large_letter_ratio</item>
|
<item name="keyLargeLetterRatio">@fraction/key_large_letter_ratio</item>
|
||||||
<item name="keyLabelSize">@fraction/key_label_ratio</item>
|
<item name="keyLabelSize">@fraction/key_label_ratio</item>
|
||||||
|
@ -38,26 +34,15 @@
|
||||||
<item name="keyHintLabelRatio">@fraction/key_hint_label_ratio</item>
|
<item name="keyHintLabelRatio">@fraction/key_hint_label_ratio</item>
|
||||||
<item name="keyShiftedLetterHintRatio">@fraction/key_uppercase_letter_ratio</item>
|
<item name="keyShiftedLetterHintRatio">@fraction/key_uppercase_letter_ratio</item>
|
||||||
<item name="keyTypeface">normal</item>
|
<item name="keyTypeface">normal</item>
|
||||||
<item name="keyTextColor">@color/key_text_color_default</item>
|
|
||||||
<item name="keyTextInactivatedColor">@color/key_text_inactivated_color_default</item>
|
|
||||||
<item name="keyHintLetterColor">@color/key_hint_letter_color_default</item>
|
|
||||||
<item name="keyHintLabelColor">@color/key_hint_label_color_default</item>
|
|
||||||
<item name="keyShiftedLetterHintInactivatedColor">@color/key_shifted_letter_hint_inactivated_color_default</item>
|
|
||||||
<item name="keyShiftedLetterHintActivatedColor">@color/key_shifted_letter_hint_activated_color_default</item>
|
|
||||||
<item name="keyLabelHorizontalPadding">@dimen/key_label_horizontal_padding</item>
|
<item name="keyLabelHorizontalPadding">@dimen/key_label_horizontal_padding</item>
|
||||||
<item name="keyHintLetterPadding">@dimen/key_hint_letter_padding</item>
|
<item name="keyHintLetterPadding">@dimen/key_hint_letter_padding</item>
|
||||||
<item name="keyPopupHintLetterPadding">@dimen/key_popup_hint_letter_padding</item>
|
<item name="keyPopupHintLetterPadding">@dimen/key_popup_hint_letter_padding</item>
|
||||||
<item name="keyShiftedLetterHintPadding">@dimen/key_uppercase_letter_padding</item>
|
<item name="keyShiftedLetterHintPadding">@dimen/key_uppercase_letter_padding</item>
|
||||||
<item name="keyPreviewTextColor">@color/key_text_color_default</item>
|
|
||||||
<item name="keyPreviewTextRatio">@fraction/key_preview_text_ratio</item>
|
<item name="keyPreviewTextRatio">@fraction/key_preview_text_ratio</item>
|
||||||
<item name="verticalCorrection">@dimen/keyboard_vertical_correction</item>
|
<item name="verticalCorrection">@dimen/keyboard_vertical_correction</item>
|
||||||
<item name="keyTextShadowColor">@color/key_text_shadow_color_default</item>
|
|
||||||
<item name="keyTextShadowRadius">2.75</item>
|
|
||||||
<item name="backgroundDimAlpha">128</item>
|
<item name="backgroundDimAlpha">128</item>
|
||||||
<item name="gestureFloatingPreviewTextSize">@dimen/gesture_floating_preview_text_size</item>
|
<item name="gestureFloatingPreviewTextSize">@dimen/gesture_floating_preview_text_size</item>
|
||||||
<item name="gestureFloatingPreviewTextColor">@color/highlight_color_default</item>
|
|
||||||
<item name="gestureFloatingPreviewTextOffset">@dimen/gesture_floating_preview_text_offset</item>
|
<item name="gestureFloatingPreviewTextOffset">@dimen/gesture_floating_preview_text_offset</item>
|
||||||
<item name="gestureFloatingPreviewColor">@color/gesture_floating_preview_color_default</item>
|
|
||||||
<item name="gestureFloatingPreviewHorizontalPadding">@dimen/gesture_floating_preview_horizontal_padding</item>
|
<item name="gestureFloatingPreviewHorizontalPadding">@dimen/gesture_floating_preview_horizontal_padding</item>
|
||||||
<item name="gestureFloatingPreviewVerticalPadding">@dimen/gesture_floating_preview_vertical_padding</item>
|
<item name="gestureFloatingPreviewVerticalPadding">@dimen/gesture_floating_preview_vertical_padding</item>
|
||||||
<item name="gestureFloatingPreviewRoundRadius">@dimen/gesture_floating_preview_round_radius</item>
|
<item name="gestureFloatingPreviewRoundRadius">@dimen/gesture_floating_preview_round_radius</item>
|
||||||
|
@ -68,7 +53,6 @@
|
||||||
<item name="gestureTrailFadeoutStartDelay">@integer/config_gesture_trail_fadeout_start_delay</item>
|
<item name="gestureTrailFadeoutStartDelay">@integer/config_gesture_trail_fadeout_start_delay</item>
|
||||||
<item name="gestureTrailFadeoutDuration">@integer/config_gesture_trail_fadeout_duration</item>
|
<item name="gestureTrailFadeoutDuration">@integer/config_gesture_trail_fadeout_duration</item>
|
||||||
<item name="gestureTrailUpdateInterval">@integer/config_gesture_trail_update_interval</item>
|
<item name="gestureTrailUpdateInterval">@integer/config_gesture_trail_update_interval</item>
|
||||||
<item name="gestureTrailColor">@color/highlight_color_default</item>
|
|
||||||
<item name="gestureTrailStartWidth">@dimen/gesture_trail_start_width</item>
|
<item name="gestureTrailStartWidth">@dimen/gesture_trail_start_width</item>
|
||||||
<item name="gestureTrailEndWidth">@dimen/gesture_trail_end_width</item>
|
<item name="gestureTrailEndWidth">@dimen/gesture_trail_end_width</item>
|
||||||
<item name="gestureTrailBodyRatio">@integer/gesture_trail_body_ratio</item>
|
<item name="gestureTrailBodyRatio">@integer/gesture_trail_body_ratio</item>
|
||||||
|
@ -79,7 +63,6 @@
|
||||||
<item name="touchNoiseThresholdTime">@integer/config_touch_noise_threshold_time</item>
|
<item name="touchNoiseThresholdTime">@integer/config_touch_noise_threshold_time</item>
|
||||||
<item name="touchNoiseThresholdDistance">@dimen/config_touch_noise_threshold_distance</item>
|
<item name="touchNoiseThresholdDistance">@dimen/config_touch_noise_threshold_distance</item>
|
||||||
<item name="slidingKeyInputEnable">@bool/config_sliding_key_input_enabled</item>
|
<item name="slidingKeyInputEnable">@bool/config_sliding_key_input_enabled</item>
|
||||||
<item name="slidingKeyInputPreviewColor">@color/highlight_translucent_color_default</item>
|
|
||||||
<item name="slidingKeyInputPreviewWidth">@dimen/config_sliding_key_input_preview_width</item>
|
<item name="slidingKeyInputPreviewWidth">@dimen/config_sliding_key_input_preview_width</item>
|
||||||
<item name="slidingKeyInputPreviewBodyRatio">@integer/config_sliding_key_input_preview_body_ratio</item>
|
<item name="slidingKeyInputPreviewBodyRatio">@integer/config_sliding_key_input_preview_body_ratio</item>
|
||||||
<item name="slidingKeyInputPreviewShadowRatio">@integer/config_sliding_key_input_preview_shadow_ratio</item>
|
<item name="slidingKeyInputPreviewShadowRatio">@integer/config_sliding_key_input_preview_shadow_ratio</item>
|
||||||
|
@ -87,11 +70,11 @@
|
||||||
<item name="keyRepeatInterval">@integer/config_key_repeat_interval</item>
|
<item name="keyRepeatInterval">@integer/config_key_repeat_interval</item>
|
||||||
<item name="longPressShiftLockTimeout">@integer/config_longpress_shift_lock_timeout</item>
|
<item name="longPressShiftLockTimeout">@integer/config_longpress_shift_lock_timeout</item>
|
||||||
<item name="ignoreAltCodeKeyTimeout">@integer/config_ignore_alt_code_key_timeout</item>
|
<item name="ignoreAltCodeKeyTimeout">@integer/config_ignore_alt_code_key_timeout</item>
|
||||||
<item name="keyPreviewOffset">@dimen/key_preview_offset</item>
|
|
||||||
<item name="keyPreviewHeight">@dimen/key_preview_height</item>
|
<item name="keyPreviewHeight">@dimen/key_preview_height</item>
|
||||||
<item name="keyPreviewLingerTimeout">@integer/config_key_preview_linger_timeout</item>
|
<item name="keyPreviewLingerTimeout">@integer/config_key_preview_linger_timeout</item>
|
||||||
<item name="moreKeysKeyboardLayout">@layout/more_keys_keyboard</item>
|
<item name="moreKeysKeyboardLayout">@layout/more_keys_keyboard</item>
|
||||||
<item name="showMoreKeysKeyboardAtTouchedPoint">@bool/config_show_more_keys_keyboard_at_touched_point</item>
|
<item name="showMoreKeysKeyboardAtTouchedPoint">@bool/config_show_more_keys_keyboard_at_touched_point</item>
|
||||||
|
<item name="spacebarTextRatio">@fraction/spacebar_text_ratio</item>
|
||||||
<item name="languageOnSpacebarFinalAlpha">@integer/config_language_on_spacebar_final_alpha</item>
|
<item name="languageOnSpacebarFinalAlpha">@integer/config_language_on_spacebar_final_alpha</item>
|
||||||
<item name="languageOnSpacebarFadeoutAnimator">@anim/language_on_spacebar_fadeout</item>
|
<item name="languageOnSpacebarFadeoutAnimator">@anim/language_on_spacebar_fadeout</item>
|
||||||
<!-- Remove animations for now because it could drain a non-negligible amount of battery while typing.
|
<!-- Remove animations for now because it could drain a non-negligible amount of battery while typing.
|
||||||
|
@ -113,57 +96,17 @@
|
||||||
<item name="gestureRecognitionSpeedThreshold">@fraction/config_gesture_recognition_speed_threshold</item>
|
<item name="gestureRecognitionSpeedThreshold">@fraction/config_gesture_recognition_speed_threshold</item>
|
||||||
<item name="suppressKeyPreviewAfterBatchInputDuration">@integer/config_suppress_key_preview_after_batch_input_duration</item>
|
<item name="suppressKeyPreviewAfterBatchInputDuration">@integer/config_suppress_key_preview_after_batch_input_duration</item>
|
||||||
</style>
|
</style>
|
||||||
<style
|
<style name="MainKeyboardView" />
|
||||||
name="MainKeyboardView"
|
<style name="MoreKeysKeyboard" />
|
||||||
parent="KeyboardView">
|
<style name="MoreKeysKeyboardView" />
|
||||||
<item name="autoCorrectionSpacebarLedEnabled">true</item>
|
|
||||||
<item name="autoCorrectionSpacebarLedIcon">@drawable/sym_keyboard_space_led</item>
|
|
||||||
<item name="spacebarTextRatio">@fraction/spacebar_text_ratio</item>
|
|
||||||
<item name="spacebarTextColor">@color/spacebar_text_color_default</item>
|
|
||||||
<item name="spacebarTextShadowColor">@color/spacebar_text_shadow_color_default</item>
|
|
||||||
</style>
|
|
||||||
<style
|
|
||||||
name="MoreKeysKeyboard"
|
|
||||||
parent="Keyboard"
|
|
||||||
>
|
|
||||||
<item name="keyboardTopPadding">0%p</item>
|
|
||||||
<item name="keyboardBottomPadding">0%p</item>
|
|
||||||
<item name="horizontalGap">0%p</item>
|
|
||||||
<item name="touchPositionCorrectionData">@null</item>
|
|
||||||
</style>
|
|
||||||
<style
|
|
||||||
name="MoreKeysKeyboardView"
|
|
||||||
parent="KeyboardView"
|
|
||||||
>
|
|
||||||
<item name="keyBackground">@drawable/btn_keyboard_key_popup_gb</item>
|
|
||||||
<item name="verticalCorrection">@dimen/more_keys_keyboard_vertical_correction</item>
|
|
||||||
</style>
|
|
||||||
<style name="MoreKeysKeyboardPanelStyle">
|
|
||||||
<item name="android:background">@drawable/keyboard_popup_panel_background</item>
|
|
||||||
</style>
|
|
||||||
<style
|
<style
|
||||||
name="SuggestionStripViewStyle"
|
name="SuggestionStripViewStyle"
|
||||||
>
|
>
|
||||||
<item name="android:background">@drawable/keyboard_suggest_strip</item>
|
|
||||||
<item name="suggestionStripOption">autoCorrectBold|validTypedWordBold</item>
|
|
||||||
<item name="colorValidTypedWord">@color/highlight_color_default</item>
|
|
||||||
<item name="colorTypedWord">@color/typed_word_color_default</item>
|
|
||||||
<item name="colorAutoCorrect">@color/highlight_color_default</item>
|
|
||||||
<item name="colorSuggested">@color/highlight_color_default</item>
|
|
||||||
<item name="alphaObsoleted">50%</item>
|
|
||||||
<item name="suggestionsCountInStrip">@integer/suggestions_count_in_strip</item>
|
<item name="suggestionsCountInStrip">@integer/suggestions_count_in_strip</item>
|
||||||
<item name="centerSuggestionPercentile">@fraction/center_suggestion_percentile</item>
|
<item name="centerSuggestionPercentile">@fraction/center_suggestion_percentile</item>
|
||||||
<item name="maxMoreSuggestionsRow">@integer/max_more_suggestions_row</item>
|
<item name="maxMoreSuggestionsRow">@integer/max_more_suggestions_row</item>
|
||||||
<item name="minMoreSuggestionsWidth">@fraction/min_more_suggestions_width</item>
|
<item name="minMoreSuggestionsWidth">@fraction/min_more_suggestions_width</item>
|
||||||
</style>
|
</style>
|
||||||
<style
|
|
||||||
name="MoreSuggestionsViewStyle"
|
|
||||||
parent="MoreKeysKeyboardView"
|
|
||||||
>
|
|
||||||
</style>
|
|
||||||
<style name="SuggestionBackgroundStyle">
|
|
||||||
<item name="android:background">@drawable/btn_suggestion_gb</item>
|
|
||||||
</style>
|
|
||||||
<!-- Theme "Gingerbread" -->
|
<!-- Theme "Gingerbread" -->
|
||||||
<style
|
<style
|
||||||
name="Keyboard.GB"
|
name="Keyboard.GB"
|
||||||
|
@ -172,6 +115,8 @@
|
||||||
<!-- This should be aligned with KeyboardSwitcher.KEYBOARD_THEMES[] -->
|
<!-- This should be aligned with KeyboardSwitcher.KEYBOARD_THEMES[] -->
|
||||||
<item name="themeId">1</item>
|
<item name="themeId">1</item>
|
||||||
<item name="touchPositionCorrectionData">@array/touch_position_correction_data_gb</item>
|
<item name="touchPositionCorrectionData">@array/touch_position_correction_data_gb</item>
|
||||||
|
<item name="keyboardTopPadding">@fraction/keyboard_top_padding_gb</item>
|
||||||
|
<item name="keyboardBottomPadding">@fraction/keyboard_bottom_padding_gb</item>
|
||||||
<item name="horizontalGap">@fraction/key_horizontal_gap_gb</item>
|
<item name="horizontalGap">@fraction/key_horizontal_gap_gb</item>
|
||||||
<item name="verticalGap">@fraction/key_bottom_gap_gb</item>
|
<item name="verticalGap">@fraction/key_bottom_gap_gb</item>
|
||||||
</style>
|
</style>
|
||||||
|
@ -179,20 +124,33 @@
|
||||||
name="KeyboardView.GB"
|
name="KeyboardView.GB"
|
||||||
parent="KeyboardView"
|
parent="KeyboardView"
|
||||||
>
|
>
|
||||||
<item name="android:background">@drawable/keyboard_dark_background</item>
|
<item name="android:background">@drawable/keyboard_background_gb</item>
|
||||||
<item name="keyBackground">@drawable/btn_keyboard_key_gb</item>
|
<item name="keyBackground">@drawable/btn_keyboard_key_gb</item>
|
||||||
<item name="keyTypeface">bold</item>
|
<item name="keyTypeface">bold</item>
|
||||||
<item name="keyPreviewLayout">@layout/key_preview_gb</item>
|
<item name="keyTextColor">@color/key_text_color_gb</item>
|
||||||
|
<item name="keyTextInactivatedColor">@color/key_text_inactivated_color_gb</item>
|
||||||
|
<item name="keyHintLetterColor">@color/key_hint_letter_color_gb</item>
|
||||||
|
<item name="keyHintLabelColor">@color/key_hint_label_color_gb</item>
|
||||||
|
<item name="keyShiftedLetterHintInactivatedColor">@color/key_shifted_letter_hint_inactivated_color_gb</item>
|
||||||
|
<item name="keyShiftedLetterHintActivatedColor">@color/key_shifted_letter_hint_activated_color_gb</item>
|
||||||
|
<item name="keyPreviewTextColor">@color/key_text_color_gb</item>
|
||||||
|
<item name="keyTextShadowColor">@color/key_text_shadow_color_gb</item>
|
||||||
|
<item name="keyTextShadowRadius">2.75</item>
|
||||||
</style>
|
</style>
|
||||||
<style
|
<style
|
||||||
name="MainKeyboardView.GB"
|
name="MainKeyboardView.GB"
|
||||||
parent="KeyboardView.GB"
|
parent="KeyboardView.GB"
|
||||||
>
|
>
|
||||||
|
<item name="keyPreviewLayout">@layout/key_preview_gb</item>
|
||||||
|
<item name="keyPreviewOffset">@dimen/key_preview_offset_gb</item>
|
||||||
|
<item name="gestureFloatingPreviewTextColor">@color/highlight_color_gb</item>
|
||||||
|
<item name="gestureFloatingPreviewColor">@color/gesture_floating_preview_color_gb</item>
|
||||||
|
<item name="gestureTrailColor">@color/highlight_color_gb</item>
|
||||||
|
<item name="slidingKeyInputPreviewColor">@color/highlight_translucent_color_gb</item>
|
||||||
<item name="autoCorrectionSpacebarLedEnabled">true</item>
|
<item name="autoCorrectionSpacebarLedEnabled">true</item>
|
||||||
<item name="autoCorrectionSpacebarLedIcon">@drawable/sym_keyboard_space_led</item>
|
<item name="autoCorrectionSpacebarLedIcon">@drawable/sym_keyboard_space_led_gb</item>
|
||||||
<item name="spacebarTextRatio">@fraction/spacebar_text_ratio</item>
|
<item name="spacebarTextColor">@color/spacebar_text_color_gb</item>
|
||||||
<item name="spacebarTextColor">@color/spacebar_text_color_default</item>
|
<item name="spacebarTextShadowColor">@color/spacebar_text_shadow_color_gb</item>
|
||||||
<item name="spacebarTextShadowColor">@color/spacebar_text_shadow_color_default</item>
|
|
||||||
</style>
|
</style>
|
||||||
<style
|
<style
|
||||||
name="MoreKeysKeyboard.GB"
|
name="MoreKeysKeyboard.GB"
|
||||||
|
@ -205,9 +163,23 @@
|
||||||
</style>
|
</style>
|
||||||
<style
|
<style
|
||||||
name="MoreKeysKeyboardView.GB"
|
name="MoreKeysKeyboardView.GB"
|
||||||
parent="MoreKeysKeyboardView"
|
parent="KeyboardView.GB"
|
||||||
>
|
>
|
||||||
<item name="android:background">@null</item>
|
<item name="android:background">@null</item>
|
||||||
|
<item name="keyBackground">@drawable/btn_keyboard_key_popup_gb</item>
|
||||||
|
<item name="keyTypeface">normal</item>
|
||||||
|
<item name="verticalCorrection">@dimen/more_keys_keyboard_vertical_correction_gb</item>
|
||||||
|
</style>
|
||||||
|
<style
|
||||||
|
name="SuggestionStripViewStyle.GB"
|
||||||
|
parent="SuggestionStripViewStyle"
|
||||||
|
>
|
||||||
|
<item name="suggestionStripOption">autoCorrectBold|validTypedWordBold</item>
|
||||||
|
<item name="colorValidTypedWord">@color/highlight_color_gb</item>
|
||||||
|
<item name="colorTypedWord">@color/typed_word_color_gb</item>
|
||||||
|
<item name="colorAutoCorrect">@color/highlight_color_gb</item>
|
||||||
|
<item name="colorSuggested">@color/highlight_color_gb</item>
|
||||||
|
<item name="alphaObsoleted">50%</item>
|
||||||
</style>
|
</style>
|
||||||
<!-- Theme "IceCreamSandwich" -->
|
<!-- Theme "IceCreamSandwich" -->
|
||||||
<style
|
<style
|
||||||
|
@ -226,30 +198,31 @@
|
||||||
name="KeyboardView.ICS"
|
name="KeyboardView.ICS"
|
||||||
parent="KeyboardView"
|
parent="KeyboardView"
|
||||||
>
|
>
|
||||||
<item name="android:background">@drawable/keyboard_background_holo</item>
|
<item name="android:background">@drawable/keyboard_background_ics</item>
|
||||||
<item name="keyBackground">@drawable/btn_keyboard_key_ics</item>
|
<item name="keyBackground">@drawable/btn_keyboard_key_ics</item>
|
||||||
<item name="keyTypeface">bold</item>
|
<item name="keyTypeface">bold</item>
|
||||||
|
<item name="keyTextColor">@color/key_text_color_ics</item>
|
||||||
<item name="keyTextInactivatedColor">@color/key_text_inactivated_color_ics</item>
|
<item name="keyTextInactivatedColor">@color/key_text_inactivated_color_ics</item>
|
||||||
<item name="keyHintLetterColor">@color/key_hint_letter_color_ics</item>
|
<item name="keyHintLetterColor">@color/key_hint_letter_color_ics</item>
|
||||||
<item name="keyHintLabelColor">@color/key_hint_label_color_ics</item>
|
<item name="keyHintLabelColor">@color/key_hint_label_color_ics</item>
|
||||||
<item name="keyShiftedLetterHintInactivatedColor">@color/key_shifted_letter_hint_inactivated_color_ics</item>
|
<item name="keyShiftedLetterHintInactivatedColor">@color/key_shifted_letter_hint_inactivated_color_ics</item>
|
||||||
<item name="keyShiftedLetterHintActivatedColor">@color/key_shifted_letter_hint_activated_color_ics</item>
|
<item name="keyShiftedLetterHintActivatedColor">@color/key_shifted_letter_hint_activated_color_ics</item>
|
||||||
<item name="keyPreviewLayout">@layout/key_preview_ics</item>
|
|
||||||
<item name="keyPreviewTextColor">@color/key_text_color_ics</item>
|
<item name="keyPreviewTextColor">@color/key_text_color_ics</item>
|
||||||
<item name="keyPreviewOffset">@dimen/key_preview_offset_ics</item>
|
|
||||||
<item name="keyTextShadowColor">@color/key_text_shadow_color_ics</item>
|
<item name="keyTextShadowColor">@color/key_text_shadow_color_ics</item>
|
||||||
<item name="keyTextShadowRadius">0.0</item>
|
<item name="keyTextShadowRadius">0.0</item>
|
||||||
<item name="slidingKeyInputPreviewColor">@color/highlight_translucent_color_ics</item>
|
|
||||||
<item name="gestureFloatingPreviewTextColor">@color/highlight_color_ics</item>
|
|
||||||
<item name="gestureTrailColor">@color/highlight_color_ics</item>
|
|
||||||
</style>
|
</style>
|
||||||
<style
|
<style
|
||||||
name="MainKeyboardView.ICS"
|
name="MainKeyboardView.ICS"
|
||||||
parent="KeyboardView.ICS"
|
parent="KeyboardView.ICS"
|
||||||
>
|
>
|
||||||
|
<item name="keyPreviewLayout">@layout/key_preview_ics</item>
|
||||||
|
<item name="keyPreviewOffset">@dimen/key_preview_offset_ics</item>
|
||||||
|
<item name="gestureFloatingPreviewTextColor">@color/highlight_color_ics</item>
|
||||||
|
<item name="gestureFloatingPreviewColor">@color/gesture_floating_preview_color_ics</item>
|
||||||
|
<item name="gestureTrailColor">@color/highlight_color_ics</item>
|
||||||
|
<item name="slidingKeyInputPreviewColor">@color/highlight_translucent_color_ics</item>
|
||||||
<item name="autoCorrectionSpacebarLedEnabled">false</item>
|
<item name="autoCorrectionSpacebarLedEnabled">false</item>
|
||||||
<item name="autoCorrectionSpacebarLedIcon">@drawable/sym_keyboard_space_led_holo</item>
|
<item name="autoCorrectionSpacebarLedIcon">@drawable/sym_keyboard_space_led_holo</item>
|
||||||
<item name="spacebarTextRatio">@fraction/spacebar_text_ratio</item>
|
|
||||||
<item name="spacebarTextColor">@color/spacebar_text_color_ics</item>
|
<item name="spacebarTextColor">@color/spacebar_text_color_ics</item>
|
||||||
<item name="spacebarTextShadowColor">@color/spacebar_text_shadow_color_ics</item>
|
<item name="spacebarTextShadowColor">@color/spacebar_text_shadow_color_ics</item>
|
||||||
</style>
|
</style>
|
||||||
|
@ -264,42 +237,22 @@
|
||||||
</style>
|
</style>
|
||||||
<style
|
<style
|
||||||
name="MoreKeysKeyboardView.ICS"
|
name="MoreKeysKeyboardView.ICS"
|
||||||
parent="MoreKeysKeyboardView"
|
parent="KeyboardView.ICS"
|
||||||
>
|
>
|
||||||
<item name="android:background">@null</item>
|
<item name="android:background">@null</item>
|
||||||
<item name="keyBackground">@drawable/btn_keyboard_key_popup_ics</item>
|
<item name="keyBackground">@drawable/btn_keyboard_key_popup_ics</item>
|
||||||
|
<item name="keyTypeface">normal</item>
|
||||||
<item name="verticalCorrection">@dimen/more_keys_keyboard_vertical_correction_ics</item>
|
<item name="verticalCorrection">@dimen/more_keys_keyboard_vertical_correction_ics</item>
|
||||||
</style>
|
</style>
|
||||||
<style name="MoreKeysKeyboardPanelStyle.ICS">
|
|
||||||
<item name="android:background">@drawable/keyboard_popup_panel_background_holo</item>
|
|
||||||
</style>
|
|
||||||
<style
|
<style
|
||||||
name="SuggestionStripViewStyle.ICS"
|
name="SuggestionStripViewStyle.ICS"
|
||||||
>
|
>
|
||||||
<item name="android:background">@drawable/keyboard_suggest_strip_holo</item>
|
|
||||||
<item name="suggestionStripOption">autoCorrectBold|validTypedWordBold</item>
|
<item name="suggestionStripOption">autoCorrectBold|validTypedWordBold</item>
|
||||||
<item name="colorValidTypedWord">@color/typed_word_color_ics</item>
|
<item name="colorValidTypedWord">@color/typed_word_color_ics</item>
|
||||||
<item name="colorTypedWord">@color/typed_word_color_ics</item>
|
<item name="colorTypedWord">@color/typed_word_color_ics</item>
|
||||||
<item name="colorAutoCorrect">@color/highlight_color_ics</item>
|
<item name="colorAutoCorrect">@color/highlight_color_ics</item>
|
||||||
<item name="colorSuggested">@color/suggested_word_color_ics</item>
|
<item name="colorSuggested">@color/suggested_word_color_ics</item>
|
||||||
<item name="alphaObsoleted">70%</item>
|
<item name="alphaObsoleted">70%</item>
|
||||||
<item name="suggestionsCountInStrip">@integer/suggestions_count_in_strip</item>
|
|
||||||
<item name="centerSuggestionPercentile">@fraction/center_suggestion_percentile</item>
|
|
||||||
<item name="maxMoreSuggestionsRow">@integer/max_more_suggestions_row</item>
|
|
||||||
<item name="minMoreSuggestionsWidth">@fraction/min_more_suggestions_width</item>
|
|
||||||
</style>
|
|
||||||
<style
|
|
||||||
name="MoreSuggestionsViewStyle.ICS"
|
|
||||||
parent="MoreKeysKeyboardView.ICS"
|
|
||||||
>
|
|
||||||
</style>
|
|
||||||
<style name="SuggestionBackgroundStyle.ICS">
|
|
||||||
<item name="android:background">@drawable/btn_suggestion_ics</item>
|
|
||||||
</style>
|
|
||||||
<style
|
|
||||||
name="SuggestionPreviewBackgroundStyle.ICS"
|
|
||||||
parent="MoreKeysKeyboardPanelStyle.ICS"
|
|
||||||
>
|
|
||||||
</style>
|
</style>
|
||||||
<style name="MoreKeysKeyboardAnimation">
|
<style name="MoreKeysKeyboardAnimation">
|
||||||
<item name="android:windowEnterAnimation">@anim/more_keys_keyboard_fadein</item>
|
<item name="android:windowEnterAnimation">@anim/more_keys_keyboard_fadein</item>
|
||||||
|
|
|
@ -15,15 +15,15 @@
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<resources>
|
<resources>
|
||||||
<style name="KeyboardTheme.GB" parent="KeyboardIcons">
|
<style name="KeyboardTheme.GB" parent="KeyboardIcons.GB">
|
||||||
<item name="keyboardStyle">@style/Keyboard.GB</item>
|
<item name="keyboardStyle">@style/Keyboard.GB</item>
|
||||||
<item name="keyboardViewStyle">@style/KeyboardView.GB</item>
|
<item name="keyboardViewStyle">@style/KeyboardView.GB</item>
|
||||||
<item name="mainKeyboardViewStyle">@style/MainKeyboardView.GB</item>
|
<item name="mainKeyboardViewStyle">@style/MainKeyboardView.GB</item>
|
||||||
<item name="moreKeysKeyboardStyle">@style/MoreKeysKeyboard.GB</item>
|
<item name="moreKeysKeyboardStyle">@style/MoreKeysKeyboard.GB</item>
|
||||||
<item name="moreKeysKeyboardViewStyle">@style/MoreKeysKeyboardView.GB</item>
|
<item name="moreKeysKeyboardViewStyle">@style/MoreKeysKeyboardView.GB</item>
|
||||||
<item name="moreKeysKeyboardPanelStyle">@style/MoreKeysKeyboardPanelStyle</item>
|
<item name="suggestionStripViewStyle">@style/SuggestionStripViewStyle.GB</item>
|
||||||
<item name="suggestionStripViewStyle">@style/SuggestionStripViewStyle</item>
|
<item name="moreKeysKeyboardBackground">@drawable/keyboard_popup_panel_background_gb</item>
|
||||||
<item name="moreSuggestionsViewStyle">@style/MoreSuggestionsViewStyle</item>
|
<item name="suggestionStripBackground">@drawable/keyboard_suggest_strip_gb</item>
|
||||||
<item name="suggestionBackgroundStyle">@style/SuggestionBackgroundStyle</item>
|
<item name="suggestionBackground">@drawable/btn_suggestion_gb</item>
|
||||||
</style>
|
</style>
|
||||||
</resources>
|
</resources>
|
||||||
|
|
|
@ -21,9 +21,9 @@
|
||||||
<item name="mainKeyboardViewStyle">@style/MainKeyboardView.ICS</item>
|
<item name="mainKeyboardViewStyle">@style/MainKeyboardView.ICS</item>
|
||||||
<item name="moreKeysKeyboardStyle">@style/MoreKeysKeyboard.ICS</item>
|
<item name="moreKeysKeyboardStyle">@style/MoreKeysKeyboard.ICS</item>
|
||||||
<item name="moreKeysKeyboardViewStyle">@style/MoreKeysKeyboardView.ICS</item>
|
<item name="moreKeysKeyboardViewStyle">@style/MoreKeysKeyboardView.ICS</item>
|
||||||
<item name="moreKeysKeyboardPanelStyle">@style/MoreKeysKeyboardPanelStyle.ICS</item>
|
|
||||||
<item name="suggestionStripViewStyle">@style/SuggestionStripViewStyle.ICS</item>
|
<item name="suggestionStripViewStyle">@style/SuggestionStripViewStyle.ICS</item>
|
||||||
<item name="moreSuggestionsViewStyle">@style/MoreSuggestionsViewStyle.ICS</item>
|
<item name="moreKeysKeyboardBackground">@drawable/keyboard_popup_panel_background_holo</item>
|
||||||
<item name="suggestionBackgroundStyle">@style/SuggestionBackgroundStyle.ICS</item>
|
<item name="suggestionStripBackground">@drawable/keyboard_suggest_strip_holo</item>
|
||||||
|
<item name="suggestionBackground">@drawable/btn_suggestion_ics</item>
|
||||||
</style>
|
</style>
|
||||||
</resources>
|
</resources>
|
||||||
|
|
|
@ -34,7 +34,7 @@ public final class MoreSuggestionsView extends MoreKeysKeyboardView {
|
||||||
private static final String TAG = MoreSuggestionsView.class.getSimpleName();
|
private static final String TAG = MoreSuggestionsView.class.getSimpleName();
|
||||||
|
|
||||||
public MoreSuggestionsView(final Context context, final AttributeSet attrs) {
|
public MoreSuggestionsView(final Context context, final AttributeSet attrs) {
|
||||||
this(context, attrs, R.attr.moreSuggestionsViewStyle);
|
this(context, attrs, R.attr.moreKeysKeyboardViewStyle);
|
||||||
}
|
}
|
||||||
|
|
||||||
public MoreSuggestionsView(final Context context, final AttributeSet attrs,
|
public MoreSuggestionsView(final Context context, final AttributeSet attrs,
|
||||||
|
|