当文本居中但在呈现textview之前,是否仍要获取textview填充?
谢谢
答案 0 :(得分:0)
获取TextView填充
int textPadingTop = textView.getPaddingTop(); int textPadingLeft = textView.getPaddingLeft(); int textPadingRight = textView.getPaddingRight(); int textPadingBottom = textView.getPaddingBottom(); .....