Stretchable films of liquid metal are used to protect flexible devices from liquid and gas permeation.