Android : ListView to open a submenu

view story

http://stackoverflow.com – I have a listview in my layout file and i have used each item in my listview to open a specific activity. But now i want that when user clicks on a particular listview, it opens a sub-menu of its own not the traditional sub-menu. Here is my java class: package com.example.cprograms; import android.app.ListActivity; import java.lang.String; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.widget.AdapterView; import android.widget.AdapterView.OnItemClickListener; import android.widget.ArrayAdapter; import android.widget.ListView; public clas (HowTos)