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

Commit ab162dd0 authored by PETER LIANG's avatar PETER LIANG Committed by Android (Google) Code Review
Browse files

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

parents 909abd8a f6267d46
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) {