I want to align the contents of the TextView according to the language (use gravity = right for Hebrew, Arabic, etc.). I tried to find a resource folder suffix such as layout-ltr or some API to help me set gravity programmatically, but I could not find. Is there a general way to do this?
source share