Create a new project as explained in the
Google instructions but use Empty Views Activity (as normal) so you can make it a
Java project (which makes some extra work to remove the unnecessary main activity).
Add a new Google->Google Maps View Activity
Delete the default MainActivity and layout/activity_main
Edit the manifest to make the MapsActivity the main one
A MapFragment will have been added to the layout, e.g.,