diff options
author | fbaron <fbaron@google.com> | 2023-05-10 16:29:17 -0700 |
---|---|---|
committer | fbaron <fbaron@google.com> | 2023-05-16 15:07:30 -0700 |
commit | 1a76d5c72deeb5253229a3b34875b3631fcd93ec (patch) | |
tree | 9f48123f1e9d1ef28add93ef72af1d017445640d /src/com/android/launcher3/popup | |
parent | 21339533b1db90fb51f9215f30134850f0442d94 (diff) | |
download | Launcher3-1a76d5c72deeb5253229a3b34875b3631fcd93ec.tar.gz |
Update colors for popup menus
Bug: 268521231
Test: Verify that popup menu colors match the figma attached in the bug
Change-Id: I24025576a789775dfcf17694d16c0d5f6ee844fd
Diffstat (limited to 'src/com/android/launcher3/popup')
-rw-r--r-- | src/com/android/launcher3/popup/ArrowPopup.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/com/android/launcher3/popup/ArrowPopup.java b/src/com/android/launcher3/popup/ArrowPopup.java index b59b37aebf..72f99cb4df 100644 --- a/src/com/android/launcher3/popup/ArrowPopup.java +++ b/src/com/android/launcher3/popup/ArrowPopup.java @@ -144,7 +144,8 @@ public abstract class ArrowPopup<T extends Context & ActivityContext> // Initialize arrow view final Resources resources = getResources(); - mArrowColor = getColorStateList(getContext(), R.color.popup_shade_first).getDefaultColor(); + mArrowColor = getColorStateList(getContext(), R.color.popup_color_background) + .getDefaultColor(); mChildContainerMargin = resources.getDimensionPixelSize(R.dimen.popup_margin); mArrowWidth = resources.getDimensionPixelSize(R.dimen.popup_arrow_width); mArrowHeight = resources.getDimensionPixelSize(R.dimen.popup_arrow_height); @@ -173,7 +174,7 @@ public abstract class ArrowPopup<T extends Context & ActivityContext> mColorIds = new int[]{R.color.popup_shade_first, R.color.popup_shade_second, R.color.popup_shade_third}; } else { - mColorIds = new int[]{R.color.popup_shade_first}; + mColorIds = new int[]{R.color.popup_color_background}; } } |