Created a new java class (Splash) and added onCreate method and defined the setContentView