Gluing the rearview mirror is a big challenge for the choice of glue. Few adhesives can glue plastic and glass so that the joint can withstand vibrations and weather effects. Here is one of them: