Made layout call public, so that it can be called after changing cornerRadius, so the change takes immediate effect.