title: How to change the font size of an textview element in Android?
body: <p>I am trying to display 2 items in a TextView. Is their any way to change the font of the single item in a TextView?</p>
  
  <p>Here is the XML which I am using </p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:orientation="vertical" &gt;
  
      &lt;TextView
          android:gravity="center_horizontal"
          android:paddingTop="5dp"
          android:paddingBottom="5dp"
          android:id="@+id/Rowtext"
          android:layout_width="fill_parent"
          android:layout_height="wrap_content"
          android:orientation="vertical"
          android:text="Listiems"
          android:background="@drawable/customshape"
           /&gt;
  
  &lt;/LinearLayout&gt;
  </code></pre>