问题
I have TextView with nine-patch background image:
The vertical padding is set to fit text into bottom grey rectangle like this:
But when the image is stretched vertically, it's top padding saves its absolute value, so text goes above of expected place:
How to make TextView increase top padding after vertical stretch and fit text into bottom area which is not stretchable?
来源:https://stackoverflow.com/questions/20177163/change-top-padding-of-nine-patch-image-after-stretching