Updated night style for elevated cards

This commit is contained in:
Viktor De Pasquale 2019-10-12 16:11:05 +02:00
parent ff24bc0b68
commit 277298feae
2 changed files with 10 additions and 0 deletions

View File

@ -37,6 +37,7 @@
android:id="@+id/main_toolbar" android:id="@+id/main_toolbar"
style="?styleToolbar" style="?styleToolbar"
android:layout_width="match_parent" android:layout_width="match_parent"
android:background="@android:color/transparent"
app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintBottom_toBottomOf="parent"
app:layout_scrollFlags="noScroll" app:layout_scrollFlags="noScroll"
tools:title="Home" /> tools:title="Home" />

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="WidgetFoundation.Card.Elevated" parent="Widget.MaterialComponents.CardView">
<item name="cardBackgroundColor">?colorSurfaceVariant</item>
<item name="cardElevation">@dimen/l_25</item>
</style>
</resources>