루트보기의 layout_width 및 layout_height가 200px로 지정된 my_layout.xml 레이아웃 xml 파일이 있습니다. <include>은 layout_width/layout_height 값을 대체합니까?
<com.jlee.demo.MyLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="horizontal"
android:layout_width="200px"
android:layout_height="200px">
나는이 XML을 사용한 경우
다른 XML에 포함하고, 100 픽셀로 layout_width와 layout_height를 지정합니다.<include layout="@layout/my_layout"
android:layout_width="100px"
android:layout_height="100px"/>
my_layout의 실제 너비/높이는 어떻게됩니까?
http://developer.android.com/training/improving-layouts/reusing-layouts.html#Include가, 감사 알았어요에서의 마지막 라인 섹션을 포함 참조하십시오. – Johnny
'android : layout_below'가 작동하지 않는 것 같습니다 ... – jul