adding proper xml layouts and resources