support drawable list dividers

getDrawable will return a ColorDrawable if the target resource is a @color. So this is compatible with both colors and drawables.