Foam

Yup. Flat foam about 1/4 - 5/16 thick.
I already have a spray can of that glue .. use it all the time around here for different things