Android TableLayout中的某些选项卡无法在ICS上呈现

Android TableLayout中的某些选项卡无法在ICS上呈现,android,google-maps,listview,render,android-tablayout,Android,Google Maps,Listview,Render,Android Tablayout,我在我的应用程序中实现了TabLayout,除运行ICS的samsung测试设备外,它在所有测试设备上都能正常工作。一个选项卡显示地图它工作正常(第一个图像),但当按下包含正常数据的下一个选项卡时,选项卡内容出现损坏(第二个图像) 令人惊讶的是,滑动操作不会产生相同的问题(即,当您在选项卡1上并向左滑动时,第二个选项卡正确呈现,我们可以正确看到屏幕!)。(第三幅图像) 还有一个发现是,从损坏的标签页从应用程序中截取屏幕快照,并不能捕捉到当前的情况!这张照片显示了完美的视野!!(第四幅图像) 我想

我在我的应用程序中实现了TabLayout,除运行ICSsamsung测试设备外,它在所有测试设备上都能正常工作。一个选项卡显示地图它工作正常(第一个图像),但当按下包含正常数据的下一个选项卡时,选项卡内容出现损坏(第二个图像

令人惊讶的是,滑动操作不会产生相同的问题(即,当您在选项卡1上并向左滑动时,第二个选项卡正确呈现,我们可以正确看到屏幕!)。(第三幅图像

还有一个发现是,从损坏的标签页从应用程序中截取屏幕快照,并不能捕捉到当前的情况!这张照片显示了完美的视野!!(第四幅图像

我想知道是否有人面临类似的问题,或者有什么建议


XML文件:

<LinearLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical">

    <android.support.design.widget.AppBarLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar">

        <android.support.design.widget.TabLayout
            android:id="@+id/tabs"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            app:tabMode="fixed"
            app:tabGravity="fill"/>

    </android.support.design.widget.AppBarLayout>

    <android.support.v4.view.ViewPager
        android:id="@+id/viewpager"
        android:layout_width="match_parent"
        android:layout_height="match_parent" />

</LinearLayout>

2。第二张图片:

3。第三张图片:

4。第四张图片: