diff options
| -rw-r--r-- | CHANGELOG.md | 1 | ||||
| -rw-r--r-- | src/org/connectbot/util/EntropyView.java | 2 | 
2 files changed, 2 insertions, 1 deletions
| diff --git a/CHANGELOG.md b/CHANGELOG.md index 5b3fe19..bcacd87 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).  - EC key operations would fail on some devices.  - Connecting to a host from the host list no longer asks which    app you want to use. +- The text in the entropy gathering dialog is now scaled correctly.  ## [1.8.4][1.8.4] - 2015-04-19  ### Fixed diff --git a/src/org/connectbot/util/EntropyView.java b/src/org/connectbot/util/EntropyView.java index c988673..1c6b352 100644 --- a/src/org/connectbot/util/EntropyView.java +++ b/src/org/connectbot/util/EntropyView.java @@ -66,7 +66,7 @@ public class EntropyView extends View {  		mPaint.setAntiAlias(true);  		mPaint.setTypeface(Typeface.DEFAULT);  		mPaint.setTextAlign(Paint.Align.CENTER); -		mPaint.setTextSize(16); +		mPaint.setTextSize(16f * getResources().getDisplayMetrics().density);  		mPaint.setColor(Color.WHITE);  		mFontMetrics = mPaint.getFontMetrics(); | 
