Hi i am working the first time with dialogs. i want to create a dialog after an item in a listView was clicked:
String[] listItems = {\"Colour\", \"Font Size
just use
public void onItemClick(AdapterView> parent, View
view, int position, long id)
{
String[] listItems = {"Colour", "Font Size",};
if(listItems[position].equals("Font Size"))
{
AlertDialog.Builder builder = new AlertDialog.Builder(getActivity());
builder.setTitle("Choose Font Size").show();
}
}