79264091

Date: 2024-12-09 07:01:46
Score: 1
Natty:
Report link

use this method setClipToOutline,according to Android documentation

AndroidView will not clip its content to the layout bounds. Use View.setClipToOutline on the child View to clip the contents, if desired. Developers will likely want to do this with all subclasses of SurfaceView to keep its contents contained.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Jason Hong