mirror of
https://github.com/material-components/material-components-android.git
synced 2026-01-21 20:43:34 +08:00
This is useful if the cursor color should be set in runtime, where setting ?attr/colorControlActivated for the edit text is not possible. Using the added APIs will take precedence over the value of ?attr/colorControlActivated. This API is limited to APIs 28+ due to the framework getTextCursorDrawable() method being 28+. Resolves https://github.com/material-components/material-components-android/issues/3255 Resolves https://github.com/material-components/material-components-android/issues/3311 PiperOrigin-RevId: 521448134