code: private void adjustTextViewHeight() {
          View view = getView();
          if (view == null) {
              return;
          }
  
          TextSwitcher textSwitcher = (TextSwitcher) view;
          TextView curr = (TextView) textSwitcher.getCurrentView();
          TextView next = (TextView) textSwitcher.getNextView();
          int currH = curr.getLineCount() * curr.getLineHeight();
          int nextH = next.getLineCount() * next.getLineHeight();
          if (currH != nextH) {
              curr.setHeight(currH);
              next.setHeight(currH);
          }
      }
docs: TODO: a better way to wrap content of TextView.