我有搜索活動與edittext和按鈕,我想禁用多個點擊按鈕,我怎麼能?Android按鈕禁用多個點擊
final Button searchViewButton = (Button) findViewById(R.id.search_search);
searchViewButton.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
startFirstTime();
}
});
取悅了答案 – 2015-05-22 12:52:47