public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
View v = inflater.inflate(R.layout.myfragment, container,false);
ImageView tv = (ImageView ) v.findViewById(R.id.imageView);
tv.setImageResource(R.drawable.h1);
return tv;
}
为什么我会收到运行时错误?