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

在一个Activity页面中,内嵌的XWalkView 显示了两屏内容,导致网页内容与web显示不适配 #4021

Open
Y-JH opened this issue Dec 26, 2017 · 2 comments

Comments

@Y-JH
Copy link

Y-JH commented Dec 26, 2017

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

这是一个Activity布局,内嵌了XWalkView 然后通过加载 html地址,显示页面内容。很多页面都没有问题,但是就是在加载一个内容详情时,很多的文字数据。然后在水平方向上显示了两屏,一屏手机无法显示完全;
请问作者,对于这样的问题,我应该怎么去设置处理呢?谢谢!

@Y-JH
Copy link
Author

Y-JH commented Dec 27, 2017

当然,我使用的是这个 compile 'org.xwalk:xwalk_core_library:23+'

@Y-JH
Copy link
Author

Y-JH commented Dec 27, 2017

很抱歉,这个问题已经解决了!问题出在H5端。谢谢

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

1 participant