안드로이드 개발 질문/답변
(글 수 45,052)
<?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="wrap_content"
>
<TextView
android:id="@+id/chulsoo"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginRight="20px"
android:textSize="15pt"
android:text="@string/ch"
/>
<TextView
android:id="@+id/younghee"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_toRightOf="@id/chulsoo"
android:textSize="10pt"
android:text="@string/yh"
/>
<TextView
android:id="@+id/mongryong"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/younghee"
android:layout_alignParentRight="true"
android:layout_marginLeft="10px"
android:textSize="15pt"
android:text="@string/mr"
/>
<TextView
android:id="@+id/chunhyang"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_toLeftOf="@id/mongryong"
android:layout_alignBottom="@id/mongryong"
android:textSize="10pt"
android:text="@string/cy"
/>
</LinearLayout>
안드로이드 프로그래밍 정복 146쪽에 나오는 예제입니다..
책에 있는 그대로 코딩하면 다음과 같은 결과가 나와야 한다는데,
3-3-1.bmp
제 넥원이는 이렇게 보이네요;;
왜 이렇게 되는지 알려주세요 ㅜㅜ



