selector 后面资源设置,只能使用drawable 这个属性了, 后面则可以随意设置图片或者颜色资源。 注意,颜色资源要用引用的方式, 例如 @color/colorAccent、 另外,对不起,我错了。能放。