material-components-android
material-components-android copied to clipboard
[TextInputLayout] Exposed the style of the ExposedDropDownMenu
trafficstars
Currently the ExposedDropDownMenu provided by DropdownMenuEndIconDelegate doesn't use the shapeAppearance defined in the app theme and the corner radius are defined by code.
With this change:
- the ExposedDropDownMenu uses the
shapeAppearancedefined in the app theme - there is a new attribute
exposedDropDownMenuStyledefined in theTextInputLayoutstyle with allows to customize theshapeAppearance/shapeAppearanceOverlay(and some other properties) of the ExposedDropDownMenu.
This change can be tested with the current catalog (changing the shapeAppearance).