卡片背景怎么设置成圆角
anfeierde opened this issue · comments
请问卡片背景怎么设置成圆角?比如天猫首页功能模块的样式
// mEngine.register(CardSupport.class,new MyCardLoadSupport());
public class MyCardLoadSupport extends CardSupport {
@OverRide
public void onBindBackgroundView(View layoutView, Card card) {
JSONObject extras = card.extras;
Log.e("aaa","MyCardLoadSupport extras == "+extras);
layoutView.setBackground(layoutView.getResources().getDrawable(R.drawable.bg_shape));
// layoutView.setBackgroundColor(layoutView.getResources().getColor(R.color.colorPrimaryDark));
}
}