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
  • 2,155
  • 3
  • 16
  • 16

2 Answers2

2

This fixed it for me:

WebView webVw = (WebView) findViewById(R.id.yourwebview);
webVw.setScrollBarStyle(WebView.SCROLLBARS_OUTSIDE_OVERLAY);
NickT
  • 23,844
  • 11
  • 78
  • 121
0

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

Vinay
  • 2,395
  • 3
  • 30
  • 35