Ver Mensaje Individual
  #1 (permalink)  
Antiguo 19/02/2013, 11:15
sheshito
 
Fecha de Ingreso: septiembre-2008
Mensajes: 257
Antigüedad: 15 años, 7 meses
Puntos: 4
Propiedad showdialog aparece tachado

Saludos, tengo una parte de codigo donde utilizo un "ShowDialog(DATE_DIALOG_ID)" pero el problema es que la palabra "showDialog" me aparece con una linea horizontal sobre ella..quisiera saber por que me sale asi...como solucionarla..gracias....pongo el una parte del codigo para que me ayuden gracias...

Código:
public void onCreate1(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);    
        setContentView(R.layout.activity_main);
      //This declares our GUI elements on the screen
        dateDisplay = (EditText) findViewById(R.id.dateDisplay);
        pickDate = (Button) findViewById(R.id.pickDate);
      //This will show the date picker for each click on the button
        pickDate.setOnClickListener(new View.OnClickListener() {
        //     @SuppressWarnings("deprecation")
			@SuppressWarnings("deprecation")
			public void onClick(View v) {
                   showDialog(DATE_DIALOG_ID);
                 //This will show us the current date
                   final Calendar c = Calendar.getInstance();
                   year = c.get(Calendar.YEAR);
                   month = c.get(Calendar.MONTH);
                   day = c.get(Calendar.DAY_OF_MONTH);
                   updateDate();
             }
            
        });
	 }