Android development study notes (three) View class and layout overview

Insert picture description here
Insert picture description here
Insert picture description here
4 ints: upper left and lower right

ViewGroup:
Insert picture description here
Insert picture description here
match_parent: match the size of the parent container
wrap_content: package content
Insert picture description here
Padding and Margins: (similar to css)
Insert picture description here
Insert picture description here

Guess you like

Origin blog.csdn.net/qq1198768105/article/details/113820002
Recommended