摘要: PopupWindow是一个弹出式窗口,它可以展示任意View。他会浮在当前窗口的上方展示。下面看代码:public class MyActivity extends Activity{ private PopupWindow menu; private LayoutInflater inflater; private View layout; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); 阅读全文
posted @ 2014-02-07 09:37 xiaochao1234 阅读(752) 评论(0) 推荐(0) 编辑