This is the GymPal: a clever magnetic mobile phone holder for the gym. It has double sided strong magnets to secure your phone to racks and other metallic surfaces. It also allows 360-degree rotation. The GymPal has a ball mechanism that lets you change the angle of your phone easily.
The GymPal comes with silicon padding and 2 adhesive metal plates. You can find out more about it here.