Wednesday, April 10, 2013

[android help] Android - How to get rid of the bar above the ActionBar


My problem is there are another bar, not exactly sure what it's name is - TitleBar? (The bar with the menu button and the white square logo) Above my ActionBar. What I ideally want is to merge my ActionBar with that bar or if not possible, implement my own bar completely amongst the tabs with icon and menu button. I have tried several things (see below image)


Showing the unwanted standard bar above the ActionBar


I was under the impression getActionBar() got reference to the existing bar which sits above my ActionBar in the screenshot.. that would be ideal.


Current application theme is android:theme="@android:style/Theme.Holo.Light.DarkActionBar"


Anyway, I have tried the following:


  • Various manifest changes including various .NoTitleBar combinations

  • requestWindowFeature(Window.FEATURE_NO_TITLE); after super.onCreate() and before setContentView()

The reason I am using standard ActionBar is this for a hardware device that will be running at least 4.0 and the version is highly unlikely to change.


Any thoughts?


Cheers



.

stackoverflow.comm

No comments:

Post a Comment

Google Voice on T-Mobile? [General]

Google Voice on T-Mobile? So I recently switched from a GNex on Verizon to a Moto X DE on T-Mobile. I had always used Google Voice for my v...