在我的android应用程序中,我试图将图标添加到FragmentActivity中的ActionBar;但是,它仍然是空白的。本质上,我有一个FragmentActivity,它带有单独的Fragment,它们是像这样的可滚动标签:我想让操作栏有两个来自block.xml的图标我希望它看起来像这样:我正在努力遵循这个:onCreateOptionsMenunotbeingcalledonFragmentActivitywhenrunonphoneversion还有这个https://github.com/thecodepath/android_guides/wiki/ActionBa