Change layout from RelativeLayout to LinearLayout. Added onClickListeners to onCreate method.