Have you considered prepare a `launch_sreen.xml` for the layout to avoid the complex implementation.