現在、以下のコードを使用しており、現在の日付をテキスト フィールドに表示できます。ただし、選択した日付を表示する方法がわかりません。
私も DatePicker を使用しましたが、選択した日付は問題なく表示されますが、CalendarView の方が好みです。ありがとう
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);