摘要: 该配置文件放在res/drawable目录下,以一个Button为例-定义了按钮的一般状态、获得焦点状态和按下时的状态:button_selector.xml<?xml version="1.0" encoding="utf-8"?><selector xmlns:android="http://schemas.android.com/apk/res/android"> <item android:state_pressed="true" > <shape> < 阅读全文
posted @ 2012-10-07 17:04 WenEric 阅读(364) 评论(0) 推荐(0) 编辑
摘要: android:backgroundandroid:clickableandroid:fadingEdgeandroid:fadingEdgeLengthandroid:focusableandroid:longClickableandroid:minHeight/android:minWidthandroid:nextFocusDownandroid:nextFocusLeft/android:nextFocusRight/android:nextFocusUpandroid:saveEnabledandroid:scrollX/android:scrollYandroid:scrollba 阅读全文
posted @ 2012-10-07 15:39 WenEric 阅读(837) 评论(0) 推荐(0) 编辑