Most of us can stay away from our smartphones and tablets for a few minutes to take a shower. But if you must have your device close by, you could always invest in a waterproof shower curtain case or pouch for it. These 2 products let you use your tablet or smartphone in shower:
Shower Tunes: a curtain with a pouch to hold your tablet. It has a built-in waterproof speaker system. You can listen to music, answer calls, and even watch a movie while taking a shower.
HOYO: lets you use your smartphone while taking a shower. It has a crystal clear see-through pocket. It works for iPhones and Samsung Galaxy smartphones.
You should probably not take your phone or tablet with you to the bathroom. But if you must, the above products might help.