在Eclipse Web视图白线 [英] White line in eclipse Web view
本文介绍了在Eclipse Web视图白线的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我使用jQuery Mobile的,并与日食Web视图制作Android应用程序。
I am making a android app using jquery mobile and web view with eclipse.
当我在模拟器中进行测试,或将其导出到我的银河S2我得到正确的一条白线,整个应用程序可以左右移动。
When i test it in the emulator or export it to my galaxy s2 i get a white line on the right and the whole app can be moved around.
当我把code在PhoneGap的工作原理确定,但我想建立它在Eclipse所以为什么我得到右边的白色的东西?这里是模拟器的链接:
When i put the code in phonegap it works ok but i want to build it in eclipse so why do i get the white stuff on the right? Here is a link to the emulator:
http://www.lucyseven.com/screen.jpg
感谢名单。
推荐答案
这固定它对于我来说:
WebView webVw = (WebView) findViewById(R.id.yourwebview);
webVw.setScrollBarStyle(WebView.SCROLLBARS_OUTSIDE_OVERLAY);
这篇关于在Eclipse Web视图白线的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文