<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical">
<!-- ctrl+shift+f 자동줄맞춤 -->
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="180px"
android:orientation="horizontal" >
<TextView
android:layout_width="80px"
android:layout_height="fill_parent"
android:layout_weight="1"
android:background="#dd1111"
android:text="RED" />
<TextView
android:layout_width="80px"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="#00ee00"
android:text="GREEN" />
<TextView
android:layout_width="80px"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="#0000ff"
android:text="BLUE" />
<TextView
android:layout_width="80px"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="#F08080"
android:text="PINK" />
</LinearLayout>
<TextView
android:layout_width="fill_parent"
android:layout_height="250px"
android:background="#ffffff"
android:text="text1" />
<TextView
android:layout_width="fill_parent"
android:layout_height="250px"
android:background="#999999"
android:text="text2" />
</LinearLayout>