Layouts Still LTR After Being "Forced" To RTL
<p>I've various layouts in my app, I've added a code to change the language, and by that it change the layout direction and did some steps, using those steps some of my layouts switched to RTL, but I've 2 layouts that still in LTR layout mode .</p>

<p>The Steps i did : </p>

<blockquote>
  <p>Add support RTL in AndroidManiFest.xml . </p>
  
  <p>Use "start/end" instead of"left/right" .</p>
</blockquote>

<p>Change lang Code : </p>

<pre><code>    Locale locale = new Locale("ar");
    Locale.setDefault(locale);
    Configuration config = new Configuration();
    config.locale = locale;
    context.getResources().updateConfiguration(config, context.getResources().getDisplayMetrics());
</code></pre>

<p>Screenshot : <a href="http://i.imgur.com/5K4k9VF.png" rel="nofollow">Here</a></p>

<p>Layout :</p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="10dp"

&gt;



&lt;android.support.v7.widget.CardView
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:card_view="http://schemas.android.com/apk/res-auto"
    android:layout_height="wrap_content"
    android:layout_width="match_parent"
    android:layout_marginTop="2.5dp"
    android:layout_marginBottom="2.5dp"
    card_view:cardUseCompatPadding="true"
    android:id="@+id/cardView"
    android:foreground="?attr/selectableItemBackground"
    android:stateListAnimator="@anim/lift_on_touch"&gt;

    &lt;RelativeLayout
        android:id="@+id/rvs"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"&gt;

        &lt;com.pkmmte.view.CircularImageView
            android:layout_width="50dp"
            android:layout_height="50dp"
            android:id="@+id/episode_icon"
            android:layout_alignParentTop="true"
            android:layout_alignParentRight="true"
            android:layout_alignParentEnd="true"
            android:layout_margin="10dp"
            app:border_color="#EEEEEE"
            app:border_width="0dp"
            app:shadow="false" /&gt;


        &lt;TextView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="عنوان"
            android:id="@+id/episode_title"
            android:layout_centerVertical="true"
            android:layout_toLeftOf="@+id/episode_icon"
            android:layout_toStartOf="@+id/episode_icon"
            android:layout_marginRight="11dp"
            android:layout_marginEnd="11dp" /&gt;

    &lt;/RelativeLayout&gt;

&lt;/android.support.v7.widget.CardView&gt;



&lt;/RelativeLayout&gt;
</code></pre>

<p>Back Arrow &amp; Activity Style : </p>

<pre><code>&lt;style name="Detail" parent="AppTheme"&gt;
    &lt;item name="toolbarStyle"&gt;@style/Widget.Toolbar&lt;/item&gt;
&lt;/style&gt;
&lt;style name="Widget.Toolbar" parent="@style/Widget.AppCompat.Toolbar"&gt;
    &lt;item name="navigationIcon"&gt;?attr/homeAsUpIndicator&lt;/item&gt;
    &lt;item name="android:background"&gt;?attr/colorPrimary&lt;/item&gt;
&lt;/style&gt;    &lt;style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar"&gt;
    &lt;!-- Customize your theme here. --&gt;
    &lt;item name="colorPrimary"&gt;@color/colorPrimary&lt;/item&gt;
    &lt;item name="colorPrimaryDark"&gt;@color/colorPrimaryDark&lt;/item&gt;
    &lt;item name="colorAccent"&gt;@color/colorAccent&lt;/item&gt;
    &lt;item name="windowActionBar"&gt;false&lt;/item&gt;
    &lt;item name="windowNoTitle"&gt;true&lt;/item&gt;
&lt;/style&gt;
</code></pre>

<p>In Android Studio, in RTL view mode, it's correct, but on the real testing, the arrow is in the wrong way, the items are in the wrong way, but the FAB is in the correct way which is weird .</p>