Skip to content

Instantly share code, notes, and snippets.

@ricknout
Created July 31, 2020 20:04
Show Gist options
  • Save ricknout/34bb72f30f1c1eada8a5feff1696d04a to your computer and use it in GitHub Desktop.
Save ricknout/34bb72f30f1c1eada8a5feff1696d04a to your computer and use it in GitHub Desktop.
MDC-Android MaterialShapeDrawable corner interpolation
/* Copyright 2020 Google LLC.
SPDX-License-Identifier: Apache-2.0 */
// Set corner interpolation to half of current cornerSize(s)
msd.setInterpolation(0.5f)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment