Fix
This commit is contained in:
parent
a2aa8be51c
commit
82f4d7f036
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue