How to use Card view in android Studio
use dependency for card view :
1) implementation "androidx.cardview:cardview:1.0.0"
<androidx.cardview.widget.CardView android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal"
card_view:cardCornerRadius="2dp"
card_view:contentPadding="10dp"
card_view:cardElevation="30dp" app:cardBackgroundColor="@color/white">
</androidx.cardview.widget.CardView>
No comments:
Post a Comment