app layout merge