“Canvas: trying to draw too large bitmap” when Android N Display Size set larger than Small

后端 未结 12 1446
清酒与你
清酒与你 2020-11-27 14:51

I have a published app that is crashing at startup on Android N when the newly introduced Display size OS setting is set to too large a value.

When I lo

12条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-11-27 15:38

    There are some scenarios where Original Bitmap needs be Drawn into ImageViews, Photo Editing apps etc...,

    as bay mentioned above setting

    android:hardwareAccelerated="false"
    

    will Cause bad UI experince, You can set hardwareAccelerated Only one selected Activity where high res image to be drawn

    
        
        
    
    

提交回复
热议问题