< LinearLayout
android:orientati
android:layout_width="match_parent"
android:layout_height="wrap_content"
>
<Button
android:id="@+id/btnpage1"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:text="Page 1"
/>
교재 보다가 궁금한건데
레이아웃의 height를 내용물의 크기로 지정하는데
그 내용물에 해당하는 버튼의 height는 부모에 맞게 지정한다는게 논리적으로 좀 이상하지 않냐
저기서 뭐가 궁금한거임?
부모의 height를 내용물의 height로 결정하는데, 내용물의 height는 부모의 height에 맞게 채우라는게 이상하지 않음?
그럼 최소크기지 뭐 ... 이상하긴 해도 그럼 최소크기지 뭐 더있나