I just implemented a ListView inside a LinearLayout, but I need to define the height of the LinearLayout (it has to be 50% of the screen height).
best way is use
layout_height="0dp" layout_weight="0.5"
for example
WebView,TextView have 50% of the screen height