title: Android Textview wrap imageview
body: <p>What I am trying to do is wrap the textview around the imageview so that way the text isn't just on the left or right side of the image. Is it possible to do this through XML? As it is a popup dialog with a picture, so doing it through code will be a pain as it is multiple images depending on what they click. See picture for example.</p>
  
  <p><img src="https://i1.wp.com/www.webstockbox.com/wp-content/uploads/2008/01/wrap_text_around_images.gif?w=810" alt="image"></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  android:layout_width="fill_parent"
  android:layout_height="fill_parent"
  android:orientation="vertical"
  android:background="@android:color/background_light"&gt;
  &lt;LinearLayout
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:orientation="vertical"
      android:layout_margin="1dp"
      android:background="@android:color/darker_gray"&gt;
      &gt;
      &lt;ScrollView
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"&gt;
  
          &lt;RelativeLayout
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:orientation="vertical"
              android:layout_margin="20dp"&gt;
  
              &lt;Button
                  android:id="@+id/dismiss"
                  android:layout_width="fill_parent"
                  android:layout_height="wrap_content"
                  android:text="Close" /&gt;
  
              &lt;ImageView
                  android:id="@+id/IV1"
                  android:layout_width="100dp"
                  android:layout_height="100dp"
                  android:src="@drawable/IV1"
                  android:layout_below="@+id/dismiss"
                  android:layout_alignParentLeft="true"
                  android:layout_alignParentStart="true" /&gt;
  
              &lt;TextView
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:text="@string/TV15"
                  android:id="@+id/TV15"
                  android:layout_below="@+id/dismiss"
                  android:layout_toRightOf="@+id/IV1"
                  android:layout_toEndOf="@+id/IV1"
                  android:paddingLeft="5dp"
                  android:paddingTop="5dp"/&gt;
          &lt;/RelativeLayout&gt;
      &lt;/ScrollView&gt;
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p></p>