Put invisible item and another stay in place

0

I have a RadioGroup and a button underneath it, but this button is invisible until a certain moment, how can I make RadioGroup fill in the blank while the button is invisible?

    
asked by anonymous 12.05.2015 / 00:19

1 answer

2

Place this button with the following property in xml:

android:visibility="gone"

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

botao.setVisibility(Button.VSIBLE);
    
12.05.2015 / 23:19