title: image button in list view that is derived using sherlock list fragment
body: <p>I want to use <strong>image button</strong> in list view that is derived using <strong>sherlock list fragment</strong> when i click the button in the list..then i want show a dialog fragment..for this i want the syntax..
  My Xml file is </p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  android:id="@+id/manage_stocks"
  android:layout_width="fill_parent"
  android:layout_height="wrap_content" &gt;
  
  &lt;TextView
      android:id="@+id/lname"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_alignParentTop="true"
      android:layout_marginLeft="10dp"
      android:layout_marginTop="5dp"
      android:gravity="left"
      android:textColor="@android:color/black"
      android:textAppearance="?android:attr/textAppearanceLarge"
      /&gt;
  
  &lt;TextView
      android:id="@+id/lysymbol"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_alignLeft="@id/lname"
      android:layout_below="@id/lname"
      android:textColor="@android:color/black"
      android:textAppearance="?android:attr/textAppearanceMedium" /&gt;
  &lt;ImageButton
      android:id="@+id/alertbutton"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_alignParentRight="true"
      android:src="@drawable/alerts"/&gt;
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>some body help me to do this task</p>
  
  <p>Thanks for any help in future..</p>