Display icons on FragmentPagerAdapter tabs
问题 This example is created in Xamarin using C#, if you know the answer in Java, I'll be able to convert it into C# too I'm using the FragmentPagerAdapter to display three different Fragments as Tabs. I'm able to display some text in the Tab headers like this: public override Java.Lang.ICharSequence GetPageTitleFormatted(int position) { return new Java.Lang.String("Tab: " + position); } This works just fine: I'm seeing three tabs with titles Tab: 0 , Tab: 1 and Tab: 2 . Now, I want to replace the