Android - 9patch padding on a Button
问题 I created a button with a 9patch image as a background. In the 9patch image I used the bottom and right lines to specify the content area/padding, to position the text on the button. This works well on a TextView, but on a Button the content lines seem to have no effect on the text position. Setting "paddingTop"/"paddingBottom" also seem to have no effect - only "padding" has any effect. This is my layout XML: <Button android:layout_width="450dp" android:layout_height="198dp" android:text=