Put invisible item and other get in place

Asked

Viewed 359 times

0

I have a RadioGroup and a button underneath it, but this button is invisible until a certain moment, I can do the RadioGroup occupy the white space while the button is invisible ?

inserir a descrição da imagem aqui

1 answer

2


Place this button with the following property in xml:

android:visibility="gone"

When this button has to be displayed, you must do it via code:

botao.setVisibility(Button.VSIBLE);

Browser other questions tagged

You are not signed in. Login or sign up in order to post.