05 2016 档案

摘要:/** * Adapter for grid of coupons. */ private static class CouponAdapter extends BaseAdapter { private LayoutInflater mInflater; private List mAllCoupons; /**... 阅读全文
posted @ 2016-05-28 18:15 狂奔的小狮子 阅读(168) 评论(0) 推荐(0) 编辑
摘要:/* * Copyright (C) 2013 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You ma... 阅读全文
posted @ 2016-05-28 17:30 狂奔的小狮子 阅读(2465) 评论(0) 推荐(0) 编辑
摘要:在Android开发中,大部分应用都是以用户为第一位,用户都有自己的个人中心,用来展示自己的信息,头像无疑是展示自己最直观的方式,随着各种政策的出台,实名认证,真人头像变得尤为重要,如果要求上传真人头像,那就需要后台做校验,判断是不是真人,如果真人审核,那工作量是非人力所能为的,这时候就用到各种识别 阅读全文
posted @ 2016-05-26 11:01 狂奔的小狮子 阅读(1355) 评论(0) 推荐(0) 编辑
摘要:BigDecimal bd = new BigDecimal(0.0199999999999); System.out.println("res:"+bd.setScale(2, BigDecimal.ROUND_HALF_UP).doubleValue()); DecimalFormat df = new DecimalFormat("#.00"); ... 阅读全文
posted @ 2016-05-23 14:43 狂奔的小狮子 阅读(1121) 评论(0) 推荐(0) 编辑
摘要:/* * Copyright (C) 2012 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * Y... 阅读全文
posted @ 2016-05-19 14:07 狂奔的小狮子 阅读(425) 评论(0) 推荐(0) 编辑
摘要:public void showComplainDialog() { ComplainDialog complain_dialog = new ComplainDialog(OrderDetialActivity.this, R.style.customdialog_complain_style, R.layou... 阅读全文
posted @ 2016-05-09 18:05 狂奔的小狮子 阅读(1982) 评论(0) 推荐(0) 编辑
摘要:Ovals, mathematically, are ellipses, including circles as a special case. The ellipse is fit into a rectangle defined by the coordinates (x0, y0) of t 阅读全文
posted @ 2016-05-08 22:39 狂奔的小狮子 阅读(6287) 评论(0) 推荐(1) 编辑


点击右上角即可分享
微信分享提示