How to extend layout from vendor folder in Magento 2
To extend layout from vendor folder in Magento 2, move your xml file to:

1 |
app/design/frontend/<vendorName>/<themeName>/Magento_Catalog/layout/catalog_product_view.xml |
and activate the theme in backend.
Source (
