From 82f4d7f0365e7ae044b0788c68c25f16af418f7b Mon Sep 17 00:00:00 2001 From: Victor Shcherb Date: Thu, 5 Nov 2015 09:55:04 +0100 Subject: [PATCH] Fix --- OsmAnd/src/net/osmand/plus/base/FavoriteImageDrawable.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/base/FavoriteImageDrawable.java b/OsmAnd/src/net/osmand/plus/base/FavoriteImageDrawable.java index 3e628527e5..2770d32c0f 100644 --- a/OsmAnd/src/net/osmand/plus/base/FavoriteImageDrawable.java +++ b/OsmAnd/src/net/osmand/plus/base/FavoriteImageDrawable.java @@ -61,7 +61,8 @@ public class FavoriteImageDrawable extends Drawable { if (!withShadow) { Rect bs = new Rect(bounds); // FIXME - // bs.inset((int) (4 * density), (int) (4 * density)); + //bs.inset((int) (4 * density), (int) (4 * density)); + bs.inset(bs.width() / 4, (int) bs.height() / 4); listDrawable.setBounds(bs); } }