Change the theme to Theme.AppCompat. Add replaceFragment method to the main activity. Fix xml for the landing page activity and main activity