title: Android: Right-To-Left or Left-To-Right layout design based on location
body: <p>I'd like to have different <code>layout</code> design based on <code>location</code>. actually I know we can have different layout based on mobile device size.</p>
  
  <p>As you know Android has very good feature that you can inflate all texts in your application based on location which is called <a href="https://developer.android.com/distribute/tools/localization-checklist.html?utm_source=udacity&amp;utm_medium=course&amp;utm_campaign=android_basics#manage-strings" rel="nofollow noreferrer">Localization</a>.</p>
  
  <p>I am looking for a kind of similar feature that force my android app to inflate suitable layout design based on location.</p>
  
  <p>In Persian and Arabic, the orientation of components is better to be <code>Right-To-Left</code>, although it is possible by designing exact wanted layout, but i don't know how to make it international because regardless of size, I need to have different layout design orientation based on user location, like USA, Germany, Iran and etc.</p>
  
  <p>Is there any easy and automatic way to change layout orientation from <code>left-to-right</code> to <code>right-to-left</code> based on user location? I've checked similar <a href="https://stackoverflow.com/questions/22752565/android-app-ui-orientation-in-right-to-left-languages-arabic-hebrew-and-persi">question</a> in stackoverflow, but that solution is not my aim and goal.</p>
  
  <p>thank you :-) </p>