Use android:layout_weight
<LinearLayout
android:orientation="vertical" android:layout_width="fill_parent"
android:layout_height="fill_parent" android:weightSum="100"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout
android:layout_width="fill_parent" android:layout_height="wrap_content"
android:layout_weight="70" >
</LinearLayout>
<LinearLayout android:id="@+id/widget32" android:orientation="horizontal"
android:layout_weight="30" android:layout_width="fill_parent"
android:layout_height="wrap_content">
</LinearLayout>
</LinearLayout>
Friday, December 2, 2011
Hw to use android:layout_weight
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment