[android-developers] Re: The ActionBar can't work when i use requestWindowFeature(Window.FEATURE_NO_TITLE) method.

2012-02-17 Thread Dean Wang
Do you mean i can't use this method when i want the action bar show
correctly?
If is true,is any way can replace the three methods?
Thanks for your response:D

On Feb 17, 10:16 am, Dianne Hackborn  wrote:
> The action bar is the modern version of the title bar.  You can't mix the
> two.
>
>
>
>
>
>
>
>
>
> On Wed, Feb 15, 2012 at 11:10 PM, Dean Wang  wrote:
> > In a recent development process, I found a problem.When i use
>
> > 1.requestWindowFeature(Window.FEATURE_NO_TITLE)
> > 2.requestWindowFeature(Window.FEATURE_LEFT_ICON)
> > 3.requestWindowFeature(Window.FEATURE_RIGHT_ICON)
>
> > on Activity,the ActionBar can't show correctly.
>
> > Is any one know how to solve it?
> > Thanks
>
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Android Developers" group.
> > To post to this group, send email to android-developers@googlegroups.com
> > To unsubscribe from this group, send email to
> > android-developers+unsubscr...@googlegroups.com
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en
>
> --
> Dianne Hackborn
> Android framework engineer
> hack...@android.com
>
> Note: please don't send private questions to me, as I don't have time to
> provide private support, and so won't reply to such e-mails.  All such
> questions should be posted on public forums, where I and others can see and
> answer them.

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


Re: [android-developers] Re: The ActionBar can't work when i use requestWindowFeature(Window.FEATURE_NO_TITLE) method.

2012-02-17 Thread Mark Murphy
On Thu, Feb 16, 2012 at 10:00 PM, Dean Wang  wrote:
> If is true,is any way can replace the three methods?

You delete them.

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

Warescription: Three Android Books, Plus Updates, One Low Price!

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