예제 #1
0
 /**
  * 添加头部的年份 闰哪月等信息
  *
  * @param view
  */
 public void addTextToTopTextView(TextView view) {
   StringBuffer textDate = new StringBuffer();
   // draw = getResources().getDrawable(R.drawable.top_day);
   // view.setBackgroundDrawable(draw);
   textDate
       .append(adapter.getShowYear())
       .append("年")
       .append(adapter.getShowMonth())
       .append("月")
       .append("\t");
   view.setText(textDate);
 }