Created
April 3, 2020 11:40
-
-
Save ricknout/e04acea7c815c393260081de4af43aff to your computer and use it in GitHub Desktop.
AppCompat to MDC-Android color update
This file contains hidden or 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
| <!-- Copyright 2020 Google LLC. | |
| SPDX-License-Identifier: Apache-2.0 --> | |
| <style name="Theme.App" parent="Theme.MaterialComponents.*"> | |
| ... | |
| <item name="colorPrimary">@color/navy_700</item> | |
| - <item name="colorPrimaryDark">@color/navy_900</item> | |
| + <item name="colorPrimaryVariant">@color/navy_900</item> | |
| - <item name="colorAccent">@color/green_300</item> | |
| + <item name="colorSecondary">@color/green_300</item> | |
| + <item name=”colorSecondaryVariant”>@color/green_500</item> | |
| + <item name="android:statusBarColor">@color/navy_900</item> | |
| </style> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment