Android應用開發之LinearLayout(線性佈局)

「 LinearLayout 」翻譯成中文是「線性佈局」,所謂線性佈局就是在該標籤下的所有子元素會根據其 orientation 屬性的值來決定是按行或者是按列逐個顯示。 示例main.xml佈局文件如下: <?xml version="1.0"encoding ="utf-8"?> <LinearLayout xmlns:android "http://schemas.android.com/a
相關文章
相關標籤/搜索