摘要:
只要大家看到这句代码就会自然明白。 cellCountX = a.getInt(R.styleable.Workspace_cellCountX, 10); cellCountY = a.getInt(R.styleable.Workspace_cellCountY, 4);明白了否?不明白打开代码看下这句代码就明白了!http://weibo.com/wenfordli 阅读全文
摘要:
1.桌面的显示会调用:showWorkspace(true) void showWorkspace(boolean animated) { Resources res = getResources(); int stagger = res.getInteger(R.integer.config_appsCustomizeWorkspaceAnimationStagger); mWorkspace.changeState(Workspace.State.NORMAL, animated, stagger); if (mState == St... 阅读全文