I tried to set textdirection and textAlignment from xml and programitaclly but it doesn't support rtl.