摘要:
PopupWindow window=new PopupWindow(view, LayoutParams.FILL_PARENT, LayoutParams.FILL_PARENT);//必须让popupwindow获得焦点时才能弹出输入法window.setFocusable(true);
阅读全文
posted @ 2013-11-25 17:56
I love Android
阅读(1641)
推荐(0)
编辑
摘要:
//选择图片,调用图库 bt4.setOnClickListener(new OnClickListener() { @Override public void onClick(View v) { Intent intent = new Intent(Intent.ACTION_GET_CONTENT); intent.setType("image/*"); intent.putExtra("crop", true); intent.putExtra("return-data", true); startActivityForResu
阅读全文
posted @ 2013-11-25 11:47
I love Android
阅读(1594)
推荐(0)
编辑