diff --git a/OsmAnd/res/layout/list_item_progress.xml b/OsmAnd/res/layout/list_item_progress.xml index 5c4f3ebbe5..eed58f6c19 100644 --- a/OsmAnd/res/layout/list_item_progress.xml +++ b/OsmAnd/res/layout/list_item_progress.xml @@ -37,6 +37,8 @@ style="?android:attr/progressBarStyleHorizontal" android:layout_width="match_parent" android:layout_height="wrap_content" + android:layout_marginLeft="8dp" + android:layout_marginRight="16dp" android:max="255"/> diff --git a/OsmAnd/src/net/osmand/plus/ContextMenuItem.java b/OsmAnd/src/net/osmand/plus/ContextMenuItem.java index 2a197de6eb..5b382a5840 100644 --- a/OsmAnd/src/net/osmand/plus/ContextMenuItem.java +++ b/OsmAnd/src/net/osmand/plus/ContextMenuItem.java @@ -10,7 +10,7 @@ import android.support.annotation.StringRes; import android.support.v4.content.ContextCompat; public class ContextMenuItem { - public static final int INVALID_ID = 0; + public static final int INVALID_ID = -1; @StringRes private final int titleId;