title: Formatting Specific Parts of a Listview Item
body: <p>So in my application I am using a ListView to display data from an ArrayList which holds objects. The data is displayed using the same method as the tutorial on the android developer website:</p>
  
  <pre><code>        // automatically adds a ListView to fill the entire screen of this activity
      setListAdapter(new ArrayAdapter&lt;Part&gt;(this, R.layout.list_item, Main.parts));
      ListView lv = getListView();        
  
      // allows the user to start typing to filter the list
      lv.setTextFilterEnabled(true);       
  
      // set the click listener for each list item
      lv.setOnItemClickListener(new OnItemClickListener() {
          @Override
          public void onItemClick(AdapterView&lt;?&gt; parent, View view, int position,
                  long id) {
              Toast.makeText(getApplicationContext(), ((TextView) view).getText(), Toast.LENGTH_SHORT).show();
          }
      });
  </code></pre>
  
  <p>The objects are currently displayed in each list_item:</p>
  
  <pre><code>&lt;!-- Defines the layout for each item being placed in the ListView. --&gt;
  &lt;TextView xmlns:android="http://schemas.android.com/apk/res/android"
  android:layout_width="fill_parent"
  android:layout_height="fill_parent"
  android:padding="10dp"
  android:textSize="16sp" &gt;
  &lt;/TextView&gt;
  </code></pre>
  
  <p>So I return each object as such:</p>
  
  <pre><code>    public String toString() {
      return "Item Number: " + itemNmbr + "\nPrice: " + price + "\nDescription: " + desc;
  }
  </code></pre>
  
  <p>An example of how the list currently looks:</p>
  
  <p><a href="http://imageshack.us/photo/my-images/689/devicet.png/" rel="nofollow">http://imageshack.us/photo/my-images/689/devicet.png/</a></p>
  
  <p>The problem is, I need to format the title separately from the data. (because it needs to be bold, and possibly spaced out a little further.)</p>
  
  <p>Any ideas? I'm currently testing on how to get two textviews to work together.</p>
  
  <p>Thank you!</p>