Saturday, May 22, 2010

Re: [android-developers] Application with no title

 <activity android:name=".MyMainClass"             android:label="@string/app_name"             android:theme="@android:style/Theme.NoTitleBar">
 
hope this is what you meant.

On Sun, May 23, 2010 at 9:33 AM, John Gaby <jgaby@gabysoft.com> wrote:
When my application starts, I call:

this.requestWindowFeature(Window.FEATURE_NO_TITLE);

to get rid of the title bar.  I then create a custom ViewGroup and
when set that view to be the content view via a call to
'setContentView', the 'onLayout' method of my ViewGroup is called.
However, the top position is set to 25, even though I have turned off
the title.  How can I set my ViewGroup to take up all of the space,
including the space formally occupied by the title bar?

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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate