hasGravity

public Unit hasGravity(Integer horizontalGravity, Integer verticalGravity)

Checks if the view has given gravity

Parameters

horizontalGravity

relative horizontal gravity values to be matched

verticalGravity

vertical gravity values to be matched