<?xml version="1.0" encoding="utf-8"?> <selector xmlns:android="http://schemas.android.com/apk/res/android"> <item android:state_selected="true" android:color="#ffffff"/> <item android:color="#66ffffff"/> <!-- not selected --> </selector>
actionbar的textcolor_selector.xml
原文:http://www.cnblogs.com/wjhblogs/p/4305083.html