no title bar

by Jags » Thu, 26 Nov 2009 00:16:40 GMT


Sponsored Links
 I dont want title bar in my application, how to remove that ? in my
activity ?

Jagat

--



no title bar

by Matthias » Thu, 26 Nov 2009 00:20:20 GMT


 call requestWindowFeature(Window.FEATURE_NO_TITLE) before calling
setContentView() OR set it as part of a style definition
(android:windowNoTitle="true").




--


Sponsored Links


no title bar

by Dianne Hackborn » Thu, 26 Nov 2009 01:42:36 GMT


 Or, best, set your activity to one of the no title themes, like
Theme.NoTitleBar.





>



no title bar

by Jags » Thu, 26 Nov 2009 14:31:42 GMT


 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 !





> >



no title bar

by Dianne Hackborn » Thu, 26 Nov 2009 14:36:41 GMT


 <activity ...
    android:theme="@android:style/Theme.NoTitleBar" />







> > >



no title bar

by Jags » Fri, 27 Nov 2009 17:55:33 GMT


 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






> > >



no title bar

by Ian Guedes Maia » Fri, 27 Nov 2009 20:39:13 GMT


 > another thing is, when titlebar is sown, can i show the title text at

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 using
setFeatureInt(Window.FEATURE_CUSTOM_TITLE, R.layout.custom_title). The
custom_title with gravity=center works.

--



Other Threads

1. How to install system fonts?

Will there be any support for adding a system font in Android 1.0?



--~--~---------~--~----~------------~-------~--~----~

2. problem Porting to 0.9 sdk, anyone please guide me... thanks...

hi,

I try to using 0.9sdk... (seem like kind of big changes wo)... 0_o'''

can anyone guide me on those issue below...

Problem 1
----------------
those class already remove??? which class I can use on this case???
android.view.ViewInflate;
android.app.ActivityPendingResult;
android.view.Menu.Item;

Problem 2
-----------------
I wanna to download image using HTTPConnection it say
java.net.SocketException: unknown error means???


^_^...

Have a nice day...


Wesley.
--~--~---------~--~----~------------~-------~--~----~

3. Building phone on Android - India market

4. Generic ADT problem?

5. StackOverflowError when clearing and refocusing a ghosted text view

6. ListView issues in 0.9 beta

7. Android Maps source code