mirror of
https://github.com/material-components/material-components-android.git
synced 2026-02-04 19:48:23 +08:00
Slider needs to find an ancestor in which it can add its tooltip overlay. When added in a PopupWindow, its possible to search up the view hierarchy and find a parent which is neither a View nor a ViewGroup. This change adds a check for this case A note is that this change updates edge cases to return the current parent if it is any valid ancestor instead of just returning null. This allows Slider's tooltip to be added to Popup windows, but doesn't guarantee that the tooltip will be fully visible since a PopupWindow's height might be smaller than the slider + tooltip. If adding a Slider to a PopupWindow, you might need to manually add height to your popup's content view to account for the tooltip or turn of the slider's label. PiperOrigin-RevId: 310913776 (cherry picked from commit b631ef697984c695e1a16b1017b30f035a7599ce)
Remove Material Theme Builder and redirect to the new material-components-android-examples location.
Material Components for Android
Material Components for Android (MDC-Android) help developers execute Material Design. Developed by a core team of engineers and UX designers at Google, these components enable a reliable development workflow to build beautiful and functional Android apps.
Material Components for Android is a drop-in replacement for Android's Design Support Library.
Getting Started
For information on how to get started with Material Components for Android, take a look at our Getting Started guide.
Submitting Bugs or Feature Requests
For usage questions: ask on Stack Overflow.
Bugs or feature requests should be submitted at our GitHub Issues section.
Useful Links
- All Components
- Getting Started
- Contributing
- Building From Source
- Catalog App
- Class documentation (external site)
- MDC-Android on Stack Overflow (external site)
- Android Developer’s Guide (external site)
- Material.io (external site)
- Material Design Guidelines (external site)
Documentation
Description
Languages
Java
99.9%
Kotlin
0.1%