Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Removing app icon and text from ActionBar [duplicate]

Possible Duplicate:
Remove application icon and title from Honeycomb action bar

can this be done to free up more space in the ActionBar? I am compiling against sdk 15

like image 282
tyczj Avatar asked Dec 21 '11 21:12

tyczj


People also ask

How do I remove text from action bar?

If we want to remove the ActionBar only from specific activities, we can create a child theme with the AppTheme as it's parent, set windowActionBar to false and windowNoTitle to true and then apply this theme on an activity level by using the android:theme attribute in the AndroidManifest. xml file.

How do I remove icons from my Android toolbar?

Remove Icons from a Toolbar From the toolbar, drag the icon to any area outside of the toolbar, release your mouse. The icon is removed from the toolbar.


1 Answers

setDisplayShowHomeEnabled(false);
like image 123
Dante Avatar answered Sep 28 '22 13:09

Dante