set Animate Show Before Layout
Sets whether to enable animation for a call to show show even if the view has not been laid out yet.
This may be set to true
if the button is initially hidden but should animate when later shown. The default is false
.