getSupportActionBar using FragmentActivity

后端 未结 4 581

I\'m using fragment activity on one project, but it seems v4 support FragmentActivity doesn\'t has getSupportActionBar() method, and I need to use

4条回答
  •  情歌与酒
    2020-12-16 13:44

    The ActionBarActivity does support the method you require, and is a subclass of FragmentActivity. See: http://developer.android.com/reference/android/support/v7/app/ActionBarActivity.html

提交回复
热议问题