Q:

Android random Settings option

This settings menu item appears when I press the hardware settings key in my app. I have not added it but it's just there. How can I utilize it so when I press it would open up an activity of my choice/or how can I remove it? I saw that it's connected to a variable in res/values/strings named action_settings but i couldn't find where it's used.

A:

My guess is you are working with a template generated by Eclipse or some other IDE. In that case, you are seeing the overflow for the action bar. That is configured via onCreateOptionsMenu() and onOptionsItemSelected(), usually by means of a menu resource (res/menu/). You can read more about this in the documentation for the action bar.

