摘要:
这几天在回顾Android的基础知识,就把一些常见的知识点整理一下,以后忘了也可以翻出来看一看。 在Android API中是这样onPause方法的: Called when the system is about to start resuming another activit 阅读全文
摘要:
Drawable有很多种,它们表示一种图像概念,但它们不全是图片。Drawable是什么呢?下面是Google Android API中的定义: A Drawable is a general abstraction for “something that can be drawn.” Most o 阅读全文
摘要:
activity有四种启动模式,分别为standard,singleTop,singleTask,singleInstance。如果要使用这四种启动模式,必须在manifest文件中标签中的launchMode属性中配置,如 standard 标准启动模式,也是activity的默认启动模式。在这种模式下启动的activity可以被多次实例化,即在同一个... 阅读全文