Dynamic loading of custom view files based on the current platform