mirror of
https://github.com/moparisthebest/Yaaic
synced 2024-11-15 13:35:09 -05:00
ConversationActivity: Use same font size for EditText as for conversation.
This commit is contained in:
parent
4831e71567
commit
8fc10e0419
@ -233,10 +233,10 @@ public class ConversationActivity extends SherlockActivity implements ServiceCon
|
|||||||
server.getConversation(ServerInfo.DEFAULT_NAME).setHistorySize(historySize);
|
server.getConversation(ServerInfo.DEFAULT_NAME).setHistorySize(historySize);
|
||||||
}
|
}
|
||||||
|
|
||||||
float fontSize = settings.getFontSize() * density;
|
float fontSize = settings.getFontSize();
|
||||||
indicator.setTextSize(fontSize);
|
indicator.setTextSize(fontSize * density);
|
||||||
|
|
||||||
input.setTextSize(fontSize);
|
input.setTextSize(settings.getFontSize());
|
||||||
input.setTypeface(Typeface.MONOSPACE);
|
input.setTypeface(Typeface.MONOSPACE);
|
||||||
|
|
||||||
// Optimization : cache field lookups
|
// Optimization : cache field lookups
|
||||||
|
Loading…
Reference in New Issue
Block a user