My question is similar to "How to put a CardView attribute in a style", but I need to go deeper.
I'm using AppCompat theme, and my styles looks like
style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
<item name="colorPrimary">@color/toolbar_color</item>
<item name="android:listViewStyle">@style/CustomListView</item>
</style>
and I create separate style for CardView
<style name="CustomCardView" parent="CardView">
<item name="cardBackgroundColor">@color/card_background</item>
<item name="cardCornerRadius">@dimen/card_corner</item>
</style>
Can I attach it to main style?