自定义弹出框

学习路径: java

http://thinkgoogle.iteye.com/blog/1312286 布局

http://www.oschina.net/question/54100_32486?fromerr=DlvbTN6P 学习


准备作一个弹出日历选择的弹出框,可是日历不可用。。问题未解决 ui

基本思路是自定义一个xml布局文件: this

而后再java代码里引用 google

LayoutInflater inflater= (LayoutInflater) getApplicationContext().getSystemService(LAYOUT_INFLATER_SERVICE);  //载入界面
                view =inflater.inflate(R.layout.pumkin_calendar,null);
                AlertDialog.Builder ad;
                ad = new AlertDialog.Builder(pumkinLand.this);
                ad.setView(view);
                ad.setTitle("日历");
相关文章
相关标签/搜索