On Wed, Mar 16, 2011 at 8:15 PM, Nathan <[email protected]> wrote:
> OK, but now I am lost.
>
> I stopped calling
>
> requestWindowFeature(Window.FEATURE_CUSTOM_TITLE);
> AND
> getWindow().setFeatureInt(Window.FEATURE_CUSTOM_TITLE,
> R.layout.custom_title_1);
>
> So I am not missing with the Window Title. I am not getting a custom
> view in the title anymore, but I am getting a prehoneycomb style title
> bar with my app name and nothing else.
>
> The documentation states:
>
> "The Action Bar is a widget for activities that replaces the
> traditional title bar at the top of the screen. By default, the Action
> Bar includes the application logo on the left side, followed by the
> activity title, and access to items from the Options Menu in a drop-
> down list on the right side."
>
> So how do i get that default state? What else could I be doing to stop
> the Action Bar from occurring? I don't see anything special that the
> ApiDemos do to make it show up.

Add android:targetSdkVersion="11" to the <uses-sdk> element in your manifest.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android App Developer Books: http://commonsware.com/books

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to