I added an action bar with a dropdown menu to my activity but it also shows the application name.
Each of my activities has an action bar and each of them use the th
For this kind of simple stuff you just have to go to the source to find the answer: here the full explanation: http://developer.android.com/guide/topics/ui/actionbar.html#Dropdown
and here some guide code, to include the spinner on the action bar:
ActionBar actionBar = getActionBar();
actionBar.setNavigationMode(ActionBar.NAVIGATION_MODE_LIST);
after that is just put a listener for the changes and setting the a spinner adapter.
and you can use:
setTitle("");
to remove the title. I've been checking on my codes here, you can also give a try on:
requestWindowFeature(Window.FEATURE_NO_TITLE);
It should just remove the title, and leave the title bar. Remember that you must call this before setContentView
happy coding.