OSDN Git Service

Set the color primary variant for material design
authorSunny Shao <sunnyshao@google.com>
Mon, 3 Dec 2018 11:12:31 +0000 (19:12 +0800)
committerSunny Shao <sunnyshao@google.com>
Tue, 4 Dec 2018 09:52:27 +0000 (17:52 +0800)
commitda01c0fc912220cd19574f0b8de9fc1ff23f7c74
tree6db4f2c744296382c6c933ba2705556e491ff007
parentc28cc9dbe836fa052c31eacb03d8c6409c04da55
Set the color primary variant for material design

Added the color of the colorPrimaryVariant to avoid the run time exception
while load the MaterialCardView resource.
Modified the test case for the new version material design library.

Bug: 118886724
Test: robotest
Change-Id: I55791b8eef2263587b2ae3d7a2f5b9da9929fc9a
res/values/themes.xml
tests/robotests/res/values/themes.xml
tests/robotests/src/com/android/settings/homepage/contextualcards/conditional/ConditionContextualCardRendererTest.java
tests/robotests/src/com/android/settings/homepage/contextualcards/conditional/ConditionHeaderContextualCardRendererTest.java
tests/robotests/src/com/android/settings/homepage/contextualcards/legacysuggestion/LegacySuggestionContextualCardRendererTest.java
tests/robotests/src/com/android/settings/homepage/contextualcards/slices/SliceContextualCardRendererTest.java