title: EditText not scrolling horizontally
body: <p>I have created an EditText using:</p>
  
  <pre><code>    &lt;style name="foredits"&gt;
      &lt;item name="android:layout_width"&gt;wrap_content&lt;/item&gt;
      &lt;item name="android:layout_height"&gt;wrap_content&lt;/item&gt;
      &lt;item name="android:singleLine"&gt;true&lt;/item&gt;
      &lt;item name="android:maxLines"&gt;1&lt;/item&gt;
      &lt;item name="android:scrollHorizontally"&gt;true&lt;/item&gt;
      &lt;item name="android:typeface"&gt;monospace&lt;/item&gt;
      &lt;item name="android:imeOptions"&gt;actionNext&lt;/item&gt;
      &lt;/style&gt;
  </code></pre>
  
  <p>When creating the EditText,I put in a layout_weight,an id and a id as other attributes.I would like the EditText to scroll horizontally when:</p>
  
  <p>a.hint does not fit within the bounds of the edittext 
  b.text is being entered and the text goes past the right edge of the edittext's bounds</p>
  
  <p>Because,this has not been scrolling horizontally,I have also tried with a ScrollingMovementMethod</p>
  
  <pre><code>   edit_mul.setHorizontalScrollBarEnabled(true);
     edit_mul.setMovementMethod(new ScrollingMovementMethod());
  </code></pre>
  
  <p>This does not seem to work either.How do I get this working?</p>