playerView.setOutlineProvider(new ViewOutlineProvider() { @Override public void getOutline(View view, Outline outline) { outline.setRoundRect(0, 0, view.getWidth(), view.getHeight(), 15); } }); playerView.setClipToOutline(true);
标签:圆角,outline,playerView,getWidth,android,方法,view From: https://www.cnblogs.com/mamamia/p/17837476.html