摘要: l.setLayoutParams(new LinearLayout.LayoutParams(LayoutParams.FILL_PARENT, LayoutParams.WRAP_CONTENT, 1.0f)); 阅读全文
posted @ 2013-08-26 17:17 xxdc 阅读(1340) 评论(0) 推荐(0) 编辑
摘要: /** * 初始化悬浮按钮 */ private void initImageButtonView(){ //获取WindowManager wm=(WindowManager)getApplicationContext().getSystemService("window"); //设置LayoutParams相关参数 wmParams = new WindowManager.LayoutParams(); ... 阅读全文
posted @ 2013-08-19 13:31 xxdc 阅读(205) 评论(0) 推荐(0) 编辑
摘要: 在工作过程序中遇到一个需要完全关闭应用程序的问题,在网络上找了一大堆的文章,每篇都是用System.exit(0)或者android.os.Process.killProcess(android.os.Process.myPid())这两种方法,但是我试过了,System.exit(0)这个根本不行,而android.os.Process.killProcess(android.os.Process.myPid())这个只能关闭当前的Activity,也就是对于一个只有单个Activity的应用程序有效,如果对于有多外Activity的应用程序它就无能为力了。下面我介绍一下对于多个Activi 阅读全文
posted @ 2013-08-13 11:25 xxdc 阅读(309) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2013-08-07 11:10 xxdc 阅读(241) 评论(0) 推荐(0) 编辑
摘要: String.contains("全勤") 阅读全文
posted @ 2013-07-30 15:36 xxdc 阅读(186) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2013-07-30 13:10 xxdc 阅读(0) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2013-07-26 09:24 xxdc 阅读(1) 评论(0) 推荐(0) 编辑
摘要: package com.wiiy.jtb.manager;import java.util.ArrayList;import java.util.HashMap;import java.util.List;import org.apache.http.NameValuePair;import org.apache.http.message.BasicNameValuePair;import org.json.JSONArray;import org.json.JSONException;import org.json.JSONObject;import com.wiiy.jtb.R;impor 阅读全文
posted @ 2013-07-26 09:07 xxdc 阅读(535) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2013-07-25 11:17 xxdc 阅读(0) 评论(0) 推荐(0) 编辑
摘要: viewitem.bargain_price = (EditText) view.findViewById(R.id.bargain_price);viewitem.bargain_price.setFocusable(true); viewitem.bargain_price.setFocusableInTouchMode(true); viewitem.bargain_price.requestFocus(); Timer timer = new Timer(); timer.sc... 阅读全文
posted @ 2013-07-23 15:35 xxdc 阅读(684) 评论(0) 推荐(0) 编辑