日期那一行不需要写进listview中吧

解决方案 »

  1.   

    估计是你显示当前日期的代码不对吧TextView myTextView = (TextView)findViewById(R.id.myTextView);      
            Time time = new Time("GMT+8");       
            time.setToNow();      
            int year = time.year;      
            int month = time.month;      
            int day = time.monthDay;         
            myTextView.setText("当前时间为:" + year +  "年 " + month + "月 " + day + "日 " );