We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b9a59a commit b159136Copy full SHA for b159136
glass/src/com/google/zxing/client/glass/CaptureActivity.java
@@ -173,7 +173,7 @@ void setResult(Result result) {
173
TextView statusView = (TextView) findViewById(R.id.status_view);
174
String text = result.getText();
175
statusView.setText(text);
176
- 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));
177
statusView.setVisibility(View.VISIBLE);
178
this.result = result;
179
}
0 commit comments