摘要: RxJava2初步使用 阅读全文
posted @ 2017-05-03 10:18 annie-baby 阅读(77) 评论(0) 推荐(0) 编辑
摘要: 属性动画ValueAnimator用法 Android 属性动画(Property Animation) 完全解析 (上) Android Property Animation 属性动画 阅读全文
posted @ 2017-05-03 09:51 annie-baby 阅读(125) 评论(0) 推荐(0) 编辑
摘要: 1.showAtLocation 例如:showAtLocation(findViewById(R.id.search_ib), Gravity.TOP | Gravity.RIGHT,10, 10); 第一个参数:这个view是要能获取到window唯一标示的(也就是只要能获取到window 标示 阅读全文
posted @ 2017-04-07 18:11 annie-baby 阅读(345) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2017-03-31 13:08 annie-baby 阅读(103) 评论(0) 推荐(0) 编辑
摘要: 1.安排工作:提前一天做计划简化工作, 2.工作:遇到错误,找到解决方法,才会进步 3.执行力: 4.学习 5:反省 当你感觉焦虑,烦躁的时候,首先要改变这种状态,寻找快乐的事。 阅读全文
posted @ 2017-03-31 13:06 annie-baby 阅读(172) 评论(0) 推荐(0) 编辑
摘要: 1 import android.text.TextUtils; 2 3 import java.text.DecimalFormat; 4 import java.text.NumberFormat; 5 import java.text.ParseException; 6 import java 阅读全文
posted @ 2017-03-28 16:39 annie-baby 阅读(1274) 评论(0) 推荐(0) 编辑
摘要: Android DrawableTextView图片文字居中显示。在我们开发中,TextView设置android:drawableLeft一定使用的非常多,但Drawable和Text同时居中显示可能不好控制,有没有好的办法解决呢? 我的方案是通过自定义TextView实现。 实现的效果图: 注: 阅读全文
posted @ 2017-03-28 16:29 annie-baby 阅读(9844) 评论(0) 推荐(0) 编辑
摘要: http://www.codeceo.com/article/asimplecache-android-cache.html ASimpleCache可以缓存哪些东西 ASimpleCache基本可以缓存常用的Android对象,包括但不限于以下几种类型: 普通字符串 JSON对象 经过序列化的Ja 阅读全文
posted @ 2017-03-28 16:14 annie-baby 阅读(4437) 评论(0) 推荐(0) 编辑
摘要: 效果图: 1 <!-- stretchMode属性值的作用是设置GridView中的条目以什么缩放模式去填充空间。 --> 2 <com.annie.setui.MyGridView 3 android:id="@+id/gridView" 4 android:layout_width="fill_ 阅读全文
posted @ 2017-03-26 13:59 annie-baby 阅读(406) 评论(0) 推荐(0) 编辑
摘要: APP充值-》服务端接收-》请求微信统一下单API-》将签名结果返回给APP-》APP调用微信API支付-》微信通知服务端结果-》服务端收到结果-》APP显示结果 阅读全文
posted @ 2017-03-23 15:20 annie-baby 阅读(258) 评论(0) 推荐(0) 编辑