title: Tabs Swipe direction in Right to Left Android app
body: <p>I have an Android app that has tabs. I want the app to be Right to Left.<br>
  I put android:supportsRtl="true" in the manifest file, and changed some of the elements to be android:layoutDirection="rtl".</p>
  
  <p>It changes everything to right to left, which is what I want, except that it reversed the swiping direction in the tabs- when you swipe to the left, it moves to the left tab, instead of the opposite from the swipe. I want to change it to make it a regular swipe.</p>
  
  <p>This is my code:</p>
  
  <pre><code>&lt;android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:app="http://schemas.android.com/apk/res-auto"
  xmlns:tools="http://schemas.android.com/tools"
  android:layout_width="match_parent"
  android:layout_height="match_parent"
  android:layout_gravity="right"
  android:fitsSystemWindows="true"
  android:id="@+id/drawer_layout"&gt;
  &lt;RelativeLayout
      android:layout_width="fill_parent"
      android:layout_height="fill_parent"
      android:layoutDirection="rtl"&gt;
      &lt;include
          android:id="@+id/toolbar"
          android:gravity="right"
          layout="@layout/toolbar" /&gt;
      &lt;LinearLayout
          android:orientation="vertical"
          android:layout_width="fill_parent"
          android:layout_height="fill_parent"
          android:id="@+id/main_layout"
          android:layout_below="@id/toolbar"&gt;
          &lt;com.refractored.PagerSlidingTabStrip
              android:id="@+id/tabs"
              android:layout_width="match_parent"
              android:layout_height="?attr/actionBarSize"
              android:background="?attr/colorPrimary"
              android:textColor="#ecf0f1"
              app:pstsShouldExpand="true"/&gt;
  
          &lt;android.support.v4.view.ViewPager
              android:id="@+id/pager"
              android:layout_width="match_parent"
              android:layout_height="0dp"
              android:layout_weight="1"
              tools:context=".MainActivity" /&gt;
      &lt;/LinearLayout&gt;
  &lt;/RelativeLayout&gt;
  &lt;android.support.design.widget.NavigationView
      android:layout_width="wrap_content"
      android:layout_height="match_parent"
      android:layout_gravity="start"
      android:id="@+id/nav_view"
      android:layoutDirection="rtl"
      app:headerLayout="@layout/header"
      app:menu="@menu/nav_menu" /&gt;
  &lt;/android.support.v4.widget.DrawerLayout&gt;
  </code></pre>
  
  <p>Hope you can help me.</p>
  
  <p>Thanks!</p>