1.设置背景图片,图片来源于drawable;
flightInfoPanel.setBackgroundDrawable(getResources().getDrawable(R.drawable.search_label_click));
2.转换字符串为int(颜色);
listItemView.deleteFilghtBg.setBackgroundColor(Color.parseColor("#F5F5DC"));
1.设置背景图片,图片来源于drawable;
flightInfoPanel.setBackgroundDrawable(getResources().getDrawable(R.drawable.search_label_click));
2.转换字符串为int(颜色);
listItemView.deleteFilghtBg.setBackgroundColor(Color.parseColor("#F5F5DC"));
Artemis高级用法
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M