getSupportActionBar using FragmentActivity

后端 未结 4 577

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:55

    Sameera getSupportActionBar() is the new way to get the ToolBar. In fact, ActionBar is now deprecated in Google Material Design.

提交回复
热议问题