setTextGravity

sets gravity of the text. this only works when the width or setWidthRatio set explicitly.