title: How to get screen width from within a HorizontalScrollView
body: <p>I want to create a view which contains several elements and which <em>can</em> get wider than the screen. Therefore I put it in a <code>HorizontalScrollView</code> :</p>
  
  <pre><code>&lt;HorizontalScrollView
          android:layout_width="fill_parent"
          android:layout_height="400dp"
          android:id="@+id/horizontalScrollView" &gt;
  
  &lt;view class="com.hb.examples.myapplication2.app.ui.controls.LineGraphView"
        android:layout_width="wrap_content"
        android:layout_height="fill_parent"
        android:id="@+id/line_chart"/&gt;
  
  &lt;/HorizontalScrollView&gt;
  </code></pre>
  
  <p>The containing View <em>can</em> get wider, but don't have to. When its smaller than the screen I want to be it as wide as possible without displaying the Scrollbar. So how do I get the Screenwidth to return in to Android via <code>setMeasuredDimension</code> in <code>onMeasure</code>?</p>