diff --git a/OsmAnd/res/layout/dash_updates_item.xml b/OsmAnd/res/layout/dash_updates_item.xml index 39a89cd9f0..864aaa92e9 100644 --- a/OsmAnd/res/layout/dash_updates_item.xml +++ b/OsmAnd/res/layout/dash_updates_item.xml @@ -27,6 +27,11 @@ android:textColor="@color/dashboard_descr_colol" android:layout_width="wrap_content" android:layout_height="wrap_content"/> + - \ No newline at end of file diff --git a/OsmAnd/src/net/osmand/plus/dashboard/DashUpdatesFragment.java b/OsmAnd/src/net/osmand/plus/dashboard/DashUpdatesFragment.java index ca82f99671..1631dc69d7 100644 --- a/OsmAnd/src/net/osmand/plus/dashboard/DashUpdatesFragment.java +++ b/OsmAnd/src/net/osmand/plus/dashboard/DashUpdatesFragment.java @@ -23,7 +23,8 @@ import android.view.ViewGroup; import net.osmand.plus.helpers.FontCache; /** - * Created by Denis on 21.11.2014. + * Created by Denis + * on 21.11.2014. */ public class DashUpdatesFragment extends DashBaseFragment { @@ -159,6 +160,11 @@ public class DashUpdatesFragment extends DashBaseFragment { return; } cancelButton.setImageResource(R.drawable.cancel_button); + View view = (View)cancelButton.getParent(); + if (view != null && + view.findViewById(R.id.map_descr) != null){ + view.findViewById(R.id.map_descr).setVisibility(View.GONE); + } cancelButton.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View view) {