<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
>
<LinearLayout
android:orientation="horizontal"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_weight="1">
<TextView
android:text="가로로 나열1"
android:gravity="center_horizontal"
android:background="#aa0000"
android:layout_width="wrap_content"
android:layout_height="fill_parent"
android:layout_weight="1"/>
<TextView
andorid:text="가로로 나열2"
android:gravity="center_horizontal"
android:background="#00aa00"
android:layout_width="wrap_content"
android:layout_height="fill_parent"
android:layout_width="1"/>
<TextView
android:text="가로로 나열3"
android:gravity="center_horizontal"
android:background="#0000aa"
android:layout_width="wrap_content"
android:layout_height="fill_parent"
andorid:layout_weight="1"/>
</LinearLayout>
아오, 있는대로 그대로 쳤는데 왜 이러지




전체 구조를 설명하기엔 너무 길고..흠..
두번째 리니어에서 layout_weight값을 줬으면 layout_height값에 "0dp"를 줘보시길..
마찬가지로 그안에 텍스트뷰도 똑같이 바꾸고..
layout_weight속성을 이해하시면 왜그런지 알게됨..검색해서 공부하시길..