A similar question has already been posted. Please check answer from link below.
Link: How to use the camera zoom function on the Samsung Galaxy Ace 2?