add adapative layout