Slightly updated the appwidget appearance, use smaller bitmap size for palette.
This commit is contained in:
parent
a238d6564e
commit
bd69dc1d43
13 changed files with 111 additions and 87 deletions
|
|
@ -205,6 +205,7 @@ public class AlbumAdapter extends AbsMultiSelectAdapter<AlbumAdapter.ViewHolder,
|
|||
private void applyPalette(Bitmap bitmap, final TextView title, final TextView artist, final View footer) {
|
||||
if (bitmap != null) {
|
||||
Palette.from(bitmap)
|
||||
.resizeBitmapSize(100)
|
||||
.generate(new Palette.PaletteAsyncListener() {
|
||||
@Override
|
||||
public void onGenerated(Palette palette) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue