material-components-android icon indicating copy to clipboard operation
material-components-android copied to clipboard

[TextInputLayout] Exposed the style of the ExposedDropDownMenu

Open gabrielemariotti opened this issue 5 years ago • 6 comments
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 shapeAppearance defined in the app theme
  • there is a new attribute exposedDropDownMenuStyle defined in the TextInputLayout style with allows to customize the shapeAppearance /shapeAppearanceOverlay (and some other properties) of the ExposedDropDownMenu.

This change can be tested with the current catalog (changing the shapeAppearance).

Schermata 2020-08-05 alle 21 32 38 Schermata 2020-08-05 alle 21 32 48 Schermata 2020-08-05 alle 21 52 43

gabrielemariotti avatar Aug 05 '20 19:08 gabrielemariotti