1
0
mirror of https://github.com/moparisthebest/Yaaic synced 2024-08-13 16:53:50 -04:00

ConversationActivity: Use same font size for EditText as for conversation.

This commit is contained in:
Sebastian Kaspari 2012-06-20 07:38:39 +02:00
parent 4831e71567
commit 8fc10e0419

View File

@ -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