connieshi 948738e618 [Badge][Toolbar] Fix badge offset bug when attached and detached from a menu item on a toolbar.
Added switch to toggle show/hide edit menu item and added button to increment badge number.

Moved logic to add badgedrawable to onCreateOptionsMenu so that a new badgedrawable is NOT added every time onPrepareOptionsMenu is called (e.g. opening the overflow menu)

Resolves https://github.com/material-components/material-components-android/issues/2129

PiperOrigin-RevId: 365033209
2021-03-25 11:28:18 -04:00
..
2020-12-11 14:47:53 -05:00
2020-06-26 14:06:52 -04:00
2020-06-26 14:06:52 -04:00
2020-06-26 14:06:52 -04:00
2020-06-26 14:06:52 -04:00
2020-06-30 16:09:19 -04:00
2020-06-26 14:06:52 -04:00
2020-06-26 14:06:52 -04:00
…
2020-09-18 14:01:26 -07:00
…
2020-06-26 14:06:52 -04:00
2020-12-11 14:47:53 -05:00
…

Catalog

The Android version of the Material Design Component Catalog, intended to demonstrate Material Design principles and provide component demonstrations and code examples.