I want my DatePicker and the button to be invisible in the begining. And when I press my magic button I want to setVisibility(View.Visible);
DatePicker
The problem
You can think it as a CSS style visibility & display.
This is View.VISIBLE : Content is displayed normally. This is View.INVISIBLE : Content is not displayed, but div still takes up place, but empty. This is View.GONE : Container div is not shown, you can say the content is not displayed.