I am using cardView library from google which works fine as expected on version 4.2 and above where I am setting its background color to white. But however on 4.1.2 its rendering a black background and all padding are also lost.
<android.support.v7.widget.CardView android:id="@+id/all_goals_card_view" android:layout_height="wrap_content" android:layout_width="wrap_content" android:layout_marginRight="20dp" android:layout_marginLeft="20dp" android:layout_gravity="center" android:layout_marginTop="20dp" android:layout_marginBottom="20dp" android:padding="10dp" app:cardCornerRadius="4dp" card_view:cardPreventCornerOverlap="false" card_view:cardBackgroundColor="#ffffff" /> -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. To post to this group, send email to android-developers@googlegroups.com. Visit this group at https://groups.google.com/group/android-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/58da3893-3625-43fb-95aa-e64bb6e08e51%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.