Last active
August 25, 2020 18:04
-
-
Save ricknout/8309335e3020c4315547a7bacbe40fd9 to your computer and use it in GitHub Desktop.
MDC-Android MaterialShapeDrawable fill and stroke
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Copyright 2020 Google LLC. | |
SPDX-License-Identifier: Apache-2.0 */ | |
// Fill color | |
msd.setFillColor(fillColorStateList) | |
// Stroke color | |
msd.setStrokeColor(strokeColorStateList) | |
// Stroke width | |
msd.setStrokeWidth(strokeWidthDimension) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment