Er... the window title is not associated with a linear layout. That is associated with the activity (ideally set with android:theme in the manifest).
On Wed, Aug 26, 2009 at 8:13 AM, sdphil <phil.pellouch...@gmail.com> wrote: > > yes, I know how to do it in the java code (requestWindowFeature > (Window.FEATURE_NO_TITLE)) -- but I would like to create a style that > does that. > > <style name="myStyle"> > <item name="android:windowNoTitle">true</item> > <item name="android:background">@drawable/myBackground</item> > <item name="android:layout_width">fill_parent</item> > <item name="android:layout_height">fill_parent</item> > <item name="android:orientation">vertical</item> > </style> > > Then I would expect to be able to do this in my layout xml file -- > > <?xml version="1.0" encoding="utf-8"?> > <LinearLayout xmlns:android="http://schemas.android.com/apk/res/ > android" style="@style/myStyle"> > ... > ... > ... > </LinearLayout> > > I get the background and the vertical orientation and the layout width/ > height, but I still get a title! > > tia. > > > > -- 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 -~----------~----~----~----~------~----~------~--~---