remove issue with setImageResource
add support for colorstatelist border colors