Implement 3 shades of folder icon/container fill color

Bug: 130451254

Change-Id: I36d885a2b0247f1bb84cb98073459853ae723331
This commit is contained in:
Hyunyoung Song
2019-05-13 23:23:05 -07:00
parent c857ad8049
commit e751d90c44
11 changed files with 92 additions and 7 deletions

View File

@@ -152,7 +152,7 @@ public class FolderAnimationManager {
final float yDistance = initialY - lp.y;
// Set up the Folder background.
final int finalColor = Themes.getAttrColor(mContext, android.R.attr.colorPrimary);
final int finalColor = Themes.getAttrColor(mContext, R.attr.folderFillColor);
final int initialColor = setColorAlphaBound(
finalColor, mPreviewBackground.getBackgroundAlpha());
mFolderBackground.mutate();