Changing ImageView content causes OutOfMemoryError

后端 未结 5 483
渐次进展
渐次进展 2021-02-04 02:14

I have a very simple application with one ImageView and a Button. The first Drawable resource loaded by my ImageView is specified with the \"android:src\" tag i

5条回答
  •  误落风尘
    2021-02-04 02:45

    I used every solution of this post and many more but no one worked.Finally I used android:largeHeap="true" in manifest and that solves my problem.

    Hope this helps someone.

提交回复
热议问题