Forum Xamarin Xamarin.Android

Possible To Implement TabHost without TabActivity base class?

CodeMonkeyCodeMonkey GBMember ✭✭✭
edited October 2012 in Xamarin.Android

I need to add a set of Tabs to my activity but the examples provided only show how to implement this by setting the base class to TabActivty. Is it possible to use tabs without setting this base class?



  • CodeMonkeyCodeMonkey GBMember ✭✭✭

    Got this sorted, for anyone wondering use this code:

     LocalActivityManager mLocalActivityManager = new LocalActivityManager(this, false);
     TabHost host = (TabHost)FindViewById(Resource.Id.treatTabHost);
  • GrantKimseyGrantKimsey USMember

    +1 thank you for sharing your solution.

Sign In or Register to comment.