Hi guys,

I have encountered a weird occurrence with Buttons and I hope someone
can explain to me why it is happening.

On load of my activity, my Button has default texts set in it. When
the user clicks on one of them, the Button's text changes. When I test
my app on small screen devices, the bottom part of the default text is
cut off for letters with "hooks" like j, p, y, g. But when the
button's text changes, the letters are not cut off.

According to my investigations, the top padding for default texts is 8
pixels. When the text changes, it becomes 6 pixels. I don't change the
padding before changing the text, so why does this happen?

Thanks in advance.


- Zarah.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to