我遇到了以下活动的问题
public class MainActivity extends FragmentActivity implements UpdateActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.tabbed_main_activity); <-- error here
我收到了以下错误:Cannot resolve method setContentView(int)
我做错了什么?
PS:我还与http://developer.android.com/training/basics/fragments/fragment-ui.html
进行了交叉核对