Open Lucienest opened 4 years ago
Actually, the Toolbar has the background reference. You can see it inside the style "Widget.Shrine.Toolbar".
<style name="Widget.Shrine.Toolbar" parent="Widget.AppCompat.Toolbar">
<item name="android:background">?attr/colorAccent</item>
. . .
</style>
But, the reference is wrong, it refers to "?attr/colorAccent" instead of "?attr/colorPrimary" This issue from Java and Kotlin projects as well
android:background="@color/colorPrimary"
attribute is missing from the shr_product_grid_fragment.xml as a result the Toolbar Color appears to be Grayed out instead of showed in the Tutorial MDC-102