1、方法1LinearLayout layout=(LinearLayout)LayoutInflater.from(getApplicationContext()).inflate(R.layout.list_view_item_text, null);LinearLayout layout=(LinearLayout)LayoutInflater.from(MainActivity.this).inflate(R.layout.list_view_item_text, null);2、方法2LayoutInflater layoutInflater=(LayoutInflater) get Read More
posted @ 2014-03-20 22:51 TealerProg Views(2740) Comments(0) Diggs(0) Edit