I have discovered what I think is a bug in FragmentTabHost.java which always generates a new layout for the tabhost even if a layout is specified. See the google discussion here.
I want to override this file in my project, but I encountered errors when I imported it into my project.
Does anyone know the right way to use my own copy of FragmentTabHost.java?
you can use this class, then extend your new class with this
FragmentTabHost.java