How to exclude an item from "wrap_content" in an Android View? -
i have drop down menu in header. when button pressed drop down menu comes down. problem other views in activity positioned android:layout_below="@id/header"
, drop down menu pushes down because increases header's height. need exclude drop down menu android:layout_height="wrap_content"
in order prevent that. possible?
note: can solve problem programmatically, want learn whether possible exclude item "warp_content" in xml.
you cannot exclude viewgroup's child being considered during layout calculations unless set android:visibility=gone
. may want replace main container relativelayout
let position elements wish
Comments
Post a Comment