- 博客(7)
- 资源 (1)
- 收藏
- 关注
转载 在Launcher3中增加主题切换功能
转自:http://blog.csdn.net/xuxinyl/article/details/26223959说明,在SD卡中放入theme_thumbs文件夹,里面存放主题风格的缩略图,然后在theme文件下存放主题的资源文件,例如/theme/sport等等,里面图标命名规则是主题KEY_加上快捷方式的类名(下划线取代点),例如sport_com_android_brow
2014-06-25 15:29:23 1341
转载 Android 中View类DrawingCache的使用
View组件显示的内容可以通过cache机制保存为bitmap, 主要有以下方法:void setDrawingCacheEnabled(boolean flag), Bitmap getDrawingCache(boolean autoScale), void buildDrawingCache(boolean autoScale
2014-06-13 15:15:39 760
转载 list.ensureCapacity()的作用
我们在使用Arraylist时,经常要对它进行初始化工作,在使用add()方法增加新的元素时,如果要增加的数据量很大,应该使用ensureCapacity()方法,该方法的作用是预先设置Arraylist的大小,这样可以大大提高初始化速度。 请看代码: package test;import java.util.ArrayList;public class Ens
2014-06-12 11:18:32 993
转载 android Launcher基础知识
转自:http://blog.csdn.net/xianming01/article/details/7678050 本文将www.bangchui.org网络中的《android手把手教你开发launcher》系列文章进行了整理。这篇文章对lancher的基本功能点的实现做了简单介绍,看完后会对lancher有比较深刻的认识。1、launcher最简单实例laun
2014-06-11 11:06:49 569
转载 android.intent.category以及android.intent.action.MAIN
转自:http://blog.csdn.net/bage1988320/article/details/6583324一. android.intent.category.LAUNCHER与android.intent.category.HOME的区别android.intent.category.LAUNCHER:android.intent.category.LAUNCHER决
2014-06-11 10:19:21 1189
转载 如何使用android-support-V7包中ActionBar(Eclipse版)
以前3.0以前的版本要使用ActionBar,必须使用国外大牛写的ActionBarSherlock这个开源项目。今年的Google/IO大会之后,Google官方在android-support-v7包中添加了ActionBar,开始让2.1以后的版本支持ActionBar,从此以后曾经最火的Android开源项目ActionBarSherlock可以退出历史舞台了。要是用V
2014-06-05 17:06:36 567
转载 Android 里面的android_secret_code
原文:http://blog.csdn.net/learnrose/article/details/6223048;
2014-06-05 09:47:27 1169
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人