add weights to the main activity views