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

This commit is contained in:
PETER LIANG
2021-06-02 01:02:12 +00:00
committed by Android (Google) Code Review

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) {