如何制作动态网站管理人员课程培训
IMO我会尝试做一个自定义的对话框,并使用TableLayout来放置您的元素。 通过这种方式,您可以放置按钮,并使用标题上的属性stretchcolumn来按下屏幕侧面的按钮。 (如果我理解你很好)
alt text http://img801.imageshack.us/img801/4372/tablelayout.png
如果这个XML例子去,它应该工作,并从屏幕尺寸/旋转独立的:
android:orientation="vertical" android:layout_width="fill_parent"
android:layout_height="fill_parent" android:stretchColumns="1">
android:layout_height="wrap_content">
android:layout_width="wrap_content" android:layout_height="wrap_content">
android:layout_width="wrap_content" android:layout_height="wrap_content" android:gravity="center_horizontal" >
android:layout_width="wrap_content" android:layout_height="wrap_content">