Layered Rare-Earth Hydroxide/Polyacrylamide Nanocomposite Hydrogels with Highly Tunable Photoluminescence.