1

Grow Heap size and OutOfMemory error

view story
linux-howto

http://stackoverflow.com – I have one image about 1948X674 dimension and 104kb in size. It gives OutOfMemoryError on Samsung galaxy S3. I am showing this image in horizontal scrollview. Here is my xml <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" tools:context=".Panorama" > <HorizontalScrollView android:id="@+id/hscroll" android:layout_width="wrap_content" android:layout_height="match_parent" android:layout_abov (HowTos)