布局填充器的三种写法: 1.layoutInflater=layoutInflater.from(this); 2.layoutInflater=(LayoutInflater)getSystemService(Context.LAYOUT_INFLATER_SERVICE); 3.layoutInflater=this.getLayoutInflater();