0

I am making a android app using jquery mobile and web view with eclipse.

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.

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

Thanx.

Richard Stenstierna
  • 1,975
  • 3
  • 15
  • 16

2 Answers2

2

This fixed it for me:

WebView webVw = (WebView) findViewById(R.id.yourwebview);
webVw.setScrollBarStyle(WebView.SCROLLBARS_OUTSIDE_OVERLAY);
NickT
  • 23,564
  • 11
  • 77
  • 117
0

Check your XML, and set it to fill_parent for width.

Vinay
  • 2,387
  • 3
  • 31
  • 35