title: math formulas in xml strings
body: <p>I have wondered how to write math formulas in XML file like strings and then show them in TextView. E.g. like those formulas where negligible geometric progression formula.</p>
  
  <p>And in addition;</p>
  
  <p>I have  a problem crating text in single line.</p>
  
  <p>Here is my TextView in LinearLayout.</p>
  
  <pre><code>    &lt;TextView
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:text="@string/some" &gt;
     &lt;/TextView&gt;
  </code></pre>
  
  <p>and on virtual android device i get only like 50 chars... I have tried to use: </p>
  
  <pre><code>    android:singleLine="true"
      android:ellipsize="end"
      android:maxLines="1"
  </code></pre>
  
  <p>Here is what I want: get text smaller if it needs to be and fit to screen in single line without any chars missing.</p>