From 11a4e3cc58f022e5f150a3618ac4a05657e30878 Mon Sep 17 00:00:00 2001 From: PaulStets Date: Tue, 30 Jan 2018 13:10:41 +0200 Subject: [PATCH 1/3] Fixed time picker for lanscape --- .../layout-land/parking_set_time_limit.xml | 57 +++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 OsmAnd/res/layout-land/parking_set_time_limit.xml diff --git a/OsmAnd/res/layout-land/parking_set_time_limit.xml b/OsmAnd/res/layout-land/parking_set_time_limit.xml new file mode 100644 index 0000000000..dbdf4edfbd --- /dev/null +++ b/OsmAnd/res/layout-land/parking_set_time_limit.xml @@ -0,0 +1,57 @@ + + + + + + + + + + + + + + + + + + + + From b3085b38cbfd22ba35eade2b78b6ab888b0eb6f4 Mon Sep 17 00:00:00 2001 From: PaulStets Date: Tue, 30 Jan 2018 13:20:20 +0200 Subject: [PATCH 2/3] Made time picker for lanscape scrollable --- .../layout-land/parking_set_time_limit.xml | 60 ++++++++++--------- 1 file changed, 32 insertions(+), 28 deletions(-) diff --git a/OsmAnd/res/layout-land/parking_set_time_limit.xml b/OsmAnd/res/layout-land/parking_set_time_limit.xml index dbdf4edfbd..9565af5655 100644 --- a/OsmAnd/res/layout-land/parking_set_time_limit.xml +++ b/OsmAnd/res/layout-land/parking_set_time_limit.xml @@ -1,30 +1,33 @@ - - + - + android:layout_height="wrap_content" + android:orientation="vertical" + android:paddingBottom="@dimen/dialog_content_bottom_margin" + android:paddingLeft="@dimen/dialog_content_margin" + android:paddingRight="@dimen/dialog_content_margin" + android:paddingTop="@dimen/dialog_content_bottom_margin"> + + + + android:layout_height="0dp" + android:layout_gravity="center_horizontal" + android:layout_weight="1" + android:orientation="horizontal">> - - - + + + + From a29596d81ef12a13e194c2fff2dc6cf09b9c708e Mon Sep 17 00:00:00 2001 From: Alexander Sytnyk Date: Tue, 30 Jan 2018 14:17:49 +0200 Subject: [PATCH 3/3] Fix #4868 --- .../src/net/osmand/plus/mapillary/MapillaryImageDialog.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/mapillary/MapillaryImageDialog.java b/OsmAnd/src/net/osmand/plus/mapillary/MapillaryImageDialog.java index 775ae2b11c..950a01ee3c 100644 --- a/OsmAnd/src/net/osmand/plus/mapillary/MapillaryImageDialog.java +++ b/OsmAnd/src/net/osmand/plus/mapillary/MapillaryImageDialog.java @@ -12,11 +12,7 @@ import android.view.Menu; import android.view.MenuItem; import android.view.View; import android.view.ViewGroup; -import android.webkit.ConsoleMessage; import android.webkit.JavascriptInterface; -import android.webkit.WebChromeClient; -import android.webkit.WebResourceError; -import android.webkit.WebResourceRequest; import android.webkit.WebView; import android.webkit.WebViewClient; import android.widget.FrameLayout; @@ -237,7 +233,7 @@ public class MapillaryImageDialog extends ContextMenuCardDialog { view.setLayoutParams(lp); webView.setWebViewClient(new WebViewClient() { @Override - public void onReceivedError(WebView view, WebResourceRequest request, WebResourceError error) { + public void onReceivedError(WebView view, int errorCode, String description, String failingUrl) { webView.loadUrl("about:blank"); noInternetView.setVisibility(View.VISIBLE); }