Wrap fragment_edit_post_preview layout in a ScrollView so that the TextView can be scrolled if the content is larger than the view.