package com.smfirst.kishproject.yonseilife;
import android.app.Activity;
import android.media.Image;
import android.os.Bundle;
import android.widget.ImageView;
public class ScheActivity extends Activity {
ImageView iv;
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_sche);
iv = (ImageView) findViewById(R.id.imageView9);
iv.setImageResource(R.drawable.schedule);
}
}
///////////////////////////////////////////////////////////////////////////////////////////////////////////
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<HorizontalScrollView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fillViewport="true"
android:id="@+id/horizontalScrollView9" >
<ScrollView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fillViewport="true"
android:id="@+id/scrollView9">
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/imageView9" />
</ScrollView>
</HorizontalScrollView>
</LinearLayout>
각각 자바와 xml의 코드입니다.
그런데 여기서 문제는 노트2와 갤럭시S5를 비롯한 대부분의 핸드폰에서는 제대로 나타나는데,
갤럭시노트3와 같은 일부 핸드폰에서만 이미지뷰가 제대로 나타나지 않고 검은 화면이 나타납니다.
제 핸드폰에서 멀쩡히 잘 나타나서 오류가 없는줄 알았는데, 일부 핸드폰에서만 저런 현상이 나타나니 어디가 문제인건지 감이 안오네요...ㅠㅠㅠ
알려주시면 정말 감사하겠습니다.ㅠㅠ