摘要: 要实现WindowManager添加的窗口,实现动画显示,就需要添加如下红色的属性,其他的添加View只要设置其Animations属性也会实现动画,当然自己实现也可,但是能直接用系统的已经实现好的,也很方便。windowManager = (WindowManager) mContext.getS... 阅读全文
posted @ 2014-11-20 23:33 RexWei 阅读(6123) 评论(0) 推荐(0) 编辑
摘要: 形同如下代码,在Thread中调用Toast显示错误信息: 一运行,就会报错Can't create handler inside thread that has not called Looper.prepare(),因为Toast的初始化函数中,自己开了个线程new Handler();所以使得 阅读全文
posted @ 2014-11-20 23:21 RexWei 阅读(3705) 评论(0) 推荐(0) 编辑