Think Different
[include] 레이아웃 구성할 때 다른 레이아웃(XML)을 삽입하기 본문
현재 작업중인 레이아웃(XML 파일)에 다른 레이아웃을 넣을 경우 아래와 같이 하면 된다.
Solution
- include 태그를 사용
- layout 속성으로 삽입할 대상인 레이아웃 아이디를 입력
Example
Reference
- -
'OS > Android' 카테고리의 다른 글
GIFView 만들기 (0) | 2014.09.22 |
---|---|
레이아웃 비율 조정을 위한 weightSum 속성 (0) | 2014.09.17 |
[AsyncTask] the task has already been executed (0) | 2014.09.16 |
[TextView] android.content.res.Resources$NotFoundException (0) | 2014.09.16 |
call to OpenGL ES API with no current context (logged once per thread) (0) | 2013.09.21 |