Use grid layout and read config from XML setup.