I have attached an image of google maps running on android 2.3.5.
How do I control or create icons like in the fig.

(source: pcmag.com)
Currently onCreateOptionsMenu(Menu menu) {} will display menu from below.
What about the display bar above ,How do I edit icons above and display the bar.
Any help will be greatly appreciated.Thanks
The controls you can sse a the top of your screen is looks like an ActionBar, which was natively added since API 11.
You can try http://actionbarsherlock.com/ to implement ActionBar on any Android version.