通过编程设置框架布局的前景颜色(不在XML属性中),有RGB颜色代码,怎么将颜色转换为drawable
frm.setForeground(Drawable);
请帮忙,多谢~
new ColorDrawable(color)