diff --git a/OsmAnd/res/drawable-hdpi/ic_crashlog.png b/OsmAnd/res/drawable-hdpi/ic_crashlog.png new file mode 100644 index 0000000000..796b116b8c Binary files /dev/null and b/OsmAnd/res/drawable-hdpi/ic_crashlog.png differ diff --git a/OsmAnd/res/drawable-mdpi/ic_crashlog.png b/OsmAnd/res/drawable-mdpi/ic_crashlog.png new file mode 100644 index 0000000000..83a198cbee Binary files /dev/null and b/OsmAnd/res/drawable-mdpi/ic_crashlog.png differ diff --git a/OsmAnd/res/drawable-xhdpi/ic_crashlog.png b/OsmAnd/res/drawable-xhdpi/ic_crashlog.png new file mode 100644 index 0000000000..97aa82029b Binary files /dev/null and b/OsmAnd/res/drawable-xhdpi/ic_crashlog.png differ diff --git a/OsmAnd/res/drawable-xxhdpi/ic_crashlog.png b/OsmAnd/res/drawable-xxhdpi/ic_crashlog.png new file mode 100644 index 0000000000..e4aa9135c0 Binary files /dev/null and b/OsmAnd/res/drawable-xxhdpi/ic_crashlog.png differ diff --git a/OsmAnd/res/layout/dash_error_fragment.xml b/OsmAnd/res/layout/dash_error_fragment.xml index d15d6f2ebe..c0761628fa 100644 --- a/OsmAnd/res/layout/dash_error_fragment.xml +++ b/OsmAnd/res/layout/dash_error_fragment.xml @@ -5,13 +5,24 @@ android:background="@drawable/bg_cardui" android:layout_width="match_parent" android:layout_height="wrap_content"> - + + + + + diff --git a/OsmAnd/res/layout/dash_map_fragment.xml b/OsmAnd/res/layout/dash_map_fragment.xml index 586ae06d70..6edac06495 100644 --- a/OsmAnd/res/layout/dash_map_fragment.xml +++ b/OsmAnd/res/layout/dash_map_fragment.xml @@ -44,9 +44,9 @@ android:src="@drawable/background" android:layout_width="match_parent" android:layout_height="@dimen/dashMapHeight" - android:layout_marginLeft="@dimen/dashMapMargin" - android:layout_marginRight="@dimen/dashMapMargin" - android:layout_marginBottom="@dimen/dashMapMargin" + android:layout_marginLeft="@dimen/subHeaderPadding" + android:layout_marginRight="@dimen/subHeaderPadding" + android:layout_marginBottom="@dimen/subHeaderPadding" android:visibility="gone"/> diff --git a/OsmAnd/res/values/sizes.xml b/OsmAnd/res/values/sizes.xml index 940a84032c..84c424d03e 100644 --- a/OsmAnd/res/values/sizes.xml +++ b/OsmAnd/res/values/sizes.xml @@ -10,7 +10,6 @@ 12dp 10dp 110dp - 2dp 28dp 4dp 8dp diff --git a/OsmAnd/src/net/osmand/plus/dashboard/DashMapFragment.java b/OsmAnd/src/net/osmand/plus/dashboard/DashMapFragment.java index 37a0629251..7df80f08f3 100644 --- a/OsmAnd/src/net/osmand/plus/dashboard/DashMapFragment.java +++ b/OsmAnd/src/net/osmand/plus/dashboard/DashMapFragment.java @@ -62,7 +62,7 @@ public class DashMapFragment extends DashBaseFragment implements IMapDownloader }); - ((ImageView) view.findViewById(R.id.map_image)).setOnClickListener(new View.OnClickListener() { + view.findViewById(R.id.map_image).setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { startMapActivity();