TextView点击变色(selector)
1、新建:color/*.xml文件 2、内容:*.xml文件中的内容 <?xml version="1.0" encoding="utf-8"?>
3、目标TextView <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:textColor="@color/textview" android:clickable="true"/> (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |