Merge "Update the color of the bubble expanded view pointer arrow to match the background color of the overflow expanded view." into udc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
41f14bf4df
@@ -479,7 +479,7 @@ public class BubbleExpandedView extends LinearLayout {
|
|||||||
void applyThemeAttrs() {
|
void applyThemeAttrs() {
|
||||||
final TypedArray ta = mContext.obtainStyledAttributes(new int[]{
|
final TypedArray ta = mContext.obtainStyledAttributes(new int[]{
|
||||||
android.R.attr.dialogCornerRadius,
|
android.R.attr.dialogCornerRadius,
|
||||||
android.R.attr.colorBackgroundFloating});
|
com.android.internal.R.attr.materialColorSurfaceBright});
|
||||||
boolean supportsRoundedCorners = ScreenDecorationsUtils.supportsRoundedCornersOnWindows(
|
boolean supportsRoundedCorners = ScreenDecorationsUtils.supportsRoundedCornersOnWindows(
|
||||||
mContext.getResources());
|
mContext.getResources());
|
||||||
mCornerRadius = supportsRoundedCorners ? ta.getDimensionPixelSize(0, 0) : 0;
|
mCornerRadius = supportsRoundedCorners ? ta.getDimensionPixelSize(0, 0) : 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user