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;
}
実行時エラーが発生するのはなぜですか?