android - Cardview, cardCornerRadius not working -
i'm trying set cards cardcornerradius
not working.
take code below:
cardview last property cardcornerradius
<android.support.v7.widget.cardview xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:id="@+id/user_card_view" android:layout_width="match_parent" android:layout_height="@dimen/card_height" android:layout_gravity="center" android:layout_marginbottom="@dimen/md_keylines" android:layout_marginleft="@dimen/md_keylines" android:layout_marginright="@dimen/md_keylines" android:foreground="?attr/selectableitembackground" android:theme="@style/themeoverlay.appcompat.dark.actionbar" app:cardcornerradius="3dp">
dependencies
compile 'com.android.support:appcompat-v7:23.3.0' compile 'com.android.support:design:23.3.0' compile 'com.android.support:cardview-v7:23.3.0'
i didn't error in console, don't know happening.
any idea how it?
thanks!
use card_view:cardcornerradius="x"
Comments
Post a Comment