原因android 輸入框默認(rèn)帶有上下內(nèi)邊距解決將Textinput元素樣式的垂直內(nèi)邊距設(shè)置為0paddingVertical: 0參考自:http://www.php.cn/js-tutorial-389258.html