질문 : galaxy S3 가  layout-xhdpi-1280x720 폴더를 찾아가는 이유가 뭡니까?

 

res

1.  layout

2.  layout-small

3.  layout-xhdpi

4.  layout-xhdpi-1280x720

5.  layout-xhdpi-480x360

 

A라는 프로젝트에 위와같이 폴더를 생성하고 각각의 폴더에 main.xml 파일을 넣고 테스트 하였습니다. 

galaxy S3는 위의 폴더중 4번 layout-xhdpi-1280x720 에 접근하더군요.

 

왜? 3번 layout-xhdpi 폴더를 타지 않는지 궁금해서 galaxy S3 의 세로, 가로 pixel 수를 알아 보니 아래와 같이 나왔습니다.

  heightPixels : 1280

  widthPixels : 720 

 

pixel 수가 위와 같기때문에 4번 layout-xhdpi-1280x720 에 접근하는것이라고 생각하고

4번 폴더를 삭제 하고 테스트 하였습니다.

 

res

1. layout

2. layout-small

3. layout-xhdpi

4. layout-xhdpi-1280x720  폴더 삭제

5. layout-xhdpi-480x360

 

4번 폴더를 삭제하고 진행하게 되면 3번  layout-xhdpi  폴더에 접근할거라고 예상했지만

5번 layout-xhdpi-480x360 폴더에 접근하더군요.

 

이해가 되질 않아 5번 폴더를 삭제 하고 진행해본 결과...

 

res

1. layout

2. layout-small

3. layout-xhdpi

4. layout-xhdpi-1280x720 폴더 삭제

5. layout-xhdpi-480x360 폴더 삭제

 

이렇게 하고 나서야 3번 폴더에 접근하던데...

도무지 이해가 되지 않아서요.

 

어떤 이유 때문인가요?