Removing hard coding for activity layouts.