摘要:
1 Android手机目前常见的分辨率 1.1 手机常见分辨率: 4:3VGA 640*480 (Video Graphics Array)QVGA 320*240 (Quarter VGA)HVGA 480*320 (Half-size VGA)SVGA 800*600 (Super VGA) 5 阅读全文
posted @ 2016-09-05 15:33
山高我为峰
阅读(637)
评论(0)
推荐(0)
摘要:
官方对各个state属性的介绍如下: android:constantSize If true, the drawable's reported internal size will remain constant as the state changes; the size is the maxi 阅读全文
posted @ 2016-09-05 11:52
山高我为峰
阅读(3050)
评论(0)
推荐(0)
摘要:
CycleInterpolator 作用:如果要让动画连续执行多次,可以使用cycleInterpolator加速器 设置方法: 阅读全文
posted @ 2016-09-05 11:43
山高我为峰
阅读(1043)
评论(0)
推荐(0)
摘要:
可以在代码文件中声明一个receiver,也可以在manifest中声明一个,前者中的receiver只有在该activity launch起来以后才会监听其所感兴趣的事件, 而如果在androidManifext.xml中声明的话,就不受限制,随时可以监听感兴趣的事件。 首先谈谈在androidM 阅读全文
posted @ 2016-09-05 11:30
山高我为峰
阅读(6795)
评论(0)
推荐(0)
摘要:
这个属性用于指示该服务是否能够被其他应用程序组件调用或跟它交互。如果设置为true,则能够被调用或交互,否则不能。设置为false时,只有同一个应用程序的组件或带有相同用户ID的应用程序才能启动或绑定该服务。它的默认值依赖与该服务所包含的过滤器。没有过滤器则意味着该服务只能通过指定明确的类名来调用, 阅读全文
posted @ 2016-09-05 11:20
山高我为峰
阅读(224)
评论(0)
推荐(0)
摘要:
Activity一共有以下四种launchMode: standard singleTop singleTask singleInstance 1.standard standard模式是默认的启动模式,不用为<activity>配置android:launchMode属性即可,当然也可以指定值为s 阅读全文
posted @ 2016-09-05 11:05
山高我为峰
阅读(6509)
评论(0)
推荐(0)
浙公网安备 33010602011771号