Samsung has patented a button-less foldable smartphone, and one that looks an awful lot like the leaked Galaxy Z Fold3. The patent suggests that Samsung will employ some trickery to incorporate different sized capacitive buttons, too.
https://www.notebookcheck.net/Samsung-patent-hints-at-a-redesigned-Galaxy-Z-Fold-with-no-physical-buttons.540481.0.html