1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3/* 4** 5** Copyright 2019, The Android Open Source Project 6** 7** Licensed under the Apache License, Version 2.0 (the "License"); 8** you may not use this file except in compliance with the License. 9** You may obtain a copy of the License at 10** 11** http://www.apache.org/licenses/LICENSE-2.0 12** 13** Unless required by applicable law or agreed to in writing, software 14** distributed under the License is distributed on an "AS IS" BASIS, 15** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16** See the License for the specific language governing permissions and 17** limitations under the License. 18*/ 19--> 20 21<resources> 22 23 <style name="KeyboardArea"> 24 <item name="android:layout_width">match_parent</item> 25 <item name="android:layout_height">wrap_content</item> 26 <item name="android:layout_gravity">bottom</item> 27 <item name="android:orientation">vertical</item> 28 <item name="android:gravity">bottom</item> 29 </style> 30 31 <style name="KeyboardRow"> 32 <item name="android:layout_width">match_parent</item> 33 <item name="android:layout_height">@dimen/keyboard_row_height</item> 34 <item name="android:orientation">horizontal</item> 35 <item name="android:background">#FFFFFFFF</item> 36 </style> 37 38 <style name="PinnedSuggestionArea"> 39 <item name="android:layout_width">wrap_content</item> 40 <item name="android:layout_height">@dimen/keyboard_header_height</item> 41 <item name="android:layout_weight">0</item> 42 <item name="android:background">@color/suggestion_strip_background</item> 43 </style> 44 45 <style name="KeyboardRow.Header"> 46 <item name="android:layout_height">@dimen/keyboard_header_height</item> 47 <item name="android:background">@android:color/transparent</item> 48 </style> 49 50 <style name="SoftKey"> 51 <item name="android:layout_width">0dp</item> 52 <item name="android:layout_height">match_parent</item> 53 <item name="android:layout_weight">1</item> 54 <item name="android:gravity">center</item> 55 <item name="android:textColor">#FF000000</item> 56 <item name="android:textSize">@dimen/text_size_normal</item> 57 </style> 58 59 <style name="SoftKey.Function"> 60 <item name="android:textColor">#FF333333</item> 61 </style> 62 63 <style name="SoftKey.Function.Text"> 64 <item name="android:textColor">#FF333333</item> 65 <item name="android:textSize">@dimen/text_size_symbol</item> 66 </style> 67 68 <style name="SoftKey.Space"> 69 <item name="android:layout_weight">5</item> 70 <item name="android:textColor">#FF333333</item> 71 </style> 72 73 <style name="YellowText" parent="@android:style/TextAppearance"> 74 <item name="android:textColor">#FFFF00</item> 75 <item name="android:background">#88FF00FF</item> 76 <!-- This theme will be invalid --> 77 <item name="android:fontFamily">@font/just_another_hand</item> 78 </style> 79 <style name="GreenText" parent="@android:style/TextAppearance"> 80 <item name="android:textColor">#00FF00</item> 81 <item name="android:fontFamily">monospace</item> 82 </style> 83 <style name="PinkBackground"> 84 <item name="android:background">#33FF00FF</item> 85 </style> 86 <style name="YellowTheme" parent="@style/Theme.AutofillInlineSuggestion"> 87 <item name="autofillInlineSuggestionTitle">@style/YellowText</item> 88 <item name="autofillInlineSuggestionSubtitle">@style/YellowText</item> 89 </style> 90 <style name="GreenTheme" parent="@style/Theme.AutofillInlineSuggestion"> 91 <item name="autofillInlineSuggestionChip">@style/PinkBackground</item> 92 <item name="autofillInlineSuggestionTitle">@style/GreenText</item> 93 <item name="autofillInlineSuggestionSubtitle">@style/GreenText</item> 94 </style> 95</resources> 96