42fcb2de64
As a consequence, * Add Key.iconDisabledKey has been introduced and Key.getIcon honors the enabled state of the key. * The attribute id of disabled icon for shortcut key, Keyboard_iconShortcutKeyDisabled, is renamed to Keyboard_iconDisbledShortcutKey * KeyboardIconsSet has getIconByIconId and getIconByAttrId methods instead of getIcon. Bug: 5778201 Change-Id: Ica93b073b9a04acd18ead7a33b60e3c6d813e7a1
38 lines
1.9 KiB
XML
38 lines
1.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- Copyright (C) 2011 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.
|
|
-->
|
|
|
|
<resources>
|
|
<style name="KeyboardIcons.Black">
|
|
<!-- Keyboard icons -->
|
|
<!-- TODO: The following holo icon for phone (drawable-hdpi and drawable-xhdpi) are too
|
|
ambiguous.
|
|
sym_bkeyboard_voice_off
|
|
-->
|
|
<item name="iconShiftKey">@drawable/sym_bkeyboard_shift</item>
|
|
<item name="iconDeleteKey">@drawable/sym_bkeyboard_delete</item>
|
|
<item name="iconSettingsKey">@drawable/sym_bkeyboard_settings</item>
|
|
<item name="iconSpaceKey">@drawable/sym_bkeyboard_space</item>
|
|
<item name="iconReturnKey">@drawable/sym_bkeyboard_return</item>
|
|
<item name="iconSearchKey">@drawable/sym_bkeyboard_search</item>
|
|
<item name="iconTabKey">@drawable/sym_bkeyboard_tab</item>
|
|
<item name="iconShortcutKey">@drawable/sym_bkeyboard_mic</item>
|
|
<item name="iconShortcutForLabel">@drawable/sym_bkeyboard_label_mic</item>
|
|
<item name="iconSpaceKeyForNumberLayout">@drawable/sym_bkeyboard_space</item>
|
|
<item name="iconShiftKeyShifted">@drawable/sym_bkeyboard_shift_locked</item>
|
|
<item name="iconDisabledShortcutKey">@drawable/sym_bkeyboard_voice_off</item>
|
|
<item name="iconPreviewTabKey">@drawable/sym_keyboard_feedback_tab</item>
|
|
</style>
|
|
</resources>
|