如何获取TextView的背景颜色?
当我按TextView时,我想根据正在使用的背景颜色更改背景颜色.
TextView没有如下方法:
getBackgroundResource()
编辑:我更喜欢获得背景颜色的resId.
android textview
android ×1
textview ×1