Android fill percent of layout -
how make elements in layout occupy 50, 25, 10, etc. percent of horizontal/vertical space available?
you achieve : ( vertical here )
<linearlayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="0dip" android:weightsum="100"> <linearlayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="60"> </linearlayout> </linearlayout>`
Comments
Post a Comment