How to disable padding on TextInputLayout?
问题 There appears to be left padding automatically added when using a TextInputLayout to wrap an EditText as you can see in the screenshot below. There is no padding added to the EditText in the layout XML, but when the view is rendered there appears to be left padding on the EditText . You can see this when comparing the TextView below the TextInputLayout . How do I disable this left padding from being added? Thank you! 回答1: TextInputLayout is a LinearLayout , so you should be able to specify a