Update scrim in widget pickers.

Also adjust padding in pin widget bottom sheet.

Test: Tested manually
Bug: 189802334
Change-Id: Ic25547ab1519139afdbf07aaefeb9168cf3501ff
This commit is contained in:
Alina Zaidi
2021-06-01 15:17:16 +01:00
parent 23cf59bfd5
commit 8796707172
8 changed files with 98 additions and 13 deletions

View File

@@ -15,8 +15,6 @@
*/
package com.android.launcher3.widget;
import static com.android.launcher3.icons.GraphicsUtils.setColorAlphaBound;
import android.content.Context;
import android.graphics.Point;
import android.graphics.Rect;
@@ -62,8 +60,7 @@ public abstract class BaseWidgetSheet extends AbstractSlideInView<Launcher>
}
protected int getScrimColor(Context context) {
int alpha = context.getResources().getInteger(R.integer.extracted_color_gradient_alpha);
return setColorAlphaBound(context.getColor(R.color.wallpaper_popup_scrim), alpha);
return context.getResources().getColor(R.color.widgets_picker_scrim);
}
@Override