Search code examples
androidandroid-tabhostgreendroid

How to display GreenDroid and TabHost in the same view?


I have imported a library named GreenDroid to show an action bar in the Top of the activity and i want to add a TabHost in the same activity but the first one needs to extends GDActivity and the second extends TabActivity. I tried to define the 2 bars in the same class but i can't do multiple extends.i succeeded in displaying the 2 bars seperately but i want to make them in the same activity.


Solution

  • You should extend the GDTabActivity instead.