@@ -0,0 +1,1670 @@
+package com.github.keaume.amigo.ui;%0A%0Aimport android.app.DatePickerDialog;%0Aimport android.content.Context;%0Aimport android.view.View;%0Aimport android.widget.DatePicker;%0Aimport android.widget.TextView;%0A%0Aimport java.text.SimpleDateFormat;%0Aimport java.util.Calendar;%0Aimport java.util.Date;%0Aimport java.util.Locale;%0A%0Apublic class TextViewDatePickerDialog implements View.OnClickListener, android.app.DatePickerDialog.OnDateSetListener%7B%0A%0A    private final Context context;%0A    private final TextView dateTextView;%0A    private final Calendar calendar = Calendar.getInstance();%0A%0A    public TextViewDatePickerDialog(Context context, TextView dateTextView)%7B%0A        this.dateTextView = dateTextView;%0A        this.dateTextView.setOnClickListener(this);%0A        this.context = context;%0A%0A        calendar.set(Calendar.HOUR_OF_DAY, 0);%0A        calendar.set(Calendar.MINUTE,0);%0A        calendar.set(Calendar.SECOND, 0);%0A%0A        setTextViewText();%0A    %7D%0A%0A%0A    @Override%0A    public void onDateSet(DatePicker view, int year, int monthOfYear, int dayOfMonth) %7B%0A        calendar.set(year, monthOfYear, dayOfMonth);%0A%0A        setTextViewText();%0A    %7D%0A%0A    @Override%0A    public void onClick(View v) %7B%0A        DatePickerDialog dialog = new DatePickerDialog(context, this, calendar.get(Calendar.YEAR), calendar.get(Calendar.MONTH), calendar.get(Calendar.DAY_OF_MONTH));%0A        dialog.show();%0A    %7D%0A%0A    public Date getSetDate()%7B%0A        return calendar.getTime();%0A    %7D%0A%0A    private void setTextViewText()%7B%0A%0A        final SimpleDateFormat spinnerDateFormat = new SimpleDateFormat(%22dd.MM.yyyy%22, Locale.GERMANY);%0A        dateTextView.setText(spinnerDateFormat.format(calendar.getTime()));%0A    %7D%0A%7D%0A

Create TextViewDatePickerDialog.java