How to remove the menu from an action bar (java)



I'm new to android development and wanted to make a tabbed application, so I started with google's file form the documentation and I would like to remove the most above part of the action bar (where the logo and the app name stands). I've tried styling it like this:



<resources>
<style name="ThemeHoloWithActionBar" parent="android:Theme.Holo.Light.DarkActionBar">
<item name="android:actionBarTabStyle">@style/ActionBarTabStyle</item>

<item name="android:actionBarSize">50dip</item>
</style>

<style name="ActionBarTabStyle" parent="@android:style/Widget.Holo.ActionBar.TabView">
<item name="android:minHeight">50dip</item>
</style>


hoping that it would push the size of the other bar to 0 but it didn't work.


No comments:

Post a Comment