MainActivity.java中container 的错误
为什么我的MainActivity.java中MainActivity中的onCreate里面的if (savedInstanceState == null) { getSupportFragmentManager().beginTransaction() .add(R.id.container, new PlaceholderFragment()).commit(); 其中container有错误,但是container在R.java里注册还是提醒cannot be resolved or is not a field.