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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user