# Bug Report

**URL:** <https://community.blokada.org/t/bug-report/4068>\
**Category:** Developers\
**Tags:** android\
**Created:** [September 15, 2020, 10:09pm UTC](https://community.blokada.org/t/bug-report/4068 "2020-09-15T22:09:31Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![JustAGuy](https://avatars.discourse-cdn.com/v4/letter/j/d9b06d/32.png) [@JustAGuy](https://community.blokada.org/u/JustAGuy)\
**Post date:** [September 15, 2020, 10:09pm UTC](https://community.blokada.org/t/bug-report/4068/1 "2020-09-15T22:09:31Z")

</div>

Please resize these images ([https://github.com/blokadaorg/fem/blob/master/android/app/src/main/res/drawable/feature\_phishingarmy.png](https://github.com/blokadaorg/fem/blob/master/android/app/src/main/res/drawable/feature_phishingarmy.png) and [https://github.com/blokadaorg/fem/blob/master/android/app/src/main/res/drawable/feature\_energized.png](https://github.com/blokadaorg/fem/blob/master/android/app/src/main/res/drawable/feature_energized.png)) as they are too large for some high display resolutions. This results in crashing when pressing on the Blocklists menu.

Seeing “Android Canvas: drawing too large bitmap” for help

---

<div class="post-metadata">

**Author:** ![Karol](https://dub1.discourse-cdn.com/flex017/user_avatar/community.blokada.org/karol/32/13_2.png) [@Karol](https://community.blokada.org/u/Karol)\
**Post date:** [September 16, 2020, 6:36am UTC](https://community.blokada.org/t/bug-report/4068/2 "2020-09-16T06:36:08Z")

</div>

Thanks. You mean too large for low display resolutions?

---

<div class="post-metadata">

**Author:** ![JustAGuy](https://avatars.discourse-cdn.com/v4/letter/j/d9b06d/32.png) [@JustAGuy](https://community.blokada.org/u/JustAGuy)\
**Post date:** [September 16, 2020, 2:03pm UTC](https://community.blokada.org/t/bug-report/4068/3 "2020-09-16T14:03:04Z")

</div>

“The reason is that the `drawable/` folder exists from early versions of android and is equivalent to `drawable-mdpi` . When an image that is only in `drawable/` folder is used on `xxhdpi` device, the potentially already big image is upscaled by a factor of 3, which can then in some cases cause the image’s memory footprint to explode.” Source: [https://stackoverflow.com/questions/40835514/android-canvas-drawing-too-large-bitmap](https://stackoverflow.com/questions/40835514/android-canvas-drawing-too-large-bitmap)

I only encountered the problem on high display resolutions so far.

---

<div class="post-metadata">

**Author:** ![Karol](https://dub1.discourse-cdn.com/flex017/user_avatar/community.blokada.org/karol/32/13_2.png) [@Karol](https://community.blokada.org/u/Karol)\
**Post date:** [May 9, 2022, 5:42am UTC](https://community.blokada.org/t/bug-report/4068/4 "2022-05-09T05:42:01Z")

</div>

Thanks. Afair those images have been resized in the recent versions of Blokada.
