Merge "Fix the inconsistent background color between the tooltip and arrow." into sc-dev
This commit is contained in:
@@ -214,6 +214,8 @@ class BaseTooltipView extends FrameLayout {
|
|||||||
|
|
||||||
final GradientDrawable gradientDrawable = (GradientDrawable) mTextView.getBackground();
|
final GradientDrawable gradientDrawable = (GradientDrawable) mTextView.getBackground();
|
||||||
gradientDrawable.setCornerRadius(mTextViewCornerRadius);
|
gradientDrawable.setCornerRadius(mTextViewCornerRadius);
|
||||||
|
gradientDrawable.setColor(Utils.getColorAttrDefaultColor(getContext(),
|
||||||
|
com.android.internal.R.attr.colorAccentPrimary));
|
||||||
}
|
}
|
||||||
|
|
||||||
private void updateArrowWith(Rect anchorViewLocation) {
|
private void updateArrowWith(Rect anchorViewLocation) {
|
||||||
|
|||||||
Reference in New Issue
Block a user