phone.setFocusableInTouchmode(true);
phone.setClickable(true);
email.setEnabled(true);
email.setFocusableInTouchmode(true);
email.setClickable(true);
street.setEnabled(true);
street.setFocusableInTouchmode(true);
street.setClickable(true);
place.setEnabled(true);
place.setFocusableInTouchmode(true);
place.setClickable(true);
return true;
case R.id.Delete_Contact:
AlertDialog.Builder builder = new AlertDialog.Builder(this);
builder.setMessage(R.string.deleteContact)
.setPositiveButton(R.string.yes, new DialogInterface.OnClickListener() {
public void onClick(DialogInterface dialog, int id) {
mydb.deleteContact(id_To_Update);
Toast.makeText(getApplicationContext(), "Deleted Successfully",
Do'stlaringiz bilan baham: |