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.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to