Program: 142091
Project: 142091
Buggy source:
private void initView(){
  TextView weekday=(TextView)findViewById(R.id.gregdayofweek);
  ((TextView)myLayout.findViewById(R.id.pro3day)).setText(weekday.getText());
  weekday.addTextChangedListener(new TextWatcher(){
    @Override public void beforeTextChanged(    CharSequence s,    int start,    int count,    int after){
    }
    @Override public void onTextChanged(    CharSequence s,    int start,    int before,    int count){
    }
    @Override public void afterTextChanged(    Editable s){
      String content=s.toString();
      TextView pro3day=(TextView)findViewById(R.id.pro3day);
      pro3day.setText(content);
    }
  }
);
  Button decDay=(Button)myLayout.findViewById(R.id.decday);
  decDay.setOnClickListener(new OnClickListener(){
    @Override public void onClick(    View v){
      Date current=(Date)getMyGreg().getAnswer().getValue();
      Calendar cal=Calendar.getInstance();
      cal.setTime(current);
      cal.add(Calendar.DATE,-1);
      getMyGreg().setDate(new DateData(cal.getTime()));
    }
  }
);
  Button incrDay=(Button)myLayout.findViewById(R.id.incrday);
  incrDay.setOnClickListener(new OnClickListener(){
    @Override public void onClick(    View v){
      Date current=(Date)getMyGreg().getAnswer().getValue();
      Calendar cal=Calendar.getInstance();
      cal.setTime(current);
      cal.add(Calendar.DATE,1);
      getMyGreg().setDate(new DateData(cal.getTime()));
    }
  }
);
  Button incWeek=(Button)myLayout.findViewById(R.id.incweek);
  incWeek.setOnClickListener(new OnClickListener(){
    @Override public void onClick(    View v){
      Date current=(Date)getMyGreg().getAnswer().getValue();
      Calendar cal=Calendar.getInstance();
      cal.setTime(current);
      cal.add(Calendar.DATE,7);
      getMyGreg().setDate(new DateData(cal.getTime()));
    }
  }
);
  Button decWeek=(Button)myLayout.findViewById(R.id.decweek);
  decWeek.setOnClickListener(new OnClickListener(){
    @Override public void onClick(    View v){
      Date current=(Date)getMyGreg().getAnswer().getValue();
      Calendar cal=Calendar.getInstance();
      cal.setTime(current);
      cal.add(Calendar.DATE,-7);
      getMyGreg().setDate(new DateData(cal.getTime()));
    }
  }
);
}

Fixed version (ground truth):
private void initView(){
  TextView weekday=(TextView)findViewById(R.id.gregdayofweek);
  ((TextView)myLayout.findViewById(R.id.pro3day)).setText(weekday.getText());
  weekday.addTextChangedListener(new TextWatcher(){
    @Override public void beforeTextChanged(    CharSequence s,    int start,    int count,    int after){
    }
    @Override public void onTextChanged(    CharSequence s,    int start,    int before,    int count){
    }
    @Override public void afterTextChanged(    Editable s){
      String content=s.toString();
      TextView pro3day=(TextView)findViewById(R.id.pro3day);
      pro3day.setText(content);
    }
  }
);
  Button decDay=(Button)myLayout.findViewById(R.id.decday);
  decDay.setOnClickListener(new OnClickListener(){
    @Override public void onClick(    View v){
      Date current=(Date)getAnswer().getValue();
      Calendar cal=Calendar.getInstance();
      cal.setTime(current);
      cal.add(Calendar.DATE,-1);
      setDate(new DateData(cal.getTime()));
    }
  }
);
  Button incrDay=(Button)myLayout.findViewById(R.id.incrday);
  incrDay.setOnClickListener(new OnClickListener(){
    @Override public void onClick(    View v){
      Date current=(Date)getAnswer().getValue();
      Calendar cal=Calendar.getInstance();
      cal.setTime(current);
      cal.add(Calendar.DATE,1);
      setDate(new DateData(cal.getTime()));
    }
  }
);
  Button incWeek=(Button)myLayout.findViewById(R.id.incweek);
  incWeek.setOnClickListener(new OnClickListener(){
    @Override public void onClick(    View v){
      Date current=(Date)getAnswer().getValue();
      Calendar cal=Calendar.getInstance();
      cal.setTime(current);
      cal.add(Calendar.DATE,7);
      setDate(new DateData(cal.getTime()));
    }
  }
);
  Button decWeek=(Button)myLayout.findViewById(R.id.decweek);
  decWeek.setOnClickListener(new OnClickListener(){
    @Override public void onClick(    View v){
      Date current=(Date)getAnswer().getValue();
      Calendar cal=Calendar.getInstance();
      cal.setTime(current);
      cal.add(Calendar.DATE,-7);
      setDate(new DateData(cal.getTime()));
    }
  }
);
}