Adding content in the Post Editor launches an Activity for result.

The new Activity is tabbed, currently containing two empty tabs.
You can select the tab bar item or swipe to change pages.
There are filters that can be applied to each tab fragment that will control what content to display.
You can add custom tabs if needed.
This work should be usable anywhere we need to add media content selection.