Switched map to two linear layouts