Setting custom layout for different device and orientation