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 committed 2021-06-02 20:39:28 +01:00
1 parent 23cf59bfd5
commit 8796707172
8 files changed
+98 -13

No files matched your search

@@ -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