摘要: Android---系统服务之 ---WindowManagerWindowManager是Android中一个重要的服务(Service )。WindowManager Service 是全局的,是唯一的。它将用户的操作,翻译成为指令,发送给呈现在界面上的各个Window。Activity会将顶级... 阅读全文
posted @ 2015-05-12 17:35 狂奔的小狮子 阅读(470) 评论(0) 推荐(0) 编辑
摘要: Activity 代码如下:/* * Copyright (C) 2009 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may no... 阅读全文
posted @ 2015-05-12 16:47 狂奔的小狮子 阅读(508) 评论(0) 推荐(0) 编辑
摘要: 1. 渐入动画 // Request the next activity transition (here starting a new one). startActivity(new Intent(Animation.this, AlertDialogSamples.clas... 阅读全文
posted @ 2015-05-12 16:16 狂奔的小狮子 阅读(226) 评论(0) 推荐(0) 编辑
摘要: 添加布局如下: 切换动画实现:package com.edaixi.tempbak;import android.animation.Animator;import android.animation.AnimatorListenerAdapter;import andro... 阅读全文
posted @ 2015-05-12 15:28 狂奔的小狮子 阅读(531) 评论(0) 推荐(0) 编辑
摘要: 自定义view渐变背景,同时监听手势自动生成小圆球。宿主Activity如下:package com.edaixi.tempbak;import java.util.ArrayList;import android.animation.Animator;import android.animatio... 阅读全文
posted @ 2015-05-12 11:54 狂奔的小狮子 阅读(3991) 评论(0) 推荐(0) 编辑