• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Android's unusable Toolbar documentation

I am using https://developer.android.com/training/appbar/actions.

How do I add the menu items to the toolbar?!?!?!?!?!?! Who wrote this unusable documentation?

I even had to ghetto rig how to add the toolbar because setSupportActionBar() didn't even work. I ended up adding the toolbar to a LinearLayout.

Plus they don't even give you the implementation you need to use!!!!!! I had to find it on StackOverflow.
 

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones