View too large to fit into drawing cache, needs 6400000 bytes, only 3686400 available
来源:互联网 发布:在线seo外链工具软件 编辑:程序博客网 时间:2024/06/12 19:31
今天突然出现了这个问题
View too large to fit into drawing cache, needs 6400000 bytes, only 3686400 available
找了一大堆资料,神马硬件加速啊,神马绘制view底层实现啊,发现其实一行代码就好
manifest文件acticity声明的时候加一句android:hardwareAccelerated="false"即可
like this
<activity android:name="com.unicom.eom.rm.mobileterminal.platform.activity.QRCode.HLNScrollView.HLNScrollActivity" android:screenOrientation="portrait" android:hardwareAccelerated="false" android:theme="@android:style/Theme.Light.NoTitleBar" > </activity>
想知道原理的这有传送门http://www.cnblogs.com/emmet7life/p/4185182.html
结果出处:https://archive.appcelerator.com/question/161165 亲测有效
0 0
- View too large to fit into drawing cache, needs 6400000 bytes, only 3686400 available
- ListView嵌套ListView时发生:View too large to fit into drawing cache的问题
- View too large to fit into drawing cache when calling getDrawingCache()
- Font size to large to fit in cache
- Bitmap too large to be uploaded into a texture
- Shape path too large to be rendered into a texture
- Bitmap too large to be uploaded into a texture 解决方法
- Bitmap too large to be uploaded into a texture exception
- Bitmap too large to be uploaded into a texture
- Bitmap too large to be uploaded into a texture
- Bitmap too large to be uploaded into a texture
- Bitmap too large to be uploaded into a texture
- Bitmap too large to be uploaded into a texture 解决方案
- Bitmap too large to be uploaded into a texture 解决方法
- Bitmap too large to be uploaded into a texture
- nginx报错 client intended to send too large body: 1331696 bytes
- nginx报错 client intended to send too large body: 1331696 bytes
- Allegro报“Symbol does not fit into the drawing”解决办法
- json格式网址访问不显示问题
- 数组中出现次数超过一半的数字
- Java多线程8:wait()和notify()/notifyAll()
- Gartner与内存计算相关的报告
- CSS3自定义滚动条样式 -webkit-scrollbar
- View too large to fit into drawing cache, needs 6400000 bytes, only 3686400 available
- Java多线程9:ThreadLocal源码剖析
- Session 实现机制
- 兼容Android的html5移动端视频播放video自动播放/隐藏播放控件
- JDK源码走读(3):容器之ArrayList
- 第十九周—c语言 电子词典项目
- Java多线程10:ThreadLocal的作用及使用
- 素数求积
- 避免Toast多次弹出