[android-beginners] LayoutInflater.inflate

2009-06-30 Thread 宋庆欣
the method has 3 parameters.and I'm confused by the second and the thrid. I read api. rootOptional view to be the parent of the generated hierarchy (if attachToRoot is true), or else simply an object that provides a set of LayoutParams values for root of the returned hierarchy (if attachToR

[android-beginners] LayoutInflater.inflate

2009-06-30 Thread chandlersong
the method has 3 parameters.and I'm confused by the second and the thrid. I read api. root Optional view to be the parent of the generated hierarchy (if attachToRoot is true), or else simply an object that provides a set of LayoutParams values for root of the returned hierarchy (if attachToRo