Patent attributes
An electronic device may have transparent structures. The transparent structures may include a transparent member such as a transparent button member. The transparent member may have an inner surface that is covered with an opaque masking layer. The opaque masking layer may be white and may include a white porous inorganic layer covered with an opaque layer that increases the optical density of the opaque masking layer. The white porous inorganic layer may be formed by depositing a metal or other material using physical vapor deposition followed by an annealing process in the presence of oxygen. The opaque layer may be an optically dense inorganic layer such as a metal oxide layer. The button member may be located within an opening in a display cover layer. A fingerprint sensor may be attached to the opaque layer on the button member.