01 2015 档案

摘要:方式一 , handler.postDelayed 定时 timerCount = Integer.parseInt(timer_tv.getText().toString()); // 页面上10秒 倒数 handler = new Handler(); ... 阅读全文
posted @ 2015-01-20 14:21 每天学习一点点... 阅读(261) 评论(0) 推荐(0)
摘要:ImageView imageView = new ImageView(mcontext); LayoutParams layoutParams = new LayoutParams(150,130); layoutP... 阅读全文
posted @ 2015-01-20 11:05 每天学习一点点... 阅读(578) 评论(0) 推荐(0)
摘要:/** * 判断时间 * * @param time * @return */ public static String formatDateTime(long time) { // // Si... 阅读全文
posted @ 2015-01-14 14:14 每天学习一点点... 阅读(1433) 评论(0) 推荐(0)
摘要:DataManager/** * 本地数据的存储 * @author Administrator * */public class DataManager { private static final String TEST_FILENAME="testorder.asc"; priva... 阅读全文
posted @ 2015-01-13 17:54 每天学习一点点... 阅读(477) 评论(0) 推荐(0)
摘要:第一步 : 初始化PopupWindow private void initPop() { if (view == null) { // 照片 view = View.inflate(RegisterActivity.this, R.l... 阅读全文
posted @ 2015-01-13 17:17 每天学习一点点... 阅读(412) 评论(0) 推荐(0)
摘要:shape 基本使用 //线性渐变的角度 渐变的属性 :... 阅读全文
posted @ 2015-01-13 15:30 每天学习一点点... 阅读(435) 评论(0) 推荐(0)
摘要:1 , Dialog布局 2, 自己定义dialog 类public class ConfirmDialog extends Dialog { private Context context; private String title... 阅读全文
posted @ 2015-01-01 23:23 每天学习一点点... 阅读(1487) 评论(0) 推荐(0)
摘要:1: 自定义的Dialog 代码:public class IphoneProgersssDialog extends Dialog { private Context context; private ImageView img; private TextView txt; ... 阅读全文
posted @ 2015-01-01 23:05 每天学习一点点... 阅读(396) 评论(0) 推荐(0)