본문 바로가기

android tech.

레이아웃에서 include 사용시 주의 사항

<include> 를 사용할 때, 최상위 레이아웃 바로 밑에서 사용해야 함


예)

<RelativeLayout >
<include />
</RelativeLayout>



잘못된 예)

<RelativeLayout >
    <RelativeLayout>
            <include />
    </RelativeLayout>
</RelativeLayout>


'android tech.' 카테고리의 다른 글

파일다운로드 및 저장  (0) 2014.05.02
layout에서 round rect 그리기  (0) 2014.05.02
string[] to ArrayList<string>  (0) 2014.04.30
ArrayList sort  (0) 2014.04.29
string 검색  (0) 2014.04.29