Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5ad825cf authored by PETER LIANG's avatar PETER LIANG Committed by Automerger Merge Worker
Browse files

Merge "Fix the inconsistent background color between the tooltip and arrow."...

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

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

Change-Id: I0949f3b6691f6033c4044fe28e5a88f3280060c9
parents 4b3ad055 ab162dd0
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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) {