Refactor dimension differences out of layouts

This allows us to remove the duplication of layout views.

Instead, it delegates the dimension differences into separate resources which allows for better maintainability.