Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Android

Three dots dropdown doesn't show up in Action Bar

Instead, this happens. https://drive.google.com/file/d/0B7z1-ywvIG7wLTJIckxrWGU2aHc/edit?usp=sharing

each link OptionItemSelected function is working properly.

3 Answers

John Coffin
John Coffin
10,359 Points

I has the same problem. Apparently not all devices support the overflow thingy. It has something to do with having a physical menu button and screen res. I learned all this at Android' Developer site regarding the Action Bar.

Sorry, I'd write more, but a crying child in one arm and an iPhone in the other doesn't make for good writing.

Good daddy!!!

I would not think that's the problem, because there was a moment when it worked and three dots with log out option. Then it went nowhere suddenly.

But it's sure a good idea to look up to Android Developper site. Thank you for insight.

John Coffin
John Coffin
10,359 Points

PS You need to change device in emulator.

I got the answer and it was what everyone repeatedly says: With the device that has physical menu button, overflow does not appear. I literally never use this button since,,, come on, who uses for what? Sorry, but at least for me, it is useless button. And this way I didn't realize my device has it. Besides, Twitter app or Facebook app has overflow so I thought this device is "the one that can display it". Maybe those apps has got another way to achieve it.