selector、ColorStateList与StateListDrawable
参考:
Android ColorStateList 与StateListDrawable
android的ColorStateList简单使用
xml中selector:
定义:
txt_bg.xml:
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.c...
原创
2019-02-27 17:25:12 ·
206 阅读 ·
0 评论