I don't belong to a gym, but wear leggings to work out all the time, including walks and runs around the neighborhood. Loose the shorts; if you are concerned about the bulge showing, wear a longer t-shirt (that is what I do).