Showing
3 changed files
with
6 additions
and
2 deletions
... | @@ -2,7 +2,7 @@ apply plugin: 'com.android.library' | ... | @@ -2,7 +2,7 @@ apply plugin: 'com.android.library' |
2 | 2 | ||
3 | ext { | 3 | ext { |
4 | PUBLISH_GROUP_ID = 'ly.warp' | 4 | PUBLISH_GROUP_ID = 'ly.warp' |
5 | - PUBLISH_VERSION = '4.5.4-cosbeta12' | 5 | + PUBLISH_VERSION = '4.5.4-cosbeta13' |
6 | PUBLISH_ARTIFACT_ID = 'warply-android-sdk' | 6 | PUBLISH_ARTIFACT_ID = 'warply-android-sdk' |
7 | } | 7 | } |
8 | 8 | ... | ... |
... | @@ -153,6 +153,10 @@ public class WarpViewActivity extends WarpBaseActivity { | ... | @@ -153,6 +153,10 @@ public class WarpViewActivity extends WarpBaseActivity { |
153 | RelativeLayout.LayoutParams warpViewParams = new RelativeLayout.LayoutParams( | 153 | RelativeLayout.LayoutParams warpViewParams = new RelativeLayout.LayoutParams( |
154 | RelativeLayout.LayoutParams.MATCH_PARENT, | 154 | RelativeLayout.LayoutParams.MATCH_PARENT, |
155 | RelativeLayout.LayoutParams.MATCH_PARENT); | 155 | RelativeLayout.LayoutParams.MATCH_PARENT); |
156 | +// warpViewParams.addRule( | ||
157 | +// RelativeLayout.SYSTEM_UI_FLAG_LAYOUT_STABLE | ||
158 | +// | RelativeLayout.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION | ||
159 | +// | RelativeLayout.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN); | ||
156 | root.addView(mWarpView, warpViewParams); | 160 | root.addView(mWarpView, warpViewParams); |
157 | 161 | ||
158 | 162 | ... | ... |
... | @@ -128,7 +128,7 @@ public class WarpView extends WebView { | ... | @@ -128,7 +128,7 @@ public class WarpView extends WebView { |
128 | settings.setDomStorageEnabled(true); | 128 | settings.setDomStorageEnabled(true); |
129 | settings.setGeolocationDatabasePath(getContext().getCacheDir().getAbsolutePath()); | 129 | settings.setGeolocationDatabasePath(getContext().getCacheDir().getAbsolutePath()); |
130 | settings.setGeolocationEnabled(true); | 130 | settings.setGeolocationEnabled(true); |
131 | - settings.setBuiltInZoomControls(true); | 131 | + settings.setBuiltInZoomControls(false); |
132 | WarpView.this.addJavascriptInterface(new JSInterface(), "Cosmote"); | 132 | WarpView.this.addJavascriptInterface(new JSInterface(), "Cosmote"); |
133 | setBackgroundColor(ContextCompat.getColor(getContext(), android.R.color.transparent)); | 133 | setBackgroundColor(ContextCompat.getColor(getContext(), android.R.color.transparent)); |
134 | setWebViewClient(new WarplyWebViewClient()); | 134 | setWebViewClient(new WarplyWebViewClient()); | ... | ... |
-
Please register or login to post a comment