01 2015 档案
摘要:方式一 , handler.postDelayed 定时 timerCount = Integer.parseInt(timer_tv.getText().toString()); // 页面上10秒 倒数 handler = new Handler(); ...
阅读全文
摘要:ImageView imageView = new ImageView(mcontext); LayoutParams layoutParams = new LayoutParams(150,130); layoutP...
阅读全文
摘要:/** * 判断时间 * * @param time * @return */ public static String formatDateTime(long time) { // // Si...
阅读全文
摘要:DataManager/** * 本地数据的存储 * @author Administrator * */public class DataManager { private static final String TEST_FILENAME="testorder.asc"; priva...
阅读全文
摘要:第一步 : 初始化PopupWindow private void initPop() { if (view == null) { // 照片 view = View.inflate(RegisterActivity.this, R.l...
阅读全文
摘要:shape 基本使用 //线性渐变的角度 渐变的属性 :...
阅读全文
摘要:1 , Dialog布局 2, 自己定义dialog 类public class ConfirmDialog extends Dialog { private Context context; private String title...
阅读全文
摘要:1: 自定义的Dialog 代码:public class IphoneProgersssDialog extends Dialog { private Context context; private ImageView img; private TextView txt; ...
阅读全文

浙公网安备 33010602011771号