adapte layout