setTextGravity

sets gravity of the text.