android:clickable继承自View的xml属性,其值必须是boolean值,即true、false。该标签目的是设置button是否可以被点击。
<View android:clickable="false/true" /> btn_to.setClickable(false/true);
另外view的clickable属性和点击background颜色改变:http://blog.csdn.net/chenguang79/article/details/27490467