Skip to content

Instantly share code, notes, and snippets.

@reflog
Created October 24, 2010 10:19
Show Gist options
  • Save reflog/643420 to your computer and use it in GitHub Desktop.
Save reflog/643420 to your computer and use it in GitHub Desktop.
resultView.setText(result);
while(resultView.getLayout().getLineWidth(0) < (resultView.getRight() - resultView.getLeft()))
resultView.setText(resultView.getText() + " ");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment