Getting rid of the three dots?

Monkey Targets Forums/Android/Getting rid of the three dots?

Oddball(Posted 2014) [#1]
What are the three dots on the right hand side of this screenshot, and how do I get rid of them?




AdamRedwoods(Posted 2014) [#2]
The three dots means the NSA is watching you.
http://www.caincode.com/hiding-3-dot-action-bar-android-app/


Oddball(Posted 2014) [#3]
Is there any reason to keep them? I'm just wondering why monkey doesn't have them off by default.


Jesse(Posted 2014) [#4]
I would assume that the three dots does not appear on every phone. I would also assume Mark is not necessarily aware but I could be wrong. so unless a problem is mentioned to him I would ass-u-me it's not a problem to him. :)


nrasool(Posted 2014) [#5]
The 3 dots don't appear in every android phone. Some phones like the note series, have buttons, so they do not have this. While Nexus will have the 3 dots.

You could use the following on the generated files: http://www.caincode.com/hiding-3-dot-action-bar-android-app/

Kind Regards
Nadeem R


Oddball(Posted 2014) [#6]
Well I tried the solution in that link and it doesn't work. The app appears to build correctly, but can't be run when I try it on a device. Can anyone who has got this working shed some light on what I might be doing wrong?


AdamRedwoods(Posted 2014) [#7]
under your build folder (or use the default target folder), edit the templates/AndroidManifest.xml file:
<uses-sdk android:minSdkVersion="3" android:targetSdkVersion="11" />


if you set the targetSdkVersion to 11 or higher (14 recommended), it should go away. tested on Nexus 7 2013 here and it worked. link:

If you set either minSdkVersion or targetSdkVersion to 11 or higher, the system will not add the legacy overflow button.


http://android-developers.blogspot.co.uk/2012/01/say-goodbye-to-menu-button.html


Oddball(Posted 2014) [#8]
The link above has that step but with the values 7 and 15 so I tried using 3 and 11. The app runs but the three dots are still there on my HTC One so I started playing around with the values. I found that with values of 3 and 15 the app runs and the three dots are gone. Thanks for the help everyone. Hopefully this'll get added to monkey as the default.