applu to gadget.xml and fix layout size