mirror of
https://github.com/material-components/material-components-android.git
synced 2026-02-20 08:39:55 +08:00
Fix MDC gradle build issues
- Include ripple in settings.gradle - Include theme in settings.gradle - Fix lint issue with chip style PiperOrigin-RevId: 175746835
This commit is contained in:
parent
ba49450b78
commit
98dcae7217
@ -1,23 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Copyright (C) 2016 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="Widget.Design.AppBarLayout" parent="Base.Widget.Design.AppBarLayout">
|
||||
<item name="android:stateListAnimator">@animator/design_appbar_state_list_animator</item>
|
||||
</style>
|
||||
|
||||
</resources>
|
||||
@ -186,11 +186,11 @@
|
||||
<item name="statusBarScrim">?attr/colorPrimaryDark</item>
|
||||
</style>
|
||||
|
||||
<style name="Base.Widget.Design.AppBarLayout" parent="android:Widget">
|
||||
<style name="Widget.Design.AppBarLayout" parent="android:Widget">
|
||||
<item name="android:background">?attr/colorPrimary</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.Design.AppBarLayout" parent="Base.Widget.Design.AppBarLayout">
|
||||
<item name="android:stateListAnimator" tools:ignore="NewApi">
|
||||
@animator/design_appbar_state_list_animator
|
||||
</item>
|
||||
</style>
|
||||
|
||||
<style name="TextAppearance.Design.CollapsingToolbar.Expanded" parent="TextAppearance.AppCompat.Display1">
|
||||
@ -217,7 +217,9 @@
|
||||
<item name="android:focusable">true</item>
|
||||
<item name="android:clickable">true</item>
|
||||
<item name="android:checkable">false</item>
|
||||
<item name="android:stateListAnimator">@animator/mtrl_chip_state_list_anim</item>
|
||||
<item name="android:stateListAnimator" tools:ignore="NewApi">
|
||||
@animator/mtrl_chip_state_list_anim
|
||||
</item>
|
||||
|
||||
<item name="chipIconEnabled">true</item>
|
||||
<item name="checkedIconEnabled">true</item>
|
||||
|
||||
@ -6,7 +6,9 @@ include ':lib:src:android:support:design:circularreveal:cardview'
|
||||
include ':lib:src:android:support:design:circularreveal:coordinatorlayout'
|
||||
include ':lib:src:android:support:design:math'
|
||||
include ':lib:src:android:support:design:resources'
|
||||
include ':lib:src:android:support:design:ripple'
|
||||
include ':lib:src:android:support:design:stateful'
|
||||
include ':lib:src:android:support:design:theme'
|
||||
include ':lib:src:android:support:design:toggle'
|
||||
include ':testing:java:android:support:design:testapp'
|
||||
include ':testing:java:android:support:design:testapp:backlayer'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user