Rename ATTRS to DEFAULT_ATTRS
Throw an IllegalArgumentException when a wrong value of layout_gravity is supplied