2016年8月30日

07 设置View的显示与隐藏

摘要: 在代码中: 例子:ImageButton imageButton = new ImageButton(this); //默认可见 imageButton.setVisibility(View.VISIBLE); //不可见占据控件 imageButton.setVisibility(Vi... 阅读全文

posted @ 2016-08-30 20:28 木鱼哥 阅读(228) 评论(0) 推荐(0) 编辑

07 ProgressDialog

摘要: package com.fmy.example1;import android.app.Activity;import android.app.ProgressDialog;import android.os.Bundle;import android.view.View;public clas... 阅读全文

posted @ 2016-08-30 20:25 木鱼哥 阅读(80) 评论(0) 推荐(0) 编辑

07 线程异步

摘要: 一个从网络获取json的例子: package com.qf.day07_asynctask_json;import java.io.InputStream;import java.net.HttpURLConnection;import java.net.MalformedURLExcepti... 阅读全文

posted @ 2016-08-30 20:21 木鱼哥 阅读(106) 评论(0) 推荐(0) 编辑

07 总结ProgressDialog 异步任务

摘要: 1,ProgressDialog > //使用对象 设置标题 progressDialog.setTitle("标题"); //设置图标 progressDialog.setIcon(R.drawab... 阅读全文

posted @ 2016-08-30 20:13 木鱼哥 阅读(114) 评论(0) 推荐(0) 编辑

导航