<?
xml
version
=
"1.0"
encoding
=
"utf-8"
?>
<
selector
xmlns:android
=
"http://schemas.android.com/apk/res/android"
>
<
item
android:state_enabled
=
"true"
android:state_pressed
=
"true"
android:drawable
=
"@drawable/jbbtn_pressed"
/>
<
item
android:state_enabled
=
"true"
android:drawable
=
"@drawable/jbstyle_transparent"
/>
<
item
android:state_enabled
=
"false"
android:drawable
=
"@drawable/jbbtn_disabled"
/>
</
selector
>
My LinearLayout
<
LinearLayout
android:id
=
"@+id/llCurrents"
android:background
=
"@drawable/jbbtn"
android:layout_width
=
"wrap_content"
android:layout_height
=
"match_parent"
android:layout_alignParentBottom
=
"true"
android:layout_alignParentLeft
=
"true"
android:layout_alignTop
=
"@+id/llTimer"
android:layout_below
=
"@id/btnMenu"
android:layout_marginRight
=
"3sp"
<
给我老师的人工智能教程打call!http://blog.csdn.net/jiangjunshow
发表评论 取消回复