diff --git a/OsmAnd/res/layout/dialog_edit_gpx_description.xml b/OsmAnd/res/layout/dialog_edit_gpx_description.xml
index 52b5f97bdc..1d2428f82b 100644
--- a/OsmAnd/res/layout/dialog_edit_gpx_description.xml
+++ b/OsmAnd/res/layout/dialog_edit_gpx_description.xml
@@ -42,25 +42,31 @@
android:textSize="@dimen/dialog_header_text_size"
osmand:typeface="@string/font_roboto_medium" />
-
+ android:background="@drawable/btn_border_active">
+
+
+
@@ -69,17 +75,26 @@
android:layout_height="1dp"
android:background="?attr/divider_color" />
-
+ android:layout_height="match_parent">
+
+
+
+
\ No newline at end of file
diff --git a/OsmAnd/res/layout/dialog_read_gpx_description.xml b/OsmAnd/res/layout/dialog_read_gpx_description.xml
index f4cf390af5..d065868ab1 100644
--- a/OsmAnd/res/layout/dialog_read_gpx_description.xml
+++ b/OsmAnd/res/layout/dialog_read_gpx_description.xml
@@ -56,32 +56,40 @@
android:id="@+id/divider"
android:layout_width="match_parent"
android:layout_height="1dp"
- android:background="?attr/divider_color"
+ android:background="?attr/ctx_menu_info_divider"
android:visibility="gone"
tools:visibility="visible"/>
-
+ android:background="@drawable/rounded_background_3dp">
+
+
+
+
-
+ android:orientation="vertical">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ android:layout_marginStart="@dimen/card_padding"
+ android:layout_marginLeft="@dimen/card_padding"
+ android:layout_marginTop="@dimen/content_padding"
+ android:background="@drawable/rounded_background_3dp"
+ android:visibility="gone"
+ tools:visibility="visible">
-
-
@@ -110,6 +160,7 @@
= 19) {
+ webView.setLayerType(View.LAYER_TYPE_HARDWARE, null);
+ }
+ else {
+ webView.setLayerType(View.LAYER_TYPE_SOFTWARE, null);
+ }
webView.setScrollbarFadingEnabled(true);
webView.setVerticalScrollBarEnabled(false);
webView.setBackgroundColor(Color.TRANSPARENT);
- webView.setLayerType(WebView.LAYER_TYPE_HARDWARE, null);
webView.getSettings().setTextZoom((int) (getResources().getConfiguration().fontScale * 100f));
webView.getSettings().setDomStorageEnabled(true);
webView.getSettings().setLoadWithOverviewMode(true);