[android-developers] [android-developers-ICS] Is any way can replace requestWindowFeature(Window.FEATURE_NO_TITLE) method?

2012-02-16 Thread Dean Wang
Hi friends,

i found some problem in ICS.First,i want use
requestWindowFeature(Window.FEATURE_NO_TITLE)
this method to clear title and use the first column in listactivity to
be title and also show menu item on actionbar,
but when i use Window.FEATURE_NO_TITLE the actionbar disappear:(

In fact,the Window.FEATURE_LEFT_ICON and Window.FEATURE_RIGHT_ICON
also let the actionbar disappear.

So, how should i solve it or an method can replace FEATURE_NO_TITLE &
FEATURE_LEFT_ICON  & FEATURE_RIGHT_ICON ?

Thanks for all:D

-- 
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


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

2012-02-16 Thread Dean Wang
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


[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