title: how to define correctly a size in android view for all contents?
body: <p>I have defined a layout containing a <code>TextView</code>, an <code>ImageView</code> and a <code>Button</code>.</p>
  
  <p>In the xml file, I tried using a LinearLayout to contain these views.  That works correctly (I can see my <code>TextView</code> then my <code>ImageView</code> then my <code>Button</code>), but sometimes the <code>TextView</code> is too long and I can't see my <code>ImageView</code> and my <code>Button</code>.</p>
  
  <p>I tried <code>RelativeLayout</code>, but it didn't produce the intended result.</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  
  &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:orientation="vertical"
      android:layout_width="fill_parent"
      android:layout_height="fill_parent"
      android:background="@drawable/splash" &gt;
  
      &lt;TextView
          android:id="@+id/storybox"
          android:layout_width="fill_parent"
          android:layout_height="wrap_content"
          android:autoLink="all"
          android:layout_marginLeft="10dp"
          android:layout_marginRight="10dp"
          android:text="Texte"
          android:textAlignment="center"
          android:textColor="#FFFFFF"
          android:textSize="20px" /&gt;
  
      &lt;ImageView
          android:id="@+id/ivImage"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content" /&gt;
  
      &lt;Button android:id="@+id/image" 
          android:layout_width="wrap_content" 
          android:layout_height="wrap_content" 
          android:text="Images"
          android:onClick="onButtonDownUpActivityClick" /&gt; 
  
  &lt;/LinearLayout&gt;
  </code></pre>