选中时和未选中时的背景颜色和文字颜色的改变

1.在你的项目Res--drawable--选中右键new--Drawable resource filehtml 2.在里面写代码android <selector xmlns:android="http://schemas.android.com/apk/res/android"> <!--true 是你选中时的状态 drawable="@color/baise" 这里你也能够
相关文章
相关标签/搜索