Custom color support for dock and drawer background

This commit is contained in:
paphonb
2019-06-11 17:53:35 +07:00
parent 74363037c8
commit 25f60a5c09
8 changed files with 129 additions and 47 deletions

View File

@@ -180,11 +180,11 @@ public class ShelfScrimView extends ScrimView {
return;
}
// if (mProgress <= 0) {
// onDrawFlatColor(canvas);
// canvas.drawColor(mShelfColor);
// return;
// }
if (mProgress <= 0) {
onDrawFlatColor(canvas);
canvas.drawColor(mShelfColor);
return;
}
int height = getHeight();
int width = getWidth();