Re: [android-developers] Re: no title bar

2009-11-27 Thread Ian Guedes Maia
> another thing is, when titlebar is sown, can i show the title text at > the center ? Extending the default theme and overriding WindowTitle's android:gravity doesn't work -- there's an issue about that: http://code.google.com/p/android/issues/detail?id=4395 One workaround is to replace the title

[android-developers] Re: no title bar

2009-11-27 Thread Jags
thanks. actually i am in a typical situation where i need to hide title bar for a screen, and show for another screen [i mean xml layout] in the same activity. Is it possible programmatically doing it ? another thing is, when titlebar is sown, can i show the title text at the center ? regards On

Re: [android-developers] Re: no title bar

2009-11-25 Thread Dianne Hackborn
On Wed, Nov 25, 2009 at 10:31 PM, Jags wrote: > Theme.NoTitleBar is predefined ? which tag it should be embedded > with ? > > android:windownoTitle="true" which tag it should be associated with ? > Activity and Application refuse to take it ! > > On Nov 25, 11:42 pm, Dianne Hackborn wrote: > >

[android-developers] Re: no title bar

2009-11-25 Thread Jags
Theme.NoTitleBar is predefined ? which tag it should be embedded with ? android:windownoTitle="true" which tag it should be associated with ? Activity and Application refuse to take it ! On Nov 25, 11:42 pm, Dianne Hackborn wrote: > Or, best, set your activity to one of the no title themes, like

Re: [android-developers] Re: no title bar

2009-11-25 Thread Dianne Hackborn
Or, best, set your activity to one of the no title themes, like Theme.NoTitleBar. On Wed, Nov 25, 2009 at 8:20 AM, Matthias wrote: > call requestWindowFeature(Window.FEATURE_NO_TITLE) before calling > setContentView() OR set it as part of a style definition > (android:windowNoTitle="true"). > >

[android-developers] Re: no title bar

2009-11-25 Thread Matthias
call requestWindowFeature(Window.FEATURE_NO_TITLE) before calling setContentView() OR set it as part of a style definition (android:windowNoTitle="true"). On Nov 25, 5:16 pm, Jags wrote: > I dont want title bar in my application, how to remove that ? in my > activity ? > > Jagat -- You received