Merge "Fix typos in documentation" into sc-dev am: 2a8031d889

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14240211

Change-Id: Ic4f618ac802f87812917829795d35e95bdb96a93
This commit is contained in:
Lucas Dupin
2021-04-21 22:19:03 +00:00
committed by Automerger Merge Worker

View File

@@ -115,11 +115,11 @@ import java.util.Arrays;
* </pre>
* <p>
* Starting with API 31, items may optionally define an {@link android.R.attr#lStar android:lStar}
* attribute to modify the base color's perceptual luminance. This attribute takes a either
* attribute to modify the base color's perceptual luminance. This attribute takes either a
* floating-point value between 0 and 100 or a theme attribute that resolves as such. The item's
* overall color is calculated by converting the base color to an accessibility friendly color space
* and setting its L* to the value specified on the {@code lStar} attribute. For
* example, the following item represents the theme's accent color at 50% perpectual luminosity:
* example, the following item represents the theme's accent color at 50% perceptual luminance:
* <pre>
* &lt;item android:state_enabled="false"
* android:color="?android:attr/colorAccent"