Currently I am using code below and I can get current date to be dispalyed in Text field. However I have no idea how to display selected date.
I also used DatePicker and it displays selected date fine, however I would prefer CalendarView. Thanks
Calendar c = Calendar.getInstance();
SimpleDateFormat ss = new SimpleDateFormat("dd-MM-yyyy");
Date date = new Date();
String currentdate= ss.format(date);
TextView editText = (TextView) this.findViewById(R.id.textfield1);
editText.setText(currentdate);
in onCreate :