In my .xml file i have this format:
<LinearLayout android:layout_orientation="vertical"...>
<ImageView>...
</ImageView>
<ScrollView ...>
<TableLayout..>
</TableLayout>
</ScrollView>
</LinearLayout>
for the imageView,i would like to have height until the half of the screen (in any screen size),and then start my tableLayout in the other half of the screen!Is that possible?thanks
Use Layout_weight .
It gives the look you are looking for .