Android : Android preserve view height between views with layout_height

on Thursday, July 10, 2014


I have a LinearLayout with a vertical orientation with many child views inside it. Each one of these child views have a layout_weight parameter which determines its height depending on screen size. There is one of this child views, which is between the other child views, that I want to preserve a constant height for it.


The question is: ¿How can I set a constant height for this target child view without affecting heights of the child views above and below this target view across screen sizes?


Hope I get fully understood for what I want to do.


Many thanks in advance!


0 comments:

Post a Comment