Fixed resizing in textview with imported class and layout changes.