title: How we can provide the font style to text in ListView
body: <p>I want to customize my  ListView.I change the color of the text in list_view but i unable to change the font style of the  ListView text.i provide the font family to the text but it does not show any changes related to the font.</p>
  
  <p>this is what i have done so far...</p>
  
  <p><strong>XML</strong>  </p>
  
  <pre><code> &lt;TextView
          android:id="@+id/txt"
          android:layout_width="match_parent"
          android:layout_height="40sp"
          android:gravity="center_vertical"
          android:textColor="@color/aqua"
          android:fontFamily="@raw/chocd"
          android:textSize="25sp"
           /&gt;
  </code></pre>
  
  <p><strong>Code</strong></p>
  
  <pre><code>ArrayAdapter&lt;String&gt; adapter = new ArrayAdapter&lt;String&gt;(this,                                         R.layout.listview_layout,R.id.txt,list1);
  listview.setAdapter(adapter);
  </code></pre>