liujinchao / XSelectorUtil

一个可以用代码处理控件的阴影效果,及用代码在TextView、EditText、Button等控件设置selector背景(触摸反馈,样式变化、文字颜色变化、hint文字颜色变化等效果)的组件

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

这个可以在ImageView上设置吗

hfkai opened this issue · comments

commented
commented

如果使用background可以使用,不能使用设置字体颜色的属性,注意需要将ImageView的clickable属性置为true。

commented

圆角的ImageView也可以用这个?大佬可以写个例子吗?我试了下,好像不行

commented

把你的代码使用方法贴出来