Fix for trac ticket #2485.
This commit is contained in:
@ -49,6 +49,7 @@ public class WebFragment extends I2PFragmentBase {
|
|||||||
wv.getSettings().setBuiltInZoomControls(true);
|
wv.getSettings().setBuiltInZoomControls(true);
|
||||||
// http://stackoverflow.com/questions/2369310/webview-double-tap-zoom-not-working-on-a-motorola-droid-a855
|
// http://stackoverflow.com/questions/2369310/webview-double-tap-zoom-not-working-on-a-motorola-droid-a855
|
||||||
wv.getSettings().setUseWideViewPort(true);
|
wv.getSettings().setUseWideViewPort(true);
|
||||||
|
if (getArguments() != null) {
|
||||||
_uriStr = getArguments().getString(HTML_URI);
|
_uriStr = getArguments().getString(HTML_URI);
|
||||||
if (_uriStr != null) {
|
if (_uriStr != null) {
|
||||||
Uri uri = Uri.parse(_uriStr);
|
Uri uri = Uri.parse(_uriStr);
|
||||||
@ -63,6 +64,7 @@ public class WebFragment extends I2PFragmentBase {
|
|||||||
if (id != 0)
|
if (id != 0)
|
||||||
loadResource(wv, id);
|
loadResource(wv, id);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
return v;
|
return v;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user