안드로이드 개발 질문/답변
(글 수 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="fill_parent"
>
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/hello"
/>
</LinearLayout>
위 코드는 이클립스로 android project 를 생성하면 기본적으로 생성되는 main.xml 의 내용입니다.
fill_parent 로 생성이 되는데 제가 알기로는 fill_parent 는 부모 view 의 크기만큼 채우는 것으로 알고 있습니다.
그렇다면 부모 view 의 크기는 어디서 정의 되는 것인가요?