Q:

android: Using Gravity.Start or Gravity.End before api-level 14

due to problems with Hebrew language (RTL) inside EditText in Some Samsung devices on some ROMs:
when the gravity is set to the Right or Left, the cursor is stuck on the right side of the EditText and won't move along with the inserted text.
Gravity.Start solved this for api levels >=14.
is there a way to use the Gravity.Start and Gravity.End attributes before api-level 14?
Thanks,
Raz

A:

As stated here -
Although the constants are only defined in API 14 [0], they are backward compatible because

They're inlined at compile time
They're functionally equivalent to LEFT and RIGHT on earlier devices because of their least-significant bytes.

A:

There are GravityCompat.START and GravityCompat.END.
See GravityCompat.

