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
..
2021-02-25 09:48:43 -05:00
2020-03-16 16:46:24 -04:00

Material Components Catalog App

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