title: Custom buttonbar with overflow menu in Android
body: <p>In my app, I want to show some buttons in a <code>LinearLayout</code> that expands over whole width of the screen. Depending on screen size and/or orientation, I would like to hide those buttons, that don't fit in the row, in some <code>OverflowMenu</code>, similar to the behaviour of the <code>ActionBar</code>. If possible, I would like to describe the buttons in a <code>menu resource file</code> with the <code>ifRoom|always</code> attributes. </p>
  
  <p>I considered displaying a <code>Toolbar</code> from the latest <code>AppCompat</code> library, but that contains too many elements that I don't need and don't know how to turn off. </p>
  
  <p>Is there some library or simple way to do this?</p>