Hello friends,

i have defined the following style:

    <style name="Activity">
        <item name="android:layout_width">fill_parent</item>
        <item name="android:layout_height">fill_parent</item>
        <item name="android:background">@drawable/background</item>
        <item name="android:orientation">vertical</item>
    </style>

But i want to define layout_height="wrap_content" in a layout,
inheriting the rest of the attributtes:

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/
android"
    style="@style/Activity"
    android:layout_height="wrap_content">

but it continues applying fill_parent height.

Is it possible? Any workaround?

-- 
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

Reply via email to