0

I am developing an application and I want to add some items in the action bar, but I have no place left so I'm wondering if I can remove the application name and replace it with an item? if yes how could I do it?!

choco
  • 255
  • 1
  • 7
  • 14

2 Answers2

0

Check this thread out: How to display custom view in ActionBar?

It describes how to set a custom view to the ActionBar, AFAIK it replaces the name of the application. Try setting a layout with minimum space.

Community
  • 1
  • 1
Sean
  • 5,176
  • 2
  • 34
  • 50
  • Is this solution available if I am using a support library(appcompat)? – choco Apr 27 '14 at 19:19
  • Yes. it is. the answer it self is using the compat. – Sean Apr 27 '14 at 19:21
  • actually, it was using ActionBarSherlock ! i did some changing and it worked ,I still have some bugs( i will add another question for that ) , so thank you very much for your answer – choco Apr 27 '14 at 23:28
0

You can simply set

android:label=""

for each activity at your AndroidManifest.xml

Uğur Tılıkoğlu
  • 731
  • 1
  • 6
  • 6