private int img_width = 0, img_height = 0;

.....

 

img_width =  getBitmapOfWidth("/drawable/pride.png");
img_height = getBitmapOfHeight("/drawable/pride.png");

 

이렇게하고 찍어봤는데 계속 0이라고 나오네요..ㅠㅠ

뭐가 문제인걸까요?ㅠ

경로를 잘못쓴건가요?
답변 좀 부탁드립니다~~ㅠㅠ