Use layout editor effectively on layouts with non-static fragments
问题 With all the Android development tools greatness, especially as of version 21, the graphical layout editor is a powerful tool to have visual control over a layout with fragments for every configuration and locale. I'm aware that a typical Activity 's layout XML will contain static fragment tags with info embedded for the layout editor, for example tools:layout="@layout/book_collection_view_window_list" . However, because I need to replace the Fragments in my window dynamically, I cannot use