Reputation: 13349
I have written an application which is working fine in Emulator . But when I install the same in Android device Samsung Galaxy 2.1 , the fonts appear very small compared to the fonts in Emulator. How to solve this issue ? How to make my application to make it appear similar in both emulator and device.
can anyone help me in solving this issue ?
Upvotes: 1
Views: 539
Reputation: 39604
I'm pretty sure you've used regular pixels (px) as your font dimension. Use scaled pixels (sp) instead to get a consistent font appearance across multiple densities.
Upvotes: 1