title: android studio LinearLayout reverse Widgets/views
body: <p>LinearLayout reverse btn's the right one in Android studio become in the left on the device ( I use real device )</p>
  
  <p>in Generally it is Horizontal problem the right is left and opposite</p>
  
  <p><strong>On android studio design screen</strong></p>
  
  <p><a href="https://i.stack.imgur.com/TPGmA.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/TPGmA.png" alt="enter image description here"></a></p>
  
  <p><strong>On real device Galaxy S5</strong></p>
  
  <p><a href="https://i.stack.imgur.com/Xy7Tc.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Xy7Tc.png" alt="enter image description here"></a></p>
  
  <pre><code> &lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"&gt;
  &lt;LinearLayout
      android:orientation="horizontal"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"&gt;
      &lt;Button
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:text="1"
          android:id="@+id/button" /&gt;
      &lt;Button
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:text="2"
          android:id="@+id/button2" /&gt;
      &lt;Button
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:text="3"
          android:id="@+id/button3" /&gt;
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p></p>
  
  <p>I also tried <strong>GridLayout</strong> :</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  
  &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:orientation="horizontal"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"&gt;
  
      &lt;GridLayout
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"&gt;
  
          &lt;Button
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:text="1"
              android:id="@+id/button2"
              android:layout_row="0"
              android:layout_column="0" /&gt;
  
          &lt;Button
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:text="2"
              android:id="@+id/button"
              android:layout_row="0"
              android:layout_column="1" /&gt;
      &lt;/GridLayout&gt;
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>If it's matter :
  I use Ubuntu 14.04 LTS</p>
  
  <pre><code>Android-studio Version : 2.1.2
  The device: Samsung Galaxy S5 
  Android system Version : 5.0
  </code></pre>