mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 03:31:45 +08:00
Binary file not shown.
@ -905,13 +905,13 @@ public class BorderDrawable extends ColorDrawable implements BitmapOwner {
|
|||||||
};
|
};
|
||||||
outlineRectF.setEmpty();
|
outlineRectF.setEmpty();
|
||||||
outlineRectF.set(getBounds());
|
outlineRectF.set(getBounds());
|
||||||
backgroundPath.addRoundRect(outlineRectF, backgroundRadii, Path.Direction.CW);
|
outlineBackgroundPath.addRoundRect(outlineRectF, backgroundRadii, Path.Direction.CW);
|
||||||
|
|
||||||
if (android.os.Build.VERSION.SDK_INT >= Build.VERSION_CODES.R) {
|
if (android.os.Build.VERSION.SDK_INT >= Build.VERSION_CODES.R) {
|
||||||
// see setConvexPath notes
|
// see setConvexPath notes
|
||||||
outline.setPath(backgroundPath);
|
outline.setPath(outlineBackgroundPath);
|
||||||
} else {
|
} else {
|
||||||
outline.setConvexPath(backgroundPath);
|
outline.setConvexPath(outlineBackgroundPath);
|
||||||
}
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user