在android创建bitmap避免低记忆法
16lz
2021-01-23
<?xml version="1.0" encoding="utf-8"?><manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.miz.heapsize" android:versionCode="1" android:versionName="1.0" > <uses-sdk android:minSdkVersion="11" /> <application android:icon="@drawable/ic_launcher" android:label="@string/app_name" android:largeHeap="true" > <activity android:label="@string/app_name" android:name=".MainActivity" > <intent-filter > <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> </application></manifest>
仅仅须要加上<pre name="code" class="html">android:largeHeap="true"
能够生成48M的 哦耶
http://www.google.com/url?q=http%3A%2F%2Fstackoverflow.com%2Fquestions%2F8675037%2Fdoes-androids-large-heap-option-work-for-older-phones-upgraded-to-ics&sa=D&sntz=1&usg=AFQjCNE43aD9kOt0M5OUzNWaNGXP5pSM8w
版权声明:本文博客原创文章,博客,未经同意,不得转载。
更多相关文章
- Android-TextView多行本文滚动轻松实现
- CSDN 很经典的博客 您值得一览
- [Android 博客]收集一些不错的,关于android的IT Blog,互相学习!
- 白嫖七牛云作为个人博客免费图床
- 怒薅羊毛:白嫖GitHub作为个人博客免费图床
- 人生第一次写博客,就先当作日记写了
- 一只菜鸡的半年技术博客之路
- 搭建个人博客,我遇到哪些棘手的问题?
- 写独立个人博客,还有机会吗?