注意 Color State List Resource 与 Color不同,前者是颜色状态表.根据不同状态显示不同颜色,它是State list,里面有多种颜色,后者只是一个颜色. Color State List Resource A ColorStateList is an object you can define in XML that you can apply as a color, but will actually change colors, depending on the…