Android android:persistentDrawingCache的几个默认属性值介绍
来源:互联网 发布:php 定时任务管理系统 编辑:程序博客网 时间:2024/06/09 15:24
android:persistentDrawingCache (Google官方译文)
Defines the persistence of the drawing cache. The drawing cache might be enabled by a ViewGroup for all its children in specific situations (for instance during a scrolling.) This property lets you persist the cache in memory after its initial usage. Persisting the cache consumes more memory but may prevent frequent garbage collection is the cache is created over and over again. By default the persistence is set to scrolling.
定义绘图的高速缓存的持久性。 绘图缓存可能由一个 ViewGroup 在特定情况下为其所有的子类启用,例如在一个滚动的过程中。 此属性可以在初次使用后保留在其在内存中的缓存。 坚持缓存会消耗更多的内存,但可能会阻止频繁的垃圾回收是反复创建缓存。 默认情况下持续存在设置为滚动。
Must be one or more (separated by '|') of the following constant values.
Xml文件中可以使用一下的值:
none
0x0The drawing cache is not persisted after use.animation
0x1The drawing cache is persisted after a layout animation.scrolling
0x2The drawing cache is persisted after a scroll.all
0x3The drawing cache is always persisted. - Android android:persistentDrawingCache的几个默认属性值介绍
- android:persistentDrawingCache 的含义
- Android Android:persistentDrawingCache
- android:persistentDrawingCache="animation"
- android:persistentDrawingCache="animation"
- Android:persistentDrawingCache解释
- android:persistentDrawingCache含义
- android:persistentDrawingCache用法说明
- android:persistentDrawingCache含义
- Android-android:persistentDrawingCache图片缓存
- Android persistentDrawingCache 绘图缓存 使用
- ViewPager中属性android:flipInterval="30" android:persistentDrawingCache="animation"
- android默认的属性修改:
- 几个android 属性
- 关于android 控件的默认属性问题
- android布局属性的介绍
- android listview 属性的介绍
- Android shape的属性介绍
- IOS OC声明变量在@interface括号中与使用@property的区别
- Android 复合控件 图片+文字有选中效果和点击事件
- Powershell 字符串处理
- hadoop基础------虚拟机(一)---虚拟机简介
- ????P2P网贷系统虚拟币众筹比特币交易所平台如何选择软件公司
- Android android:persistentDrawingCache的几个默认属性值介绍
- 读书备忘
- 第二十篇 设计模式--解释器链模式
- 黑马程序员-------集合(Set,Map)
- android基础学习之强引用和弱引用的对比理解
- Mongodb操作-常用命令
- 30款css3实现的鼠标经过图片显示描述特效
- RC串联电路
- 收藏