读书人

TextView myTextView=(TextView)findV

发布时间: 2013-09-09 20:31:09 作者: rapoo

TextView myTextView=(TextView)findViewById(R.id.myTextView);报错
TextView myTextView=(TextView)findViewById(R.id.myTextView);

报错:TextView cannot be resolved to a type

这是由于什么造成的呀?
[解决办法]
没加import android.widget.TextView;

读书人网 >Android

热点推荐