Hi, I am obviously very new to Android. Can anyone help me as to how to change the size of text displayed?
P.S. I'd also like to know if the screen size will affect the number of characters displayed in a basic text displaying function.
posted 5 years ago
The specifics would obviously depend on what kind of UI component you're using to display the text; assuming it's a TextView (or one of its subclasses), then something like this would work:
Not sure I understand the second question: obviously a larger display can display more characters in a row. But screen density also plays a role - two screens of the same physical size don't necessarily support the same amount of pixels.
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads