title: how to design right to left linear layout
body: <p>First sorry about my weak English language!</p>
  
  <p>I designed a layout. This is part of the layout:</p>
  
  <pre><code> &lt;ScrollView
      android:id="@+id/scrollView1"
      android:layout_width="fill_parent"
      android:layout_height="fill_parent"
      android:padding="5dip" &gt;
  
      &lt;LinearLayout
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          android:background="@drawable/shape_details"
          android:orientation="vertical"
          android:padding="10dip" &gt;
  
          &lt;LinearLayout
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:gravity="right" &gt;
  
              &lt;TextView
                  android:id="@+id/txt_details_ostan"
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:gravity="right"
                  android:text="Medium Text"
                  android:textAppearance="?android:attr/textAppearanceMedium"
                  android:textColor="#0000FF" /&gt;
  
  
              &lt;TextView
                  android:id="@+id/textView3"
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:text="استان"
                  android:textAppearance="?android:attr/textAppearanceMedium"
                  android:textColor="#AA0000" /&gt;
          &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>Preferred language direction is right to left. The red colors are topic, and the blue ones are text that will read from database. </p>
  
  <p>The problem is that the text has many characters and when shown in this layout, the topic will be disappeared  because of my layout is "left to right" and the text fill all layout.</p>
  
  <p>I searched a lot but I can't find any way to change the layout "right to left".</p>