摘要:
view:top、left、right、bottom,相对于parent的位置参数,获取通过get*()来获取。width=right-left、height=bottom-top。x=left+translationx,y=top+translationY。translationX和transla... 阅读全文
随笔档案-2016年01月
Android activity启动模式
2016-01-21 14:13 by 飞机中毒, 256 阅读, 收藏,
摘要:
一、activity启动4中模式:standardsingleTopsingleTasksingleInstance二、standard模式是默认启动模式,每次启动都会创建一个新的实例,onCreate、onStart,onResume都会被调用。一个任务栈中可以有多个实例,每个实例也可以属于不同的... 阅读全文
浙公网安备 33010602011771号