title: Android TextView right alignment on a right-to-left device
body: <p>I am writing an app that displays in the Hebrew language and for that I am right aligning TextView's text.
  While developing on a Nexus device all works great and texts are displayed as it should, using the android:gravity="right" for TextView.
  When I am running the same app on a local mobile carrier device (Israel) which is running a custom ROM all TextView widgets that were set with gravity="right" are appearing as if they were set as gravity="left". If I go and change the gravity to left (you guessed it..) it will align right.</p>
  
  <p>I have tried changing the default locale of the device back to US English using code and using the device configuration itself. Nothing helped.
  The carrier device I am working on is a Galaxy SII. </p>
  
  <p>Seems to me like who ever created the ROM just changed the align values and now right means left and left means right. The ROM is an official one from Samsung.</p>
  
  <p>Did anyone experienced this issue? Any ideas for solutions?</p>
  
  <p>What I've tried already:
  1. Changing the device locale from the settings menu.
  2. Changing the device locale programmatic.
  3. Forcing the root Layout in the layout file to left/right layout_gravity/gravity</p>
  
  <p>Only thing currently working is changing the gravity of the TextView to left, which means it stops working on global devices like the Nexus etc... </p>