mirror of
https://github.com/Tencent/Hippy.git
synced 2026-10-24 02:04:23 +08:00
fix(android): should draw image border
This commit is contained in:
+2
-1
@@ -388,7 +388,8 @@ public class ContentDrawable extends BaseDrawable
|
||||
}
|
||||
return;
|
||||
}
|
||||
if (CommonTool.hasPositiveItem(mBorderRadiusArray) || Build.VERSION.SDK_INT < Build.VERSION_CODES.M)
|
||||
if (CommonTool.hasPositiveItem(mBorderRadiusArray) || CommonTool.hasPositiveItem(mBorderWidthArray)
|
||||
|| Build.VERSION.SDK_INT < Build.VERSION_CODES.M)
|
||||
{
|
||||
// 有圆角
|
||||
BitmapShader bitmapShader = new BitmapShader(mContentBitmap, Shader.TileMode.CLAMP, Shader.TileMode.CLAMP);
|
||||
|
||||
Reference in New Issue
Block a user