¿Cómo se muestra un CalendarView en un AlertDialog?

Estoy tratando de mostrar el CalendarView en un cuadro de diálogo de alerta, pero todo lo que aparece es el mes / año y los días de la semana. Estos son los contenidos del archivo de diseño:

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/myLayout" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" > <CalendarView android:id="@+id/calendarID" android:layout_width="match_parent" android:layout_height="match_parent" android:contentDescription="@string/cal_desc" android:maxDate="01/01/2013" android:minDate="09/01/2012" android:showWeekNumber="false" android:tag="my tag" /> </LinearLayout> 

Este es el código que usé para añadir el diseño a un AlertDialog:

 LayoutInflater inflater = (LayoutInflater)getApplicationContext().getSystemService (Context.LAYOUT_INFLATER_SERVICE); LinearLayout ll= (LinearLayout)inflater.inflate(R.layout.myLayout, null, false); CalendarView cv = (CalendarView) ll.getChildAt(0); cv.setOnDateChangeListener(new OnDateChangeListener() { @Override public void onSelectedDayChange(CalendarView view, int year, int month, int dayOfMonth) { // TODO Auto-generated method stub initScheduleEvent(); } }); new AlertDialog.Builder(MomAppActivity.this) .setTitle("Event Calendar") .setMessage("Click to schedule or view events.") .setView(ll) .setPositiveButton("Ok", new DialogInterface.OnClickListener() { public void onClick(DialogInterface dialog, int whichButton) { //do nothing...yet } }).setNegativeButton("Cancel", new DialogInterface.OnClickListener() { public void onClick(DialogInterface dialog, int whichButton) { // Do nothing. } } ).show(); 

Cualquier ayuda sería muy apreciada ya que estoy completamente perplejo. La aplicación no me está dando ningún error para continuar.

FlipAndroid es un fan de Google para Android, Todo sobre Android Phones, Android Wear, Android Dev y Aplicaciones para Android Aplicaciones.