Panagiotis Triantafyllou

minor fixes

......@@ -2,7 +2,7 @@ apply plugin: 'com.android.library'
ext {
PUBLISH_GROUP_ID = 'ly.warp'
PUBLISH_VERSION = '4.5.4-cosbeta12'
PUBLISH_VERSION = '4.5.4-cosbeta13'
PUBLISH_ARTIFACT_ID = 'warply-android-sdk'
}
......
......@@ -153,6 +153,10 @@ public class WarpViewActivity extends WarpBaseActivity {
RelativeLayout.LayoutParams warpViewParams = new RelativeLayout.LayoutParams(
RelativeLayout.LayoutParams.MATCH_PARENT,
RelativeLayout.LayoutParams.MATCH_PARENT);
// warpViewParams.addRule(
// RelativeLayout.SYSTEM_UI_FLAG_LAYOUT_STABLE
// | RelativeLayout.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION
// | RelativeLayout.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN);
root.addView(mWarpView, warpViewParams);
......
......@@ -128,7 +128,7 @@ public class WarpView extends WebView {
settings.setDomStorageEnabled(true);
settings.setGeolocationDatabasePath(getContext().getCacheDir().getAbsolutePath());
settings.setGeolocationEnabled(true);
settings.setBuiltInZoomControls(true);
settings.setBuiltInZoomControls(false);
WarpView.this.addJavascriptInterface(new JSInterface(), "Cosmote");
setBackgroundColor(ContextCompat.getColor(getContext(), android.R.color.transparent));
setWebViewClient(new WarplyWebViewClient());
......