怪我咯2017-04-17 17:30:23
Fragment is attached to the View container. Isn’t the height of the View the same as the height of the Fragment?
PHPz2017-04-17 17:30:23
fragment
没有提供像Activity
类似的onWindowFocusChanged
方法,但可以使用ViewTreeObserver
Come and get it.
阿神2017-04-17 17:30:23
transaction.replace(frameLayout, fragment)
Just get the height of frameLayout