Acidity-triggered charge-reversible multilayers for construction of adaptive surfaces with switchable bactericidal and bacteria-repelling functions.