You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
140 lines
6.6 KiB
140 lines
6.6 KiB
<?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">
|
|
<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="ChipAutocompleteDividerStyle.PermissionItem">
|
|
<item name="android:background">@drawable/chip_autocomplete_divider_background</item>
|
|
<item name="android:layout_height">3dp</item>
|
|
<item name="android:layout_marginLeft">0dp</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="ChipIndicatorTextStyle" parent="@style/ChipSubtitleStyle">
|
|
<item name="android:layout_marginTop">6dp</item>
|
|
<item name="android:gravity">center_vertical</item>
|
|
<item name="android:drawablePadding">4dp</item>
|
|
</style>
|
|
|
|
<style name="ChipPermissionStyle">
|
|
<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:textAlignment">viewStart</item>
|
|
<item name="android:textColor">@color/chips_dropdown_permission_text</item>
|
|
<item name="android:textSize">16sp</item>
|
|
<item name="android:text">@string/chips_permission_text</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">@dimen/chip_icon_padding</item>
|
|
</style>
|
|
|
|
<style name="ChipPermissionDismissIconStyle">
|
|
<item name="android:id">@android:id/icon2</item>
|
|
<item name="android:layout_width">wrap_content</item>
|
|
<item name="android:layout_height">wrap_content</item>
|
|
<item name="android:layout_gravity">center_vertical</item>
|
|
<item name="android:background">?android:attr/selectableItemBackground</item>
|
|
<item name="android:contentDescription">@android:string/cancel</item>
|
|
<item name="android:padding">@dimen/chip_icon_padding</item>
|
|
<item name="android:src">@drawable/chips_ic_close_24dp</item>
|
|
</style>
|
|
</resources>
|