I'm going through this Udacity Android course, and I'm trying to add a share button to the action bar. I followed all the instructions, and for some reason I'm seeing 2 share buttons! Here is the code on github https://github.com/sayo9394/Sunshine
here is the diff between the 2 commits that resulted with the 2 share buttons.
https://github.com/sayo9394/Sunshine/compare/master@%7B1Day%7D...master
The issue was in the layout activity_detail.xml. I had it declared as a Fragment.
Changing it to a FrameLayout did the trick.
Thanks guys.