I created a sample app in android. I tested it with HTC and everythig looks fine . But later when I run the program on Higher Resolution phone the test appears smaller.
How can I make the text appear same size even if the resolution changes in android?
Thanks
I created a sample app in android. I tested it with HTC and everythig
Share
Make sure you’re specifying the text size in dp (density-independent pixels) or sp (scaled pixels based on preferred font size), not px (pixels).