Disable buttons and change the text of all buttons..



This content originally appeared on DEV Community and was authored by Anoop Patel

change button text

 public void disable(View v){
        v.setEnabled(false);
        Button button = (Button) v;
        button.setText("Disabled");
    }


This content originally appeared on DEV Community and was authored by Anoop Patel