Merge "Fix the inconsistent background color between the tooltip and arrow." into sc-dev am: ab162dd0e9

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14716053

Change-Id: I65cfb5570bdbe679de41d1fce5b9c06a6a2c23d5
This commit is contained in:
PETER LIANG
2021-06-03 06:38:25 +00:00
committed by Automerger Merge Worker

View File

@@ -214,6 +214,8 @@ class BaseTooltipView extends FrameLayout {
final GradientDrawable gradientDrawable = (GradientDrawable) mTextView.getBackground();
gradientDrawable.setCornerRadius(mTextViewCornerRadius);
gradientDrawable.setColor(Utils.getColorAttrDefaultColor(getContext(),
com.android.internal.R.attr.colorAccentPrimary));
}
private void updateArrowWith(Rect anchorViewLocation) {