fixed layout of calculate activity