|
@@ -117,7 +117,10 @@ public class WebViewActivity extends AppCompatActivity { |
|
|
|
|
|
|
|
|
settings.setGeolocationEnabled(true); |
|
|
settings.setGeolocationEnabled(true); |
|
|
|
|
|
|
|
|
|
|
|
settings.setMixedContentMode(WebSettings.MIXED_CONTENT_ALWAYS_ALLOW); |
|
|
|
|
|
|
|
|
webview.setVerticalScrollBarEnabled(false); |
|
|
webview.setVerticalScrollBarEnabled(false); |
|
|
|
|
|
|
|
|
// |
|
|
// |
|
|
// if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) { |
|
|
// if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) { |
|
|
// webview.setLayerType(View.LAYER_TYPE_SOFTWARE, null); |
|
|
// webview.setLayerType(View.LAYER_TYPE_SOFTWARE, null); |
|
|