Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
ScalingLayoutOutlineProvider
public class ScalingLayoutOutlineProvider extends ViewOutlineProvider {
@Override
public void getOutline(View view, Outline outline) {
outline.setRoundRect(0, 0, width, height, radius);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment