|
|
|
@ -1619,10 +1619,9 @@ public class BrowserActivity extends ActionBarActivity implements BrowserControl
@@ -1619,10 +1619,9 @@ public class BrowserActivity extends ActionBarActivity implements BrowserControl
|
|
|
|
|
@Override |
|
|
|
|
public void onGenerated(Palette palette) { |
|
|
|
|
// TODO Auto-generated method stub
|
|
|
|
|
int color = palette.getVibrantColor(mContext.getResources().getColor( |
|
|
|
|
R.color.primary_color)); |
|
|
|
|
int color = 0xff000000 | palette.getVibrantColor(mContext.getResources() |
|
|
|
|
.getColor(R.color.primary_color)); |
|
|
|
|
ColorDrawable draw = (ColorDrawable) mPageLayout.getBackground(); |
|
|
|
|
|
|
|
|
|
ValueAnimator anim = ValueAnimator.ofObject(new ArgbEvaluator(), |
|
|
|
|
draw.getColor(), color); |
|
|
|
|
anim.addUpdateListener(new AnimatorUpdateListener() { |
|
|
|
|