This adds setAnimateShowBeforeLayout() method to override the default behavior. With this change a button which is initially hidden (Visibility.GONE) can be animated in by calling show(). PiperOrigin-RevId: 338508716