From 8fc10e041931403b182b2fc5cc6abc8651c8a84a Mon Sep 17 00:00:00 2001 From: Sebastian Kaspari Date: Wed, 20 Jun 2012 07:38:39 +0200 Subject: [PATCH] ConversationActivity: Use same font size for EditText as for conversation. --- .../src/org/yaaic/activity/ConversationActivity.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/application/src/org/yaaic/activity/ConversationActivity.java b/application/src/org/yaaic/activity/ConversationActivity.java index ba98625..31b6493 100644 --- a/application/src/org/yaaic/activity/ConversationActivity.java +++ b/application/src/org/yaaic/activity/ConversationActivity.java @@ -233,10 +233,10 @@ public class ConversationActivity extends SherlockActivity implements ServiceCon server.getConversation(ServerInfo.DEFAULT_NAME).setHistorySize(historySize); } - float fontSize = settings.getFontSize() * density; - indicator.setTextSize(fontSize); + float fontSize = settings.getFontSize(); + indicator.setTextSize(fontSize * density); - input.setTextSize(fontSize); + input.setTextSize(settings.getFontSize()); input.setTypeface(Typeface.MONOSPACE); // Optimization : cache field lookups