79613166

Date: 2025-05-08 21:11:21
Score: 1
Natty:
Report link

When using androidx.appcompat.widget.Toolbar then execute ToolbarUtils.getActionMenuView(toolbar).setExpandedActionViewsExclusive(false); after inflating the menu in onCreateOptionsMenu, this seems to resolve most issues with an expandActionView call. The workaround use library restricted features, so they may be removed at any time.

Reasons:
  • Has code block (-0.5):
  • Single line (0.5):
  • Starts with a question (0.5): When
  • Low reputation (0.5):
Posted by: ballzak