[WriteNote]Moved the resize on xml and not on java