1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2011 The Android Open Source Project 3 4 Licensed under the Apache License, Version 2.0 (the "License"); 5 you may not use this file except in compliance with the License. 6 You may obtain a copy of the License at 7 8 http://www.apache.org/licenses/LICENSE-2.0 9 10 Unless required by applicable law or agreed to in writing, software 11 distributed under the License is distributed on an "AS IS" BASIS, 12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 See the License for the specific language governing permissions and 14 limitations under the License. 15--> 16<resources xmlns:tools="http://schemas.android.com/tools"> 17 <style name="RecipientEditTextViewBase"> 18 <item name="android:layout_width">match_parent</item> 19 <item name="android:layout_height">wrap_content</item> 20 <item name="android:background">@null</item> 21 <item name="android:inputType">textEmailAddress|textMultiLine</item> 22 <item name="android:minHeight">@dimen/chip_height</item> 23 <item name="android:popupBackground">@android:color/white</item> 24 <item name="android:textAlignment" tools:ignore="NewApi">viewStart</item> 25 <item name="android:textAppearance">?android:attr/textAppearanceMedium</item> 26 <item name="android:textDirection" tools:ignore="NewApi">locale</item> 27 </style> 28 29 <style name="RecipientEditTextView" parent="@style/RecipientEditTextViewBase"> 30 <item name="android:imeOptions">actionNext|flagNoFullscreen</item> 31 </style> 32 33 <style name="ChipAutocompleteWrapperStyle"> 34 <item name="android:paddingLeft">@dimen/chip_wrapper_start_padding</item> 35 <item name="android:paddingTop">@dimen/chip_wrapper_top_padding</item> 36 <item name="android:paddingRight">@dimen/chip_wrapper_end_padding</item> 37 <item name="android:paddingBottom">@dimen/chip_wrapper_bottom_padding</item> 38 </style> 39 40 <style name="ChipAutocompleteDividerStyle"> 41 <item name="android:layout_width">match_parent</item> 42 <item name="android:layout_height">@dimen/chip_custom_divider_height</item> 43 <item name="android:background">@color/autocomplete_divider_color</item> 44 <item name="android:layout_marginLeft">@dimen/chip_wrapper_start_padding</item> 45 </style> 46 47 <style name="ChipAutocompleteDividerStyle.PermissionItem"> 48 <item name="android:background">@drawable/chip_autocomplete_divider_background</item> 49 <item name="android:layout_height">3dp</item> 50 <item name="android:layout_marginLeft">0dp</item> 51 </style> 52 53 <style name="ChipTextViewLayoutStyle"> 54 <item name="android:layout_width">0dp</item> 55 <item name="android:layout_height">wrap_content</item> 56 <item name="android:layout_gravity">center_vertical</item> 57 <item name="android:layout_weight">1</item> 58 <item name="android:orientation">vertical</item> 59 </style> 60 61 <style name="ChipTitleStyle"> 62 <item name="android:id">@android:id/title</item> 63 <item name="android:layout_width">match_parent</item> 64 <item name="android:layout_height">wrap_content</item> 65 <item name="android:ellipsize">middle</item> 66 <item name="android:singleLine">true</item> 67 <item name="android:textAlignment">viewStart</item> 68 <item name="android:textColor">@color/chips_dropdown_text</item> 69 <item name="android:textSize">16sp</item> 70 </style> 71 72 <style name="ChipSubtitleStyle"> 73 <item name="android:id">@android:id/text1</item> 74 <item name="android:layout_width">match_parent</item> 75 <item name="android:layout_height">wrap_content</item> 76 <item name="android:ellipsize">middle</item> 77 <item name="android:singleLine">true</item> 78 <item name="android:textAlignment">viewStart</item> 79 <item name="android:textColor">@color/chips_dropdown_text</item> 80 <item name="android:textSize">14sp</item> 81 </style> 82 83 <style name="ChipIndicatorTextStyle" parent="@style/ChipSubtitleStyle"> 84 <item name="android:layout_marginTop">6dp</item> 85 <item name="android:gravity">center_vertical</item> 86 <item name="android:drawablePadding">4dp</item> 87 </style> 88 89 <style name="ChipPermissionStyle"> 90 <item name="android:layout_width">0dp</item> 91 <item name="android:layout_height">wrap_content</item> 92 <item name="android:layout_gravity">center_vertical</item> 93 <item name="android:layout_weight">1</item> 94 <item name="android:textAlignment">viewStart</item> 95 <item name="android:textColor">@color/chips_dropdown_permission_text</item> 96 <item name="android:textSize">16sp</item> 97 <item name="android:text">@string/chips_permission_text</item> 98 </style> 99 100 <style name="ChipIconBaseStyle"> 101 <item name="android:id">@android:id/icon</item> 102 <item name="android:layout_width">40dp</item> 103 <item name="android:layout_height">40dp</item> 104 <item name="android:layout_gravity">center_vertical</item> 105 <item name="android:contentDescription">@null</item> 106 </style> 107 108 <style name="ChipStartIconStyle" parent="@style/ChipIconBaseStyle"> 109 <item name="android:layout_marginRight">@dimen/chip_icon_margin_end</item> 110 </style> 111 112 <style name="ChipEndIconStyle" parent="@style/ChipIconBaseStyle"> 113 <item name="android:layout_marginLeft">@dimen/chip_icon_margin_end</item> 114 </style> 115 116 <style name="ChipDeleteIconBaseStyle"> 117 <item name="android:id">@android:id/icon1</item> 118 <item name="android:layout_width">36dp</item> 119 <item name="android:layout_height">48dp</item> 120 <item name="android:layout_gravity">center_vertical</item> 121 <item name="android:paddingTop">10dp</item> 122 <item name="android:paddingBottom">10dp</item> 123 </style> 124 125 <style name="ChipDeleteIconStyle" parent="@style/ChipDeleteIconBaseStyle"> 126 <item name="android:paddingLeft">@dimen/chip_icon_padding</item> 127 </style> 128 129 <style name="ChipPermissionDismissIconStyle"> 130 <item name="android:id">@android:id/icon2</item> 131 <item name="android:layout_width">wrap_content</item> 132 <item name="android:layout_height">wrap_content</item> 133 <item name="android:layout_gravity">center_vertical</item> 134 <item name="android:background">?android:attr/selectableItemBackground</item> 135 <item name="android:contentDescription">@android:string/cancel</item> 136 <item name="android:padding">@dimen/chip_icon_padding</item> 137 <item name="android:src">@drawable/chips_ic_close_24dp</item> 138 </style> 139</resources> 140