Skip to content
This repository has been archived by the owner on Apr 3, 2020. It is now read-only.

使用TabHost+Viewpager+Fragment 切换时,出现页面部分重叠情况 #4023

Open
Y-JH opened this issue Dec 29, 2017 · 1 comment
Open

Comments

@Y-JH
Copy link

Y-JH commented Dec 29, 2017

使用TabHost+Viewpager+Fragment 方式,Fragment中嵌入的是:

<RelativeLayout
    android:id="@+id/re_web_container"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:layout_marginTop="44px">

    <org.xwalk.core.XWalkView
        android:id="@+id/mXWalkView"
        android:background="@color/white"
        android:scrollbarAlwaysDrawVerticalTrack="true"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:orientation="vertical"/>
</RelativeLayout>

然后,在点击tab进行页面切换的时候,出现页面的重叠,部分被覆盖的情况。我使用了小米Note、米6荣耀8 都是没问题的。然后这种情况只出现部分手机上,目前只发现这两款手机OppoA59s 和华为P8。请问这种情况是,只针对部分手机的问题吗?谢谢!

@AndroidZern
Copy link

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants