學習路徑: 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("日曆");