has Gravity
Checks if the view has given gravity
Parameters
horizontal Gravity
relative horizontal gravity values to be matched
vertical Gravity
vertical gravity values to be matched
Checks if the view has given gravity
relative horizontal gravity values to be matched
vertical gravity values to be matched