我用三个选项卡实现了FragmentTabHost。当更换标签时,它们工作得很好。但是,选项卡的每个片段中的内容都超出了屏幕区域。如下所示:以下是我的代码:public class TestFragment extends Fragment implements OnTabChangeListener{
private FragmentTabHost mTabHost;
我遵循官方的android教程,在我的导航抽屉的一个片段中插入滑动选项卡布局。 import android.support.v4.app.FragmentActivity;
import android.support.v4.app.FragmentTabHostdemonstrates how you can implement switching between t