How do I do when I click on botao1
and make botao2
and botao3
appear on the screen? I left botao2
and botao3
visibility = invisible
.
How do I do when I click on botao1
and make botao2
and botao3
appear on the screen? I left botao2
and botao3
visibility = invisible
.
This is simple to do, just use onClick
of botao1
to make others appear?
botao1.setOnClickListener( new OnClickListener( )
{
@Override
public void onClick( View v )
{
botao1.setVisibility( View.GONE ); //desaparece o 1
botao2.setVisibility( View.VISIBLE ); //aparece o 2
botao3.setVisibility( View.VISIBLE ); //aparece o 3
}
});