Button button = new Button();
Button button = (Button)findViewById(R.id.bt_button);
//让按钮显示灰色,失效
button.setEnabled(false);
转载于:https://www.cnblogs.com/sows/p/5121735.html
Button button = new Button();
Button button = (Button)findViewById(R.id.bt_button);
//让按钮显示灰色,失效
button.setEnabled(false);
转载于:https://www.cnblogs.com/sows/p/5121735.html