I use following code:
public class Settings extends Activity implements OnClickListener { private Activity activity; private AlertDialog.Builder bui
The reason it is not showing is that .show() was not called on the AlertDialog
.show()
AlertDialog
@Override public void onClick(View v) { // TODO Auto-generated method stub switch (v.getId()) { case R.id.bAdd: AlertDialog dialog = builder.create(); dialog.show(); break; } }