| <?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 xmlns:tools="http://schemas.android.com/tools"> |
| <style name="RecipientEditTextViewBase" parent="@android:attr/autoCompleteTextViewStyle"> |
| <item name="android:layout_width">match_parent</item> |
| <item name="android:layout_height">wrap_content</item> |
| <item name="android:background">@null</item> |
| <item name="android:inputType">textEmailAddress|textMultiLine</item> |
| <item name="android:minHeight">@dimen/chip_height</item> |
| <item name="android:popupBackground">@android:color/white</item> |
| <item name="android:textAlignment" tools:ignore="NewApi">viewStart</item> |
| <item name="android:textAppearance">?android:attr/textAppearanceMedium</item> |
| <item name="android:textDirection" tools:ignore="NewApi">locale</item> |
| </style> |
| |
| <style name="RecipientEditTextView" parent="@style/RecipientEditTextViewBase"> |
| <item name="android:imeOptions">actionNext|flagNoFullscreen</item> |
| </style> |
| |
| <style name="ChipAutocompleteWrapperStyle"> |
| <item name="android:paddingLeft">@dimen/chip_wrapper_start_padding</item> |
| <item name="android:paddingTop">@dimen/chip_wrapper_top_padding</item> |
| <item name="android:paddingRight">@dimen/chip_wrapper_end_padding</item> |
| <item name="android:paddingBottom">@dimen/chip_wrapper_bottom_padding</item> |
| </style> |
| |
| <style name="ChipAutocompleteDividerStyle"> |
| <item name="android:layout_width">match_parent</item> |
| <item name="android:layout_height">@dimen/chip_custom_divider_height</item> |
| <item name="android:background">@color/autocomplete_divider_color</item> |
| <item name="android:layout_marginLeft">@dimen/chip_wrapper_start_padding</item> |
| </style> |
| |
| <style name="ChipTextViewLayoutStyle"> |
| <item name="android:layout_width">0dp</item> |
| <item name="android:layout_height">wrap_content</item> |
| <item name="android:layout_gravity">center_vertical</item> |
| <item name="android:layout_weight">1</item> |
| <item name="android:orientation">vertical</item> |
| </style> |
| |
| <style name="ChipTitleStyle"> |
| <item name="android:id">@android:id/title</item> |
| <item name="android:layout_width">match_parent</item> |
| <item name="android:layout_height">wrap_content</item> |
| <item name="android:ellipsize">middle</item> |
| <item name="android:singleLine">true</item> |
| <item name="android:textAlignment">viewStart</item> |
| <item name="android:textColor">@color/chips_dropdown_text</item> |
| <item name="android:textSize">16sp</item> |
| </style> |
| |
| <style name="ChipSubtitleStyle"> |
| <item name="android:id">@android:id/text1</item> |
| <item name="android:layout_width">match_parent</item> |
| <item name="android:layout_height">wrap_content</item> |
| <item name="android:ellipsize">middle</item> |
| <item name="android:singleLine">true</item> |
| <item name="android:textAlignment">viewStart</item> |
| <item name="android:textColor">@color/chips_dropdown_text</item> |
| <item name="android:textSize">14sp</item> |
| </style> |
| |
| <style name="ChipIconBaseStyle"> |
| <item name="android:id">@android:id/icon</item> |
| <item name="android:layout_width">40dp</item> |
| <item name="android:layout_height">40dp</item> |
| <item name="android:layout_gravity">center_vertical</item> |
| <item name="android:contentDescription">@null</item> |
| </style> |
| |
| <style name="ChipStartIconStyle" parent="@style/ChipIconBaseStyle"> |
| <item name="android:layout_marginRight">@dimen/chip_icon_margin_end</item> |
| </style> |
| |
| <style name="ChipEndIconStyle" parent="@style/ChipIconBaseStyle"> |
| <item name="android:layout_marginLeft">@dimen/chip_icon_margin_end</item> |
| </style> |
| |
| <style name="ChipDeleteIconBaseStyle"> |
| <item name="android:id">@android:id/icon1</item> |
| <item name="android:layout_width">36dp</item> |
| <item name="android:layout_height">48dp</item> |
| <item name="android:layout_gravity">center_vertical</item> |
| <item name="android:paddingTop">10dp</item> |
| <item name="android:paddingBottom">10dp</item> |
| </style> |
| |
| <style name="ChipDeleteIconStyle" parent="@style/ChipDeleteIconBaseStyle"> |
| <item name="android:paddingLeft">8dp</item> |
| </style> |
| </resources> |