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">
...
</LinearLayout>
but it continues applying fill_parent height.
Is it possible? Any workaround?
Your new style
Fill_parent style
Wrap content style