This commit is contained in:
Victor Shcherb 2015-11-05 09:55:04 +01:00
parent a2aa8be51c
commit 82f4d7f036

View file

@ -61,7 +61,8 @@ public class FavoriteImageDrawable extends Drawable {
if (!withShadow) { if (!withShadow) {
Rect bs = new Rect(bounds); Rect bs = new Rect(bounds);
// FIXME // 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); listDrawable.setBounds(bs);
} }
} }