i am having a image of large height around 2000dp. i wanna display it in ImageView , that can scroll up to its height. i wrote the following xml file , it works fine on devices but not on HTC one X , Samsung galaxy S4 , etc i thing its the issue with large screen mobile devices , can anyone help me out . i will be highly thankful to him/her.
<ScrollView
android:layout_width="fill_parent"
android:layout_height="2000dp"
android:layout_below="@+id/total"
android:scrollbars="vertical" >
<FrameLayout
android:id="@+id/relativeLayout"
android:layout_width="fill_parent"
android:layout_height="2000dp" >
<RelativeLayout
android:id="@+id/upperRelativeLayout"
android:layout_width="wrap_content"
android:layout_height="wrap_content" >
</RelativeLayout>
<ImageView
android:id="@+id/image1"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:scaleType="fitXY"
android:src="@drawable/dayview_bg" />
<ImageView
android:id="@+id/image2"
android:layout_width="fill_parent"
android:layout_height="2dp"
android:background="@android:color/white"
android:scaleType="fitXY" />
</FrameLayout>
</ScrollView>