-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Chip] Add theme overlays supported on API < 23
Resolves #3245 GIT_ORIGIN_REV_ID=d1cb53cbd4d8ae8ae1fc97d4599c4d2fceea71a8 PiperOrigin-RevId: 511250546
- Loading branch information
1 parent
9458359
commit fd0c815
Showing
2 changed files
with
30 additions
and
2 deletions.
There are no files selected for viewing
28 changes: 28 additions & 0 deletions
28
lib/java/com/google/android/material/chip/res/values-v23/styles.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- | ||
~ Copyright (C) 2021 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="ThemeOverlay.Material3.Chip" parent=""> | ||
<!-- To tint vector drawables used as leading icons --> | ||
<item name="colorControlNormal">@color/m3_chip_text_color</item> | ||
</style> | ||
|
||
<style name="ThemeOverlay.Material3.Chip.Assist" parent=""> | ||
<!-- To tint vector drawables used as leading icons --> | ||
<item name="colorControlNormal">@color/m3_assist_chip_icon_tint_color</item> | ||
</style> | ||
</resources> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters