Android CardView cardCornerRadius gap -



Android CardView cardCornerRadius gap -

i trying utilize new cardview ui widget in project on devices running android 2.3 there gap between cardview corners (see below).

this in xml file:

<android.support.v7.widget.cardview xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_gravity="center" app:contentpadding="50dp" app:cardcornerradius="50dp" android:layout_margin="10dp"> <view android:layout_width="50dp" android:layout_height="50dp" android:layout_gravity="center" android:background="@color/theme.apptheme.color" /> </android.support.v7.widget.cardview>

and way see in 3.2 qvga screen avd

in other device lg optimus sol, there veritcal gap.

is there anyway prevent happen?

i had same issue, seems solved lastly back upwards library update.

android android-layout android-view android-support-library

Comments

Popular posts from this blog

xslt - DocBook 5 to PDF transform failing with error: "fo:flow" is missing child elements. Required content model: marker* -

mediawiki - How do I insert tables inside infoboxes on Wikia pages? -

Local Service User Logged into Windows -