2016-09-20 8 views

Antwort

1

Versuchen Sie, diese

card.setCardBackgroundColor(R.drawable.circle) 

oder Sie könnten über xml

<android.support.v7.widget.CardView 
     android:layout_width="match_parent" 
     android:layout_height="wrap_content" 
     android:orientation="vertical" 
     card:cardBackgroundColor="#ff00ff" 
     card:cardElevation="4dp"> 

Hope this funktioniert versuchen.

Verwandte Themen