I'm totally beginner in Java and Android programming.
Now I wan to show up button when a method is run. But the button is already placed on the screen.
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
// set the listener for the button
mConfrimButtton = (Button) findViewById(R.id.confirm_button);
}
public void aMethod {
// show up the button when doing this method but the button is already shown up
}
How can I do it?