title: Is android bug in load "layout-ldltr" layout against "layout-ldrtl" after orientation changed?
body: <p>In my project I have to create both <code>layout-ldltr</code> and <code>layout-ldrtl</code> layouts for <code>Right-To-Left</code> and <code>Left-To-Right</code> languages.</p>
  
  <p>I launch application for Right-To-Left language, and every thing is good.
  But when orientation changed, android load <code>layout-ldltr</code> layout against <code>layout-ldrtl</code>, although current <code>Locale</code> is set to RTL language!!!</p>
  
  <p>How can fix this problem?</p>
  
  <p>In <code>AndroidManifest.xml</code></p>
  
  <pre><code>&lt;application
      android:name=".QuranApplication"
      android:allowBackup="true"
      android:icon="@mipmap/ic_launcher"
      android:label="@string/app_name"
      android:supportsRtl="true"
      android:theme="@style/AppTheme"&gt;
  </code></pre>
  
  <p>In <code>layout-ldrtl\activity_main.xml</code> :</p>
  
  <pre><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:app="http://schemas.android.com/apk/res-auto"
  android:layout_width="match_parent"
  android:layout_height="match_parent"
  android:orientation="vertical"
  android:layoutDirection="rtl"&gt;
  
  &lt;include layout="@layout/toolbar" /&gt;
  
  &lt;android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:id="@+id/drawer_layout"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:layout_weight="1"
      android:layoutDirection="rtl"&gt;
  
      &lt;FrameLayout
          android:id="@+id/content_frame"
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          android:layoutDirection="rtl"/&gt;
  
      &lt;include
          layout="@layout/list_view"
          android:layout_width="@dimen/drawer_width"
          android:layout_height="match_parent"
          android:layout_gravity="start" /&gt;
  &lt;/android.support.v4.widget.DrawerLayout&gt;
  </code></pre>
  
  <p></p>
  
  <p><strong>UPDATE</strong></p>
  
  <p>After @JohanShogun comment, I change <code>android:layoutDirection="rtl"</code> to <code>android:layoutDirection="locale"</code>and problem solved for most items.</p>
  
  <p>In first photo all element are shown very good:</p>
  
  <p><a href="https://i.stack.imgur.com/EUkNn.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/EUkNn.jpg" alt="Portrait orientation"></a></p>
  
  <p>In landscape mode, in <a href="https://github.com/emilsjolander/StickyListHeaders" rel="nofollow noreferrer">StickyListHeader list view</a> in header item that sticking at top of screen, Android used from <strong>ltr</strong> layout!:</p>
  
  <p><a href="https://i.stack.imgur.com/f7iVz.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/f7iVz.png" alt="Lanscape orientation"></a></p>