안드로이드 개발 질문/답변
(글 수 45,052)
xml이 아래와 같고..
-----------
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
>
<ImageView
android:id="@+id/img"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
/>
</LinearLayout>
--------------
Bitmap bitmap = Bitmap.createScaledBitmap(Oldbitmap, 500, 600, true);
imageView.setImageBitmap(bitmap);
위와같이 이미지를 뿌려준다고 할때...왜..이미지 양옆에 여백이 자꾸 남는걸까요..ㅠ.ㅠ
(그러니깐 수직 스크롤뷰의 크기정도의 검은 여백이 좌우 양쪽에 있습니다)
-----------
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
>
<ImageView
android:id="@+id/img"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
/>
</LinearLayout>
--------------
Bitmap bitmap = Bitmap.createScaledBitmap(Oldbitmap, 500, 600, true);
imageView.setImageBitmap(bitmap);
위와같이 이미지를 뿌려준다고 할때...왜..이미지 양옆에 여백이 자꾸 남는걸까요..ㅠ.ㅠ
(그러니깐 수직 스크롤뷰의 크기정도의 검은 여백이 좌우 양쪽에 있습니다)



