Andorid開發中有四中佈局方式
LinearLayout(線性佈局)、AbsoluteLayout(絕對佈局)、RelativeLayout(相對佈局)、TableLayout(表格佈局)、FrameLayout(幀佈局)
其中:AbsoluteLayout(絕對佈局)不建議被使用,因爲手機屏幕有打有小,使用了絕對佈局,那麼顯示上會有問題。
Andorid開發中有四中佈局方式
LinearLayout(線性佈局)、AbsoluteLayout(絕對佈局)、RelativeLayout(相對佈局)、TableLayout(表格佈局)、FrameLayout(幀佈局)
其中:AbsoluteLayout(絕對佈局)不建議被使用,因爲手機屏幕有打有小,使用了絕對佈局,那麼顯示上會有問題。