Skip to content

Commit

Permalink
Tweak text size in results
Browse files Browse the repository at this point in the history
  • Loading branch information
srowen committed May 22, 2014
1 parent 6b9a59a commit b159136
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ void setResult(Result result) {
TextView statusView = (TextView) findViewById(R.id.status_view);
String text = result.getText();
statusView.setText(text);
statusView.setTextSize(TypedValue.COMPLEX_UNIT_SP, Math.max(14, 72 - text.length() / 2));
statusView.setTextSize(TypedValue.COMPLEX_UNIT_SP, Math.max(14, 56 - text.length() / 4));
statusView.setVisibility(View.VISIBLE);
this.result = result;
}
Expand Down

0 comments on commit b159136

Please sign in to comment.