Android: when / why should I use FrameLayout instead of Fragment?
问题 I am building a layout for large screens, that is supposed to consist of 2 different parts, a left one and a right one. For doing that I thought using 2 Fragments is the right choice. Then I had a look on the example of the navigation with the Master/Detail-Flow . It has a 2-pane layout, where on the right is the navigation, and on the left is the detail view. But in that example, different from what I expected to see, for the detail view there is a FrameLayout that then holds a Fragment ,