I understand the difference between padding and margin, but I don't understand the difference between those two pairs of attributes: bottom and end and on the other hand start and top. Documentation
It's pretty clear: your TextView has a bound and padding is distance from the bound to the context (where text is rendered)
In the picture, padding is green area.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.